GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
oct-norm.h File Reference
#include "oct-cmplx.h"
Include dependency graph for oct-norm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLARE_COLROW_NORM_FUNCS(PREFIX, RPREFIX, RTYPE)
#define DECLARE_XNORM_FUNCS(PREFIX, RTYPE)

Functions

OCTAVE_API RowVector xcolnorms (const Matrix &, double p=2)
OCTAVE_API RowVector xcolnorms (const ComplexMatrix &, double p=2)
OCTAVE_API FloatRowVector xcolnorms (const FloatMatrix &, float p=2)
OCTAVE_API FloatRowVector xcolnorms (const FloatComplexMatrix &, float p=2)
OCTAVE_API RowVector xcolnorms (const SparseMatrix &, double p=2)
OCTAVE_API RowVector xcolnorms (const SparseComplexMatrix &, double p=2)
OCTAVE_API double xfrobnorm (const Matrix &)
OCTAVE_API double xfrobnorm (const ComplexMatrix &)
OCTAVE_API float xfrobnorm (const FloatMatrix &)
OCTAVE_API float xfrobnorm (const FloatComplexMatrix &)
OCTAVE_API double xfrobnorm (const SparseMatrix &)
OCTAVE_API double xfrobnorm (const SparseComplexMatrix &)
OCTAVE_API double xnorm (const ColumnVector &, double p=2)
OCTAVE_API double xnorm (const RowVector &, double p=2)
OCTAVE_API double xnorm (const Matrix &, double p=2)
OCTAVE_API double xnorm (const ComplexColumnVector &, double p=2)
OCTAVE_API double xnorm (const ComplexRowVector &, double p=2)
OCTAVE_API double xnorm (const ComplexMatrix &, double p=2)
OCTAVE_API float xnorm (const FloatColumnVector &, float p=2)
OCTAVE_API float xnorm (const FloatRowVector &, float p=2)
OCTAVE_API float xnorm (const FloatMatrix &, float p=2)
OCTAVE_API float xnorm (const FloatComplexColumnVector &, float p=2)
OCTAVE_API float xnorm (const FloatComplexRowVector &, float p=2)
OCTAVE_API float xnorm (const FloatComplexMatrix &, float p=2)
OCTAVE_API double xnorm (const SparseRowVector &, double p=2)
OCTAVE_API double xnorm (const SparseMatrix &, double p=2)
OCTAVE_API double xnorm (const SparseColumnVector &, double p=2)
OCTAVE_API double xnorm (const SparseComplexColumnVector &, double p=2)
OCTAVE_API double xnorm (const SparseComplexRowVector &, double p=2)
OCTAVE_API double xnorm (const SparseComplexMatrix &, double p=2)
OCTAVE_API ColumnVector xrownorms (const Matrix &, double p=2)
OCTAVE_API ColumnVector xrownorms (const ComplexMatrix &, double p=2)
OCTAVE_API FloatColumnVector xrownorms (const FloatMatrix &, float p=2)
OCTAVE_API FloatColumnVector xrownorms (const FloatComplexMatrix &, float p=2)
OCTAVE_API ColumnVector xrownorms (const SparseMatrix &, double p=2)
OCTAVE_API ColumnVector xrownorms (const SparseComplexMatrix &, double p=2)

Macro Definition Documentation

#define DECLARE_COLROW_NORM_FUNCS (   PREFIX,
  RPREFIX,
  RTYPE 
)
Value:
extern OCTAVE_API RPREFIX##RowVector xcolnorms (const PREFIX##Matrix&, RTYPE p = 2); \
extern OCTAVE_API RPREFIX##ColumnVector xrownorms (const PREFIX##Matrix&, RTYPE p = 2); \

Definition at line 48 of file oct-norm.h.

#define DECLARE_XNORM_FUNCS (   PREFIX,
  RTYPE 
)
Value:
class PREFIX##Matrix; \
class PREFIX##ColumnVector; \
class PREFIX##RowVector; \
\
extern OCTAVE_API RTYPE xnorm (const PREFIX##ColumnVector&, RTYPE p = 2); \
extern OCTAVE_API RTYPE xnorm (const PREFIX##RowVector&, RTYPE p = 2); \
extern OCTAVE_API RTYPE xnorm (const PREFIX##Matrix&, RTYPE p = 2); \
extern OCTAVE_API RTYPE xfrobnorm (const PREFIX##Matrix&);

Definition at line 30 of file oct-norm.h.

Function Documentation

OCTAVE_API RowVector xcolnorms ( const Matrix ,
double  p = 2 
)

Definition at line 562 of file oct-norm.cc.

Referenced by Fnorm(), matrix_norm(), and xcolnorms().

OCTAVE_API RowVector xcolnorms ( const ComplexMatrix ,
double  p = 2 
)

Definition at line 563 of file oct-norm.cc.

OCTAVE_API FloatRowVector xcolnorms ( const FloatMatrix ,
float  p = 2 
)

Definition at line 564 of file oct-norm.cc.

OCTAVE_API FloatRowVector xcolnorms ( const FloatComplexMatrix ,
float  p = 2 
)

Definition at line 565 of file oct-norm.cc.

OCTAVE_API RowVector xcolnorms ( const SparseMatrix ,
double  p = 2 
)

Definition at line 567 of file oct-norm.cc.

OCTAVE_API RowVector xcolnorms ( const SparseComplexMatrix ,
double  p = 2 
)

Definition at line 568 of file oct-norm.cc.

OCTAVE_API double xfrobnorm ( const Matrix )

Definition at line 527 of file oct-norm.cc.

Referenced by Fnorm(), Fsqrtm(), and xfrobnorm().

OCTAVE_API double xfrobnorm ( const ComplexMatrix )

Definition at line 528 of file oct-norm.cc.

OCTAVE_API float xfrobnorm ( const FloatMatrix )

Definition at line 529 of file oct-norm.cc.

OCTAVE_API float xfrobnorm ( const FloatComplexMatrix )

Definition at line 530 of file oct-norm.cc.

OCTAVE_API double xfrobnorm ( const SparseMatrix )

Definition at line 553 of file oct-norm.cc.

OCTAVE_API double xfrobnorm ( const SparseComplexMatrix )

Definition at line 554 of file oct-norm.cc.

OCTAVE_API double xnorm ( const ColumnVector ,
double  p = 2 
)
OCTAVE_API double xnorm ( const RowVector ,
double  p = 2 
)

Definition at line 527 of file oct-norm.cc.

OCTAVE_API double xnorm ( const Matrix ,
double  p = 2 
)

Definition at line 527 of file oct-norm.cc.

OCTAVE_API double xnorm ( const ComplexColumnVector ,
double  p = 2 
)

Definition at line 528 of file oct-norm.cc.

OCTAVE_API double xnorm ( const ComplexRowVector ,
double  p = 2 
)

Definition at line 528 of file oct-norm.cc.

OCTAVE_API double xnorm ( const ComplexMatrix ,
double  p = 2 
)

Definition at line 528 of file oct-norm.cc.

OCTAVE_API float xnorm ( const FloatColumnVector ,
float  p = 2 
)

Definition at line 529 of file oct-norm.cc.

OCTAVE_API float xnorm ( const FloatRowVector ,
float  p = 2 
)

Definition at line 529 of file oct-norm.cc.

OCTAVE_API float xnorm ( const FloatMatrix ,
float  p = 2 
)

Definition at line 529 of file oct-norm.cc.

OCTAVE_API float xnorm ( const FloatComplexColumnVector ,
float  p = 2 
)

Definition at line 530 of file oct-norm.cc.

OCTAVE_API float xnorm ( const FloatComplexRowVector ,
float  p = 2 
)

Definition at line 530 of file oct-norm.cc.

OCTAVE_API float xnorm ( const FloatComplexMatrix ,
float  p = 2 
)

Definition at line 530 of file oct-norm.cc.

OCTAVE_API double xnorm ( const SparseRowVector &  ,
double  p = 2 
)
OCTAVE_API double xnorm ( const SparseMatrix ,
double  p = 2 
)

Definition at line 553 of file oct-norm.cc.

OCTAVE_API double xnorm ( const SparseColumnVector &  ,
double  p = 2 
)
OCTAVE_API double xnorm ( const SparseComplexColumnVector &  ,
double  p = 2 
)
OCTAVE_API double xnorm ( const SparseComplexRowVector &  ,
double  p = 2 
)
OCTAVE_API double xnorm ( const SparseComplexMatrix ,
double  p = 2 
)

Definition at line 554 of file oct-norm.cc.

OCTAVE_API ColumnVector xrownorms ( const Matrix ,
double  p = 2 
)

Definition at line 562 of file oct-norm.cc.

Referenced by Fnorm(), matrix_norm(), and xrownorms().

OCTAVE_API ColumnVector xrownorms ( const ComplexMatrix ,
double  p = 2 
)

Definition at line 563 of file oct-norm.cc.

OCTAVE_API FloatColumnVector xrownorms ( const FloatMatrix ,
float  p = 2 
)

Definition at line 564 of file oct-norm.cc.

OCTAVE_API FloatColumnVector xrownorms ( const FloatComplexMatrix ,
float  p = 2 
)

Definition at line 565 of file oct-norm.cc.

OCTAVE_API ColumnVector xrownorms ( const SparseMatrix ,
double  p = 2 
)

Definition at line 567 of file oct-norm.cc.

OCTAVE_API ColumnVector xrownorms ( const SparseComplexMatrix ,
double  p = 2 
)

Definition at line 568 of file oct-norm.cc.