GNU Octave  4.0.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); \
OCTAVE_API RowVector xcolnorms(const Matrix &, double p=2)
Definition: oct-norm.cc:571
Definition: dMatrix.h:35
OCTAVE_API ColumnVector xrownorms(const Matrix &, double p=2)
Definition: oct-norm.cc:571

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&);
OCTAVE_API double xnorm(const ColumnVector &, double p=2)
Definition: oct-norm.cc:536
OCTAVE_API double xfrobnorm(const Matrix &)
Definition: oct-norm.cc:536
Definition: dMatrix.h:35

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

Function Documentation

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

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

Referenced by Fnorm(), and matrix_norm().

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

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

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

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

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

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

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

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

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

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

OCTAVE_API double xfrobnorm ( const Matrix )

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

Referenced by Fnorm(), and Fsqrtm().

OCTAVE_API double xfrobnorm ( const ComplexMatrix )

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

OCTAVE_API float xfrobnorm ( const FloatMatrix )

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

OCTAVE_API float xfrobnorm ( const FloatComplexMatrix )

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

OCTAVE_API double xfrobnorm ( const SparseMatrix )

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

OCTAVE_API double xfrobnorm ( const SparseComplexMatrix )

Definition at line 563 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 536 of file oct-norm.cc.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 539 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 562 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 563 of file oct-norm.cc.

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

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

Referenced by Fnorm(), and matrix_norm().

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

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

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

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

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

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

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

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

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

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