GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
liboctave
numeric
SparseCmplxLU.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2004-2015 David Bateman
4
Copyright (C) 1998-2004 Andy Adler
5
6
This file is part of Octave.
7
8
Octave is free software; you can redistribute it and/or modify it
9
under the terms of the GNU General Public License as published by the
10
Free Software Foundation; either version 3 of the License, or (at your
11
option) any later version.
12
13
Octave is distributed in the hope that it will be useful, but WITHOUT
14
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16
for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with Octave; see the file COPYING. If not, see
20
<http://www.gnu.org/licenses/>.
21
22
*/
23
24
#if !defined (octave_SparseCmplxLU_h)
25
#define octave_SparseCmplxLU_h 1
26
27
#include "
sparse-base-lu.h
"
28
#include "
dSparse.h
"
29
#include "
CSparse.h
"
30
31
class
32
OCTAVE_API
33
SparseComplexLU
34
:
public
sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double>
35
{
36
public
:
37
38
SparseComplexLU
(
void
)
39
:
sparse_base_lu
<
SparseComplexMatrix
,
Complex
,
SparseMatrix
,
double
> () { }
40
41
SparseComplexLU
(
const
SparseComplexMatrix
& a,
42
const
Matrix
& piv_thres =
Matrix
(),
43
bool
scale
=
false
);
44
45
SparseComplexLU
(
const
SparseComplexMatrix
& a,
const
ColumnVector
& Qinit,
46
const
Matrix
& piv_thres =
Matrix
(),
47
bool
scale
=
false
,
bool
FixedQ =
false
,
48
double
droptol = -1.,
bool
milu =
false
,
49
bool
udiag =
false
);
50
51
SparseComplexLU
(
const
SparseComplexLU
& a)
52
:
sparse_base_lu
<
SparseComplexMatrix
,
Complex
,
SparseMatrix
,
double
> (a)
53
{ }
54
55
SparseComplexLU
& operator = (
const
SparseComplexLU
& a)
56
{
57
if
(
this
!= &a)
58
sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double>
59
:: operator = (a);
60
61
return
*
this
;
62
}
63
64
~SparseComplexLU
(
void
) { }
65
};
66
67
#endif
SparseComplexLU::SparseComplexLU
SparseComplexLU(const SparseComplexLU &a)
Definition:
SparseCmplxLU.h:51
SparseComplexLU
Definition:
SparseCmplxLU.h:31
dSparse.h
SparseComplexMatrix
Definition:
CSparse.h:49
double
sparse_base_lu< SparseComplexMatrix, Complex, SparseMatrix, double >
SparseComplexLU::~SparseComplexLU
~SparseComplexLU(void)
Definition:
SparseCmplxLU.h:64
SparseMatrix
Definition:
dSparse.h:46
Matrix
Definition:
dMatrix.h:35
SparseComplexLU::SparseComplexLU
SparseComplexLU(void)
Definition:
SparseCmplxLU.h:38
CSparse.h
sparse-base-lu.h
scale
void scale(Matrix &m, double x, double y, double z)
Definition:
graphics.cc:5281
ColumnVector
Definition:
dColVector.h:31
Complex
std::complex< double > Complex
Definition:
oct-cmplx.h:29
Generated on Thu Jun 4 2015 23:30:25 for GNU Octave by
1.8.8