GNU Octave
11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Loading...
Searching...
No Matches
mx-defs.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
//
3
// Copyright (C) 1994-2026 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_mx_defs_h)
27
#define octave_mx_defs_h 1
28
29
#include "octave-config.h"
30
31
// Classes we declare.
32
33
#include "
mx-fwd.h
"
34
35
template
<
typename
T>
class
aepbalance
;
36
37
template
<
typename
T>
class
gepbalance
;
38
39
template
<
typename
T>
class
chol
;
40
41
class
EIG
;
42
43
template
<
typename
T>
class
gsvd
;
44
45
template
<
typename
T>
class
hess
;
46
47
template
<
typename
T>
class
schur
;
48
49
template
<
typename
T>
class
svd
;
50
51
template
<
typename
T>
class
lu
;
52
53
template
<
typename
T>
class
qr
;
54
55
template
<
typename
T>
class
qrp
;
56
57
// Other data types we use but that don't always need to have full
58
// declarations.
59
60
#include "
oct-cmplx.h
"
61
62
#if ! defined (MAPPER_FCN_TYPEDEFS)
63
# define MAPPER_FCN_TYPEDEFS 1
64
65
// The following function typedefs were determined to be unused remnants,
66
// and are deprecated for only one year. They should be removed from Octave 12.
67
// See https://octave.discourse.group/t/what-are-mapper-typedefs-used-for/7189
68
OCTAVE_DEPRECATED
(11,
""
) typedef
bool
(*b_d_Mapper)(
double
);
69
OCTAVE_DEPRECATED
(11, "") typedef
bool
(*b_c_Mapper)(const
Complex
&);
70
OCTAVE_DEPRECATED
(11, "") typedef
double
(*d_d_Mapper)(
double
);
71
OCTAVE_DEPRECATED
(11, "") typedef
double
(*d_c_Mapper)(const
Complex
&);
72
OCTAVE_DEPRECATED
(11, "") typedef
Complex
(*c_c_Mapper)(const
Complex
&);
73
OCTAVE_DEPRECATED
(11, "") typedef
bool
(*b_f_Mapper)(
float
);
74
OCTAVE_DEPRECATED
(11, "") typedef
bool
(*b_fc_Mapper)(const
FloatComplex
&);
75
OCTAVE_DEPRECATED
(11, "") typedef
float
(*f_f_Mapper)(
float
);
76
OCTAVE_DEPRECATED
(11, "") typedef
float
(*f_fc_Mapper)(const
FloatComplex
&);
77
OCTAVE_DEPRECATED
(11, "") typedef
FloatComplex
(*fc_fc_Mapper)(const
FloatComplex
&);
78
79
enum
blas_trans_type
80
{
81
blas_no_trans
=
'N'
,
82
blas_trans
=
'T'
,
83
blas_conj_trans
=
'C'
84
};
85
86
inline
char
87
get_blas_char
(
blas_trans_type
transt)
88
{
89
return
static_cast<
char
>
(transt);
90
}
91
92
# endif
93
94
#endif
EIG
Definition
EIG.h:39
aepbalance
Definition
aepbalance.h:38
chol
Definition
chol.h:36
gepbalance
Definition
gepbalance.h:38
gsvd
Definition
gsvd.h:36
hess
Definition
hess.h:38
lu
Definition
lu.h:40
qr
Definition
qr.h:38
qrp
Definition
qrp.h:39
schur
Definition
schur.h:45
svd
Definition
svd.h:38
OCTAVE_DEPRECATED
OCTAVE_DEPRECATED(11, "") typedef bool(*b_d_Mapper)(double)
blas_trans_type
blas_trans_type
Definition
mx-defs.h:80
blas_no_trans
@ blas_no_trans
Definition
mx-defs.h:81
blas_conj_trans
@ blas_conj_trans
Definition
mx-defs.h:83
blas_trans
@ blas_trans
Definition
mx-defs.h:82
get_blas_char
char get_blas_char(blas_trans_type transt)
Definition
mx-defs.h:87
mx-fwd.h
oct-cmplx.h
Complex
std::complex< double > Complex
Definition
oct-cmplx.h:33
FloatComplex
std::complex< float > FloatComplex
Definition
oct-cmplx.h:34
liboctave
operators
mx-defs.h
Generated on Tue Feb 24 2026 04:49:07 for GNU Octave by
1.9.8