LAMA
|
#include <L1Norm.hpp>
Public Member Functions | |
L1Norm () | |
virtual | ~L1Norm () |
virtual Scalar | apply (const Scalar &scalar) const |
Calculates the norm of the passed Scalar. | |
virtual Scalar | apply (const Vector &vector) const |
Calculates the norm of the passed Vector. | |
Scalar | operator() (const Scalar &scalar) const |
Calculates the norm of the passed Scalar. | |
Scalar | operator() (const Vector &vector) const |
Calculates the norm of the passed Vector. |
lama::L1Norm::~L1Norm | ( | ) | [virtual] |
Scalar lama::L1Norm::apply | ( | const Scalar & | scalar | ) | const [virtual] |
Calculates the norm of the passed Scalar.
[in] | scalar | the Scalar to caluclate the norm for. |
Implements lama::Norm.
References lama::l1Norm().
Scalar lama::L1Norm::apply | ( | const Vector & | vector | ) | const [virtual] |
Calculates the norm of the passed Vector.
[in] | vector | the Vector to caluclate the norm for. |
Implements lama::Norm.
References lama::l1Norm().
Calculates the norm of the passed Scalar.
To call this is equivalent to call apply with the same argument.
[in] | scalar | the Scalar to caluclate the norm for. |
References lama::Norm::apply().
Calculates the norm of the passed Vector.
To call this is equivalent to call apply with the same argument.
[in] | vector | the Vector to caluclate the norm for. |
References lama::Norm::apply().