
inner product.
Definition at line 24 of file Almost2Norm.hpp.
Public Member Functions | |
| virtual | ~Almost2Norm () |
| Destructor. | |
| virtual double | operator() (const vector &x) const |
| Evaluate the norm. | |
| virtual vector | sample (const unsigned int N) const |
| Generate a random unit vector from a uniform distribution over the unit vectors in the normed vector space. | |
| ~Almost2Norm | ( | ) | [virtual] |
| double operator() | ( | const vector & | x | ) | const [inline, virtual] |
Evaluate the norm.
| x | ; a vector. |
; the norm of the vector. Implements Norm.
Definition at line 60 of file Almost2Norm.hpp.
| indii::ml::aux::vector sample | ( | const unsigned int | N | ) | const [inline, 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. |
Implements Norm.
Definition at line 65 of file Almost2Norm.hpp.
1.5.3