GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-norm.h File Reference
#include "octave-config.h"
#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

◆ DECLARE_COLROW_NORM_FUNCS

#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:593
const char * PREFIX
Definition: dMatrix.h:36
p
Definition: lu.cc:138
OCTAVE_API ColumnVector xrownorms(const Matrix &, double p=2)
Definition: oct-norm.cc:593

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

◆ DECLARE_XNORM_FUNCS

#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 \
OCTAVE_API double xnorm(const ColumnVector &, double p=2)
Definition: oct-norm.cc:550
OCTAVE_API double xfrobnorm(const Matrix &)
Definition: oct-norm.cc:550
const char * PREFIX
Definition: dMatrix.h:36
p
Definition: lu.cc:138

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

Function Documentation

◆ xcolnorms() [1/6]

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

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

Referenced by F__icholt__(), matrix_norm(), and svd_matrix_norm().

◆ xcolnorms() [2/6]

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

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

◆ xcolnorms() [3/6]

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

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

◆ xcolnorms() [4/6]

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

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

◆ xcolnorms() [5/6]

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

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

◆ xcolnorms() [6/6]

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

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

◆ xfrobnorm() [1/6]

OCTAVE_API double xfrobnorm ( const Matrix )

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

Referenced by Fsqrtm().

◆ xfrobnorm() [2/6]

OCTAVE_API double xfrobnorm ( const ComplexMatrix )

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

◆ xfrobnorm() [3/6]

OCTAVE_API float xfrobnorm ( const FloatMatrix )

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

◆ xfrobnorm() [4/6]

OCTAVE_API float xfrobnorm ( const FloatComplexMatrix )

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

◆ xfrobnorm() [5/6]

OCTAVE_API double xfrobnorm ( const SparseMatrix )

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

◆ xfrobnorm() [6/6]

OCTAVE_API double xfrobnorm ( const SparseComplexMatrix )

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

◆ xnorm() [1/18]

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

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

Referenced by do_mgorth(), do_sqrtm(), and chol< T >::init().

◆ xnorm() [2/18]

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

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

◆ xnorm() [3/18]

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

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

◆ xnorm() [4/18]

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

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

◆ xnorm() [5/18]

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

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

◆ xnorm() [6/18]

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

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

◆ xnorm() [7/18]

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

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

◆ xnorm() [8/18]

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

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

◆ xnorm() [9/18]

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

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

◆ xnorm() [10/18]

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

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

◆ xnorm() [11/18]

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

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

◆ xnorm() [12/18]

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

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

◆ xnorm() [13/18]

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

◆ xnorm() [14/18]

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

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

◆ xnorm() [15/18]

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

◆ xnorm() [16/18]

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

◆ xnorm() [17/18]

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

◆ xnorm() [18/18]

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

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

◆ xrownorms() [1/6]

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

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

Referenced by matrix_norm(), and svd_matrix_norm().

◆ xrownorms() [2/6]

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

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

◆ xrownorms() [3/6]

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

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

◆ xrownorms() [4/6]

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

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

◆ xrownorms() [5/6]

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

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

◆ xrownorms() [6/6]

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

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