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
SparsedbleLU.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_SparsedbleLU_h)
25
#define octave_SparsedbleLU_h 1
26
27
#include "
sparse-base-lu.h
"
28
#include "
dSparse.h
"
29
30
class
31
OCTAVE_API
32
SparseLU
:
public
sparse_base_lu <SparseMatrix, double, SparseMatrix, double>
33
{
34
public
:
35
36
SparseLU
(
void
)
37
:
sparse_base_lu
<
SparseMatrix
,
double
,
SparseMatrix
,
double
> () { }
38
39
SparseLU
(
const
SparseMatrix
& a,
const
Matrix
& piv_thres =
Matrix
(),
40
bool
scale
=
false
);
41
42
SparseLU
(
const
SparseMatrix
& a,
const
ColumnVector
& Qinit,
43
const
Matrix
& piv_thres =
Matrix
(),
bool
scale
=
false
,
44
bool
FixedQ =
false
,
double
droptol = -1.,
45
bool
milu =
false
,
bool
udiag =
false
);
46
47
SparseLU
(
const
SparseLU
& a)
48
:
sparse_base_lu
<
SparseMatrix
,
double
,
SparseMatrix
,
double
> (a) { }
49
50
SparseLU
& operator = (
const
SparseLU
& a)
51
{
52
if
(
this
!= &a)
53
sparse_base_lu <SparseMatrix, double, SparseMatrix, double>
54
:: operator = (a);
55
56
return
*
this
;
57
}
58
59
~SparseLU
(
void
) { }
60
};
61
62
#endif
dSparse.h
SparseLU::SparseLU
SparseLU(const SparseLU &a)
Definition:
SparsedbleLU.h:47
double
SparseLU::SparseLU
SparseLU(void)
Definition:
SparsedbleLU.h:36
sparse_base_lu< SparseMatrix, double, SparseMatrix, double >
SparseMatrix
Definition:
dSparse.h:46
Matrix
Definition:
dMatrix.h:35
sparse-base-lu.h
scale
void scale(Matrix &m, double x, double y, double z)
Definition:
graphics.cc:5281
SparseLU
Definition:
SparsedbleLU.h:30
SparseLU::~SparseLU
~SparseLU(void)
Definition:
SparsedbleLU.h:59
ColumnVector
Definition:
dColVector.h:31
Generated on Thu Jun 4 2015 23:30:25 for GNU Octave by
1.8.8