
Definition at line 23 of file Norm.hpp.
Public Member Functions | |
| virtual | ~Norm () |
| Destructor. | |
| virtual double | operator() (const vector &x) const =0 |
| Evaluate the norm. | |
| virtual vector | sample (const unsigned int N) const =0 |
| Generate a random unit vector from a uniform distribution over the unit vectors in the normed vector space. | |
| virtual double operator() | ( | const vector & | x | ) | const [pure virtual] |
Evaluate the norm.
| x | ; a vector. |
; the norm of the vector. Implemented in Almost2Norm, and PNorm.
| virtual vector sample | ( | const unsigned int | N | ) | const [pure virtual] |
Generate a random unit vector from a uniform distribution over the unit vectors in the normed vector space.
| N | Dimensionality of the normed vector space. |
Implemented in Almost2Norm, PNorm, PNorm, and PNorm.
1.5.3