LAMA
|
00001 00033 #ifndef LAMA_MAXNORM_HPP_ 00034 #define LAMA_MAXNORM_HPP_ 00035 00036 // for dll_import 00037 #include <lama/config.hpp> 00038 00039 // base classes 00040 #include <lama/norm/Norm.hpp> 00041 00042 namespace lama 00043 { 00044 00045 class LAMA_DLL_IMPORTEXPORT MaxNorm: public lama::Norm 00046 { 00047 public: 00048 MaxNorm(); 00049 virtual ~MaxNorm(); 00050 00051 virtual Scalar apply( const Scalar& scalar ) const; 00052 00053 virtual Scalar apply( const Vector& vector ) const; 00054 }; 00055 00056 LAMA_DLL_IMPORTEXPORT Scalar maxNorm( const Scalar& scalar ); 00057 00058 LAMA_DLL_IMPORTEXPORT Scalar maxNorm( const Vector& vector ); 00059 00060 } 00061 00062 #endif // LAMA_MAXNORM_HPP_