LAMA
lama::MaxNorm Class Reference

#include <MaxNorm.hpp>

Inheritance diagram for lama::MaxNorm:

Public Member Functions

 MaxNorm ()
virtual ~MaxNorm ()
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.

Constructor & Destructor Documentation

lama::MaxNorm::~MaxNorm ( ) [virtual]

Member Function Documentation

Scalar lama::MaxNorm::apply ( const Scalar scalar) const [virtual]

Calculates the norm of the passed Scalar.

Parameters:
[in]scalarthe Scalar to caluclate the norm for.
Returns:
the norm of scalar.

Implements lama::Norm.

References lama::maxNorm().

Scalar lama::MaxNorm::apply ( const Vector vector) const [virtual]

Calculates the norm of the passed Vector.

Parameters:
[in]vectorthe Vector to caluclate the norm for.
Returns:
the norm of vector.

Implements lama::Norm.

References lama::maxNorm().

Scalar lama::Norm::operator() ( const Scalar scalar) const [inherited]

Calculates the norm of the passed Scalar.

To call this is equivalent to call apply with the same argument.

Parameters:
[in]scalarthe Scalar to caluclate the norm for.
Returns:
the norm of scalar.

References lama::Norm::apply().

Scalar lama::Norm::operator() ( const Vector vector) const [inherited]

Calculates the norm of the passed Vector.

To call this is equivalent to call apply with the same argument.

Parameters:
[in]vectorthe Vector to caluclate the norm for.
Returns:
the norm of vector.

References lama::Norm::apply().


The documentation for this class was generated from the following files: