GNU Octave
6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse-xdiv.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
//
3
// Copyright (C) 1998-2021 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_sparse_xdiv_h)
27
#define octave_sparse_xdiv_h 1
28
29
#include "octave-config.h"
30
31
#include "
oct-cmplx.h
"
32
#include "
MatrixType.h
"
33
34
class
DiagMatrix
;
35
class
ComplexDiagMatrix
;
36
class
SparseMatrix
;
37
class
SparseComplexMatrix
;
38
39
extern
Matrix
xdiv
(
const
Matrix
& a,
const
SparseMatrix
& b,
MatrixType
& typ);
40
extern
ComplexMatrix
xdiv
(
const
Matrix
& a,
const
SparseComplexMatrix
& b,
41
MatrixType
& typ);
42
extern
ComplexMatrix
xdiv
(
const
ComplexMatrix
& a,
const
SparseMatrix
& b,
43
MatrixType
& typ);
44
extern
ComplexMatrix
xdiv
(
const
ComplexMatrix
& a,
45
const
SparseComplexMatrix
& b,
MatrixType
& typ);
46
47
extern
SparseMatrix
xdiv
(
const
SparseMatrix
& a,
const
SparseMatrix
& b,
48
MatrixType
& typ);
49
extern
SparseComplexMatrix
xdiv
(
const
SparseMatrix
& a,
50
const
SparseComplexMatrix
& b,
MatrixType
& typ);
51
extern
SparseComplexMatrix
xdiv
(
const
SparseComplexMatrix
& a,
52
const
SparseMatrix
& b,
MatrixType
& typ);
53
extern
SparseComplexMatrix
xdiv
(
const
SparseComplexMatrix
& a,
54
const
SparseComplexMatrix
& b,
MatrixType
& typ);
55
56
extern
SparseMatrix
xdiv
(
const
SparseMatrix
& a,
57
const
DiagMatrix
& b,
MatrixType
& typ);
58
extern
SparseComplexMatrix
xdiv
(
const
SparseMatrix
& a,
59
const
ComplexDiagMatrix
& b,
MatrixType
& typ);
60
extern
SparseComplexMatrix
xdiv
(
const
SparseComplexMatrix
& a,
61
const
DiagMatrix
& b,
MatrixType
& typ);
62
extern
SparseComplexMatrix
xdiv
(
const
SparseComplexMatrix
& a,
63
const
ComplexDiagMatrix
& b,
MatrixType
& typ);
64
65
extern
Matrix
x_el_div
(
double
a,
const
SparseMatrix
& b);
66
extern
ComplexMatrix
x_el_div
(
double
a,
const
SparseComplexMatrix
& b);
67
extern
ComplexMatrix
x_el_div
(
const
Complex
a,
const
SparseMatrix
& b);
68
extern
ComplexMatrix
x_el_div
(
const
Complex
a,
69
const
SparseComplexMatrix
& b);
70
71
extern
Matrix
xleftdiv
(
const
SparseMatrix
& a,
const
Matrix
& b,
72
MatrixType
& typ);
73
extern
ComplexMatrix
xleftdiv
(
const
SparseMatrix
& a,
const
ComplexMatrix
& b,
74
MatrixType
& typ);
75
extern
ComplexMatrix
xleftdiv
(
const
SparseComplexMatrix
& a,
const
Matrix
& b,
76
MatrixType
& typ);
77
extern
ComplexMatrix
xleftdiv
(
const
SparseComplexMatrix
& a,
78
const
ComplexMatrix
& b,
MatrixType
& typ);
79
80
extern
SparseMatrix
xleftdiv
(
const
SparseMatrix
& a,
const
SparseMatrix
& b,
81
MatrixType
& typ);
82
extern
SparseComplexMatrix
xleftdiv
(
const
SparseMatrix
& a,
83
const
SparseComplexMatrix
& b,
84
MatrixType
& typ);
85
extern
SparseComplexMatrix
xleftdiv
(
const
SparseComplexMatrix
& a,
86
const
SparseMatrix
& b,
MatrixType
& typ);
87
extern
SparseComplexMatrix
xleftdiv
(
const
SparseComplexMatrix
& a,
88
const
SparseComplexMatrix
& b,
89
MatrixType
& typ);
90
91
extern
SparseMatrix
xleftdiv
(
const
DiagMatrix
&,
const
SparseMatrix
&,
92
MatrixType
&);
93
extern
SparseComplexMatrix
xleftdiv
(
const
ComplexDiagMatrix
&,
94
const
SparseMatrix
&,
95
MatrixType
&);
96
extern
SparseComplexMatrix
xleftdiv
(
const
DiagMatrix
&,
97
const
SparseComplexMatrix
&,
98
MatrixType
&);
99
extern
SparseComplexMatrix
xleftdiv
(
const
ComplexDiagMatrix
&,
100
const
SparseComplexMatrix
&,
101
MatrixType
&);
102
103
#endif
MatrixType.h
ComplexDiagMatrix
Definition:
CDiagMatrix.h:42
ComplexMatrix
Definition:
CMatrix.h:43
DiagMatrix
Definition:
dDiagMatrix.h:40
MatrixType
Definition:
MatrixType.h:43
Matrix
Definition:
dMatrix.h:42
SparseComplexMatrix
Definition:
CSparse.h:52
SparseMatrix
Definition:
dSparse.h:49
oct-cmplx.h
Complex
std::complex< double > Complex
Definition:
oct-cmplx.h:33
x_el_div
Matrix x_el_div(double a, const SparseMatrix &b)
Definition:
sparse-xdiv.cc:373
xdiv
Matrix xdiv(const Matrix &a, const SparseMatrix &b, MatrixType &typ)
Definition:
sparse-xdiv.cc:135
xleftdiv
Matrix xleftdiv(const SparseMatrix &a, const Matrix &b, MatrixType &typ)
Definition:
sparse-xdiv.cc:466
libinterp
corefcn
sparse-xdiv.h
Generated on Tue Apr 13 2021 15:27:46 for GNU Octave by
1.9.1