Mercurial > hg > octave-lyh
comparison liboctave/floatLU.h @ 9708:6f3ffe11d926
implement luupdate
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 08 Oct 2009 16:05:53 +0200 |
parents | eb63fbe60fab |
children | 4c0cdbe0acca |
comparison
equal
deleted
inserted
replaced
9707:6f5c4c82c5fc | 9708:6f3ffe11d926 |
---|---|
38 | 38 |
39 FloatLU (const FloatMatrix& a); | 39 FloatLU (const FloatMatrix& a); |
40 | 40 |
41 FloatLU (const FloatLU& a) : base_lu <FloatMatrix> (a) { } | 41 FloatLU (const FloatLU& a) : base_lu <FloatMatrix> (a) { } |
42 | 42 |
43 FloatLU (const FloatMatrix& l, const FloatMatrix& u, | |
44 const PermMatrix& p) | |
45 : base_lu <FloatMatrix> (l, u, p) { } | |
46 | |
43 FloatLU& operator = (const FloatLU& a) | 47 FloatLU& operator = (const FloatLU& a) |
44 { | 48 { |
45 if (this != &a) | 49 if (this != &a) |
46 base_lu <FloatMatrix> :: operator = (a); | 50 base_lu <FloatMatrix> :: operator = (a); |
47 | 51 |
48 return *this; | 52 return *this; |
49 } | 53 } |
50 | 54 |
51 ~FloatLU (void) { } | 55 ~FloatLU (void) { } |
56 | |
57 void update (const FloatColumnVector& u, const FloatColumnVector& v); | |
58 | |
59 void update (const FloatMatrix& u, const FloatMatrix& v); | |
60 | |
61 void update_piv (const FloatColumnVector& u, const FloatColumnVector& v); | |
62 | |
63 void update_piv (const FloatMatrix& u, const FloatMatrix& v); | |
52 }; | 64 }; |
53 | 65 |
54 #endif | 66 #endif |
55 | 67 |
56 /* | 68 /* |