GNU Octave  6.2.0
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 ComplexMatrix &, double p=2)
 
OCTAVE_API FloatRowVector xcolnorms (const FloatComplexMatrix &, float p=2)
 
OCTAVE_API FloatRowVector xcolnorms (const FloatMatrix &, float p=2)
 
OCTAVE_API RowVector xcolnorms (const Matrix &, double p=2)
 
OCTAVE_API RowVector xcolnorms (const SparseComplexMatrix &, double p=2)
 
OCTAVE_API RowVector xcolnorms (const SparseMatrix &, double p=2)
 
OCTAVE_API double xfrobnorm (const ComplexMatrix &)
 
OCTAVE_API float xfrobnorm (const FloatComplexMatrix &)
 
OCTAVE_API float xfrobnorm (const FloatMatrix &)
 
OCTAVE_API double xfrobnorm (const Matrix &)
 
OCTAVE_API double xfrobnorm (const SparseComplexMatrix &)
 
OCTAVE_API double xfrobnorm (const SparseMatrix &)
 
OCTAVE_API double xnorm (const ColumnVector &, double p=2)
 
OCTAVE_API double xnorm (const ComplexColumnVector &, double p=2)
 
OCTAVE_API double xnorm (const ComplexMatrix &, double p=2)
 
OCTAVE_API double xnorm (const ComplexRowVector &, double p=2)
 
OCTAVE_API float xnorm (const FloatColumnVector &, float p=2)
 
OCTAVE_API float xnorm (const FloatComplexColumnVector &, float p=2)
 
OCTAVE_API float xnorm (const FloatComplexMatrix &, float p=2)
 
OCTAVE_API float xnorm (const FloatComplexRowVector &, float p=2)
 
OCTAVE_API float xnorm (const FloatMatrix &, float p=2)
 
OCTAVE_API float xnorm (const FloatRowVector &, float p=2)
 
OCTAVE_API double xnorm (const Matrix &, double p=2)
 
OCTAVE_API double xnorm (const RowVector &, 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 SparseComplexMatrix &, double p=2)
 
OCTAVE_API double xnorm (const SparseComplexRowVector &, double p=2)
 
OCTAVE_API double xnorm (const SparseMatrix &, double p=2)
 
OCTAVE_API double xnorm (const SparseRowVector &, double p=2)
 
OCTAVE_API ColumnVector xrownorms (const ComplexMatrix &, double p=2)
 
OCTAVE_API FloatColumnVector xrownorms (const FloatComplexMatrix &, float p=2)
 
OCTAVE_API FloatColumnVector xrownorms (const FloatMatrix &, float p=2)
 
OCTAVE_API ColumnVector xrownorms (const Matrix &, double p=2)
 
OCTAVE_API ColumnVector xrownorms (const SparseComplexMatrix &, double p=2)
 
OCTAVE_API ColumnVector xrownorms (const SparseMatrix &, 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); \
Definition: dMatrix.h:42
const char * PREFIX
OCTAVE_API ColumnVector xrownorms(const Matrix &, double p=2)
Definition: oct-norm.cc:594
OCTAVE_API RowVector xcolnorms(const Matrix &, double p=2)
Definition: oct-norm.cc:594

Definition at line 55 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 xfrobnorm(const Matrix &)
Definition: oct-norm.cc:551
OCTAVE_API double xnorm(const ColumnVector &, double p=2)
Definition: oct-norm.cc:551

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

Function Documentation

◆ xcolnorms() [1/6]

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

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

◆ xcolnorms() [2/6]

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

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

◆ xcolnorms() [3/6]

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

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

◆ xcolnorms() [4/6]

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

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

Referenced by F__icholt__(), F__iluc__(), F__ilutp__(), Fnorm(), matrix_norm(), and svd_matrix_norm().

◆ xcolnorms() [5/6]

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

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

◆ xcolnorms() [6/6]

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

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

◆ xfrobnorm() [1/6]

OCTAVE_API double xfrobnorm ( const ComplexMatrix x)

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

◆ xfrobnorm() [2/6]

OCTAVE_API float xfrobnorm ( const FloatComplexMatrix x)

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

◆ xfrobnorm() [3/6]

OCTAVE_API float xfrobnorm ( const FloatMatrix x)

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

◆ xfrobnorm() [4/6]

OCTAVE_API double xfrobnorm ( const Matrix x)

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

Referenced by Fnorm(), and Fsqrtm().

◆ xfrobnorm() [5/6]

OCTAVE_API double xfrobnorm ( const SparseComplexMatrix x)

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

◆ xfrobnorm() [6/6]

OCTAVE_API double xfrobnorm ( const SparseMatrix x)

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

◆ xnorm() [1/18]

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

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

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

◆ xnorm() [2/18]

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

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

◆ xnorm() [3/18]

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

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

◆ xnorm() [4/18]

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

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

◆ xnorm() [5/18]

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

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

◆ xnorm() [6/18]

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

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

◆ xnorm() [7/18]

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

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

◆ xnorm() [8/18]

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

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

◆ xnorm() [9/18]

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

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

◆ xnorm() [10/18]

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

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

◆ xnorm() [11/18]

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

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

◆ xnorm() [12/18]

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

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

◆ xnorm() [13/18]

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

◆ xnorm() [14/18]

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

◆ xnorm() [15/18]

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

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

◆ xnorm() [16/18]

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

◆ xnorm() [17/18]

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

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

◆ xnorm() [18/18]

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

◆ xrownorms() [1/6]

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

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

◆ xrownorms() [2/6]

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

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

◆ xrownorms() [3/6]

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

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

◆ xrownorms() [4/6]

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

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

Referenced by F__iluc__(), F__ilutp__(), Fnorm(), matrix_norm(), and svd_matrix_norm().

◆ xrownorms() [5/6]

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

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

◆ xrownorms() [6/6]

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

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