GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
xdiv.h
Go to the documentation of this file.
1////////////////////////////////////////////////////////////////////////
2//
3// Copyright (C) 1993-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_xdiv_h)
27#define octave_xdiv_h 1
28
29#include "octave-config.h"
30
31#include "mx-defs.h"
32#include "MatrixType.h"
33
35
36extern Matrix xdiv (const Matrix& a, const Matrix& b, MatrixType& typ);
37extern ComplexMatrix xdiv (const Matrix& a, const ComplexMatrix& b,
38 MatrixType& typ);
39extern ComplexMatrix xdiv (const ComplexMatrix& a, const Matrix& b,
40 MatrixType& typ);
41extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexMatrix& b,
42 MatrixType& typ);
43
44extern Matrix elem_xdiv (double a, const Matrix& b);
45extern ComplexMatrix elem_xdiv (double a, const ComplexMatrix& b);
46extern ComplexMatrix elem_xdiv (const Complex a, const Matrix& b);
47extern ComplexMatrix elem_xdiv (const Complex a, const ComplexMatrix& b);
48
49extern NDArray elem_xdiv (double a, const NDArray& b);
50extern ComplexNDArray elem_xdiv (double a, const ComplexNDArray& b);
51extern ComplexNDArray elem_xdiv (const Complex a, const NDArray& b);
52extern ComplexNDArray elem_xdiv (const Complex a, const ComplexNDArray& b);
53
54extern Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType& typ,
56extern ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b,
57 MatrixType& typ,
59extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b,
60 MatrixType& typ,
62extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b,
63 MatrixType& typ,
65
66extern FloatMatrix xdiv (const FloatMatrix& a, const FloatMatrix& b,
67 MatrixType& typ);
68extern FloatComplexMatrix xdiv (const FloatMatrix& a,
69 const FloatComplexMatrix& b,
70 MatrixType& typ);
72 const FloatMatrix& b,
73 MatrixType& typ);
75 const FloatComplexMatrix& b,
76 MatrixType& typ);
77
78extern FloatMatrix elem_xdiv (float a, const FloatMatrix& b);
79extern FloatComplexMatrix elem_xdiv (float a, const FloatComplexMatrix& b);
81 const FloatMatrix& b);
83 const FloatComplexMatrix& b);
84
85extern FloatNDArray elem_xdiv (float a, const FloatNDArray& b);
86extern FloatComplexNDArray elem_xdiv (float a, const FloatComplexNDArray& b);
88 const FloatNDArray& b);
90 const FloatComplexNDArray& b);
91
92extern FloatMatrix xleftdiv (const FloatMatrix& a, const FloatMatrix& b,
93 MatrixType& typ,
96 const FloatComplexMatrix& b,
97 MatrixType& typ,
100 const FloatMatrix& b,
101 MatrixType& typ,
104 const FloatComplexMatrix& b,
105 MatrixType& typ,
107
108extern Matrix xdiv (const Matrix& a, const DiagMatrix& b);
109extern ComplexMatrix xdiv (const ComplexMatrix& a, const DiagMatrix& b);
110extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexDiagMatrix& b);
111
112extern DiagMatrix xdiv (const DiagMatrix& a, const DiagMatrix& b);
113extern ComplexDiagMatrix xdiv (const ComplexDiagMatrix& a, const DiagMatrix& b);
115 const ComplexDiagMatrix& b);
116
117extern FloatMatrix xdiv (const FloatMatrix& a, const FloatDiagMatrix& b);
119 const FloatDiagMatrix& b);
121 const FloatComplexDiagMatrix& b);
123 const FloatComplexDiagMatrix& b);
124
125extern FloatDiagMatrix xdiv (const FloatDiagMatrix& a,
126 const FloatDiagMatrix& b);
128 const FloatDiagMatrix& b);
130 const FloatComplexDiagMatrix& b);
131
132extern Matrix xleftdiv (const DiagMatrix& a, const Matrix& b);
133extern ComplexMatrix xleftdiv (const DiagMatrix& a, const ComplexMatrix& b);
135 const ComplexMatrix& b);
136
137extern DiagMatrix xleftdiv (const DiagMatrix& a, const DiagMatrix& b);
138extern ComplexDiagMatrix xleftdiv (const DiagMatrix& a,
139 const ComplexDiagMatrix& b);
141 const ComplexDiagMatrix& b);
142
143extern FloatMatrix xleftdiv (const FloatDiagMatrix& a,
144 const FloatMatrix& b);
146 const FloatComplexMatrix& b);
148 const FloatComplexMatrix& b);
149
151 const FloatDiagMatrix& b);
153 const FloatComplexDiagMatrix& b);
155 const FloatComplexDiagMatrix& b);
156
157OCTAVE_END_NAMESPACE(octave)
158
159#endif
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
blas_trans_type
Definition mx-defs.h:80
@ blas_no_trans
Definition mx-defs.h:81
std::complex< double > Complex
Definition oct-cmplx.h:33
std::complex< float > FloatComplex
Definition oct-cmplx.h:34
Matrix elem_xdiv(double a, const Matrix &b)
Definition xdiv.cc:198
Matrix xleftdiv(const Matrix &a, const Matrix &b, MatrixType &typ, blas_trans_type transt=blas_no_trans)
Definition xdiv.cc:345
Matrix xdiv(const Matrix &a, const Matrix &b, MatrixType &typ)
Definition xdiv.cc:122