25 #if !defined (octave_oct_norm_h)
26 #define octave_oct_norm_h 1
30 #define DECLARE_XNORM_FUNCS(PREFIX, RTYPE) \
31 class PREFIX##Matrix; \
32 class PREFIX##ColumnVector; \
33 class PREFIX##RowVector; \
35 extern OCTAVE_API RTYPE xnorm (const PREFIX##ColumnVector&, RTYPE p = 2); \
36 extern OCTAVE_API RTYPE xnorm (const PREFIX##RowVector&, RTYPE p = 2); \
37 extern OCTAVE_API RTYPE xnorm (const PREFIX##Matrix&, RTYPE p = 2); \
38 extern OCTAVE_API RTYPE xfrobnorm (const PREFIX##Matrix&);
48 #define DECLARE_COLROW_NORM_FUNCS(PREFIX, RPREFIX, RTYPE) \
49 extern OCTAVE_API RPREFIX##RowVector xcolnorms (const PREFIX##Matrix&, RTYPE p = 2); \
50 extern OCTAVE_API RPREFIX##ColumnVector xrownorms (const PREFIX##Matrix&, RTYPE p = 2); \
#define DECLARE_COLROW_NORM_FUNCS(PREFIX, RPREFIX, RTYPE)
#define DECLARE_XNORM_FUNCS(PREFIX, RTYPE)
std::complex< float > FloatComplex
std::complex< double > Complex