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
35template <typename T> class aepbalance;
36
37template <typename T> class gepbalance;
38
39template <typename T> class chol;
40
41class EIG;
42
43template <typename T> class gsvd;
44
45template <typename T> class hess;
46
47template <typename T> class schur;
48
49template <typename T> class svd;
50
51template <typename T> class lu;
52
53template <typename T> class qr;
54
55template <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
68OCTAVE_DEPRECATED (11, "") typedef bool (*b_d_Mapper)(double);
69OCTAVE_DEPRECATED (11, "") typedef bool (*b_c_Mapper)(const Complex&);
70OCTAVE_DEPRECATED (11, "") typedef double (*d_d_Mapper)(double);
71OCTAVE_DEPRECATED (11, "") typedef double (*d_c_Mapper)(const Complex&);
72OCTAVE_DEPRECATED (11, "") typedef Complex (*c_c_Mapper)(const Complex&);
73OCTAVE_DEPRECATED (11, "") typedef bool (*b_f_Mapper)(float);
74OCTAVE_DEPRECATED (11, "") typedef bool (*b_fc_Mapper)(const FloatComplex&);
75OCTAVE_DEPRECATED (11, "") typedef float (*f_f_Mapper)(float);
76OCTAVE_DEPRECATED (11, "") typedef float (*f_fc_Mapper)(const FloatComplex&);
77OCTAVE_DEPRECATED (11, "") typedef FloatComplex (*fc_fc_Mapper)(const FloatComplex&);
78
85
86inline char
88{
89 return static_cast<char> (transt);
90}
91
92# endif
93
94#endif
Definition EIG.h:39
Definition chol.h:36
Definition gsvd.h:36
Definition hess.h:38
Definition lu.h:40
Definition qr.h:38
Definition qrp.h:39
Definition schur.h:45
Definition svd.h:38
OCTAVE_DEPRECATED(11, "") typedef bool(*b_d_Mapper)(double)
blas_trans_type
Definition mx-defs.h:80
@ blas_no_trans
Definition mx-defs.h:81
@ blas_conj_trans
Definition mx-defs.h:83
@ blas_trans
Definition mx-defs.h:82
char get_blas_char(blas_trans_type transt)
Definition mx-defs.h:87
std::complex< double > Complex
Definition oct-cmplx.h:33
std::complex< float > FloatComplex
Definition oct-cmplx.h:34