GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SparsedbleCHOL.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2005-2015 David Bateman
4 Copyright (C) 1998-2005 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_SparsedbleCHOL_h)
25 #define octave_SparsedbleCHOL_h 1
26 
27 #include "sparse-base-chol.h"
28 #include "dSparse.h"
29 
30 class
31 OCTAVE_API
33 {
34 public:
35 
37  { }
38 
39  SparseCHOL (const SparseMatrix& a, bool natural = true, bool force = false)
40  : sparse_base_chol<SparseMatrix, double, SparseMatrix> (a, natural, force)
41  { }
42 
44  bool natural = false, bool force = false)
45  : sparse_base_chol<SparseMatrix, double, SparseMatrix> (a, info, natural,
46  force)
47  { }
48 
49  SparseCHOL (const SparseCHOL& a) :
51 
52  ~SparseCHOL (void) { }
53 
54  SparseCHOL& operator = (const SparseCHOL& a)
55  {
56  if (this != &a)
58 
59  return *this;
60  }
61 
62  SparseMatrix chol_matrix (void) const { return R (); }
63 
64  SparseMatrix L (void) const
66 
67  SparseMatrix R (void) const
69 
70  octave_idx_type P (void) const
72 
73  ColumnVector perm (void) const
75 
76  SparseMatrix Q (void) const
78 
79  double rcond (void) const
81 
82  // Compute the inverse of a matrix using the Cholesky factorization.
83  SparseMatrix inverse (void) const
84  {
86  }
87 };
88 
89 SparseMatrix OCTAVE_API chol2inv (const SparseMatrix& r);
90 
91 #endif
ColumnVector perm(void) const
SparseMatrix inverse(void) const
SparseCHOL(const SparseCHOL &a)
chol_type R(void) const
octave_idx_type P(void) const
~SparseCHOL(void)
SparseMatrix R(void) const
SparseMatrix Q(void) const
double rcond(void) const
chol_type inverse(void) const
ColumnVector perm(void) const
SparseMatrix L(void) const
p_type Q(void) const
SparseCHOL(const SparseMatrix &a, octave_idx_type &info, bool natural=false, bool force=false)
SparseCHOL(const SparseMatrix &a, bool natural=true, bool force=false)
octave_idx_type P(void) const
SparseMatrix chol_matrix(void) const
SparseCHOL(void)
chol_type L(void) const
double rcond(void) const
SparseMatrix OCTAVE_API chol2inv(const SparseMatrix &r)