GNU Octave
10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Loading...
Searching...
No Matches
oct-norm.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
//
3
// Copyright (C) 2008-2025 The Octave Project Developers
4
//
5
// See the file COPYRIGHT.md in the top-level directory of this
6
// distribution or <https://octave.org/copyright/>.
7
//
8
// This file is part of Octave.
9
//
10
// Octave is free software: you can redistribute it and/or modify it
11
// under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// Octave is distributed in the hope that it will be useful, but
16
// WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
// GNU General Public License for more details.
19
//
20
// You should have received a copy of the GNU General Public License
21
// along with Octave; see the file COPYING. If not, see
22
// <https://www.gnu.org/licenses/>.
23
//
24
////////////////////////////////////////////////////////////////////////
25
26
#if ! defined (octave_oct_norm_h)
27
#define octave_oct_norm_h 1
28
29
#include "octave-config.h"
30
31
#include "
mx-fwd.h
"
32
33
#include "
oct-cmplx.h
"
34
35
OCTAVE_BEGIN_NAMESPACE
(octave)
36
37
extern
OCTAVE_API
double
xnorm
(
const
ColumnVector
&,
double
p = 2);
38
extern
OCTAVE_API
double
xnorm
(
const
RowVector
&,
double
p = 2);
39
extern
OCTAVE_API
double
xnorm
(
const
Matrix
&,
double
p = 2);
40
extern
OCTAVE_API
double
xfrobnorm
(
const
Matrix
&);
41
42
extern
OCTAVE_API
double
xnorm
(
const
ComplexColumnVector
&,
double
p = 2);
43
extern
OCTAVE_API
double
xnorm
(
const
ComplexRowVector
&,
double
p = 2);
44
extern
OCTAVE_API
double
xnorm
(
const
ComplexMatrix
&,
double
p = 2);
45
extern
OCTAVE_API
double
xfrobnorm
(
const
ComplexMatrix
&);
46
47
extern
OCTAVE_API
float
xnorm
(
const
FloatColumnVector
&,
float
p = 2);
48
extern
OCTAVE_API
float
xnorm
(
const
FloatRowVector
&,
float
p = 2);
49
extern
OCTAVE_API
float
xnorm
(
const
FloatMatrix
&,
float
p = 2);
50
extern
OCTAVE_API
float
xfrobnorm
(
const
FloatMatrix
&);
51
52
extern
OCTAVE_API
float
xnorm
(
const
FloatComplexColumnVector
&,
float
p = 2);
53
extern
OCTAVE_API
float
xnorm
(
const
FloatComplexRowVector
&,
float
p = 2);
54
extern
OCTAVE_API
float
xnorm
(
const
FloatComplexMatrix
&,
float
p = 2);
55
extern
OCTAVE_API
float
xfrobnorm
(
const
FloatComplexMatrix
&);
56
57
extern
OCTAVE_API
double
xnorm
(
const
SparseMatrix
&,
double
p = 2);
58
extern
OCTAVE_API
double
xfrobnorm
(
const
SparseMatrix
&);
59
60
extern
OCTAVE_API
double
xnorm
(
const
SparseComplexMatrix
&,
double
p = 2);
61
extern
OCTAVE_API
double
xfrobnorm
(
const
SparseComplexMatrix
&);
62
63
extern
OCTAVE_API
RowVector
xcolnorms
(
const
Matrix
&,
double
p = 2);
64
extern
OCTAVE_API
ColumnVector
xrownorms
(
const
Matrix
&,
double
p = 2);
65
66
extern
OCTAVE_API
RowVector
xcolnorms
(
const
ComplexMatrix
&,
double
p = 2);
67
extern
OCTAVE_API
ColumnVector
xrownorms
(
const
ComplexMatrix
&,
double
p = 2);
68
69
extern
OCTAVE_API
FloatRowVector
xcolnorms
(
const
FloatMatrix
&,
float
p = 2);
70
extern
OCTAVE_API
FloatColumnVector
xrownorms
(
const
FloatMatrix
&,
float
p = 2);
71
72
extern
OCTAVE_API
FloatRowVector
xcolnorms
(
const
FloatComplexMatrix
&,
float
p = 2);
73
extern
OCTAVE_API
FloatColumnVector
xrownorms
(
const
FloatComplexMatrix
&,
float
p = 2);
74
75
extern
OCTAVE_API
RowVector
xcolnorms
(
const
SparseMatrix
&,
double
p = 2);
76
extern
OCTAVE_API
ColumnVector
xrownorms
(
const
SparseMatrix
&,
double
p = 2);
77
78
extern
OCTAVE_API
RowVector
xcolnorms
(
const
SparseComplexMatrix
&,
double
p = 2);
79
extern
OCTAVE_API
ColumnVector
xrownorms
(
const
SparseComplexMatrix
&,
double
p = 2);
80
81
OCTAVE_END_NAMESPACE(octave)
82
83
#endif
ColumnVector
Definition
dColVector.h:35
ComplexColumnVector
Definition
CColVector.h:35
ComplexMatrix
Definition
CMatrix.h:41
ComplexRowVector
Definition
CRowVector.h:36
FloatColumnVector
Definition
fColVector.h:35
FloatComplexColumnVector
Definition
fCColVector.h:35
FloatComplexMatrix
Definition
fCMatrix.h:41
FloatComplexRowVector
Definition
fCRowVector.h:36
FloatMatrix
Definition
fMatrix.h:40
FloatRowVector
Definition
fRowVector.h:35
Matrix
Definition
dMatrix.h:40
RowVector
Definition
dRowVector.h:35
SparseComplexMatrix
Definition
CSparse.h:45
SparseMatrix
Definition
dSparse.h:44
OCTAVE_BEGIN_NAMESPACE
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
OCTAVE_API
#define OCTAVE_API
Definition
main.in.cc:55
mx-fwd.h
oct-cmplx.h
xcolnorms
RowVector xcolnorms(const Matrix &, double p=2)
Definition
oct-norm.cc:653
xnorm
double xnorm(const ColumnVector &, double p=2)
Definition
oct-norm.cc:610
xrownorms
ColumnVector xrownorms(const Matrix &, double p=2)
Definition
oct-norm.cc:653
xfrobnorm
double xfrobnorm(const Matrix &)
Definition
oct-norm.cc:610
liboctave
numeric
oct-norm.h
Generated on Sat Aug 2 2025 06:52:15 for GNU Octave by
1.9.8