GNU Octave
3.8.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
fCmplxQR.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 1994-2013 John W. Eaton
4
Copyright (C) 2008-2009 Jaroslav Hajek
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
// updating/downdating by Jaroslav Hajek 2008
25
26
#if !defined (octave_fCmplxQR_h)
27
#define octave_fCmplxQR_h 1
28
29
#include <iosfwd>
30
31
#include "
fCMatrix.h
"
32
#include "
fCColVector.h
"
33
#include "
fCRowVector.h
"
34
#include "
base-qr.h
"
35
36
class
37
OCTAVE_API
38
FloatComplexQR
:
public
base_qr<FloatComplexMatrix>
39
{
40
public
:
41
42
FloatComplexQR
(
void
) :
base_qr
<
FloatComplexMatrix
> () { }
43
44
FloatComplexQR
(
const
FloatComplexMatrix
&,
qr_type_t
=
qr_type_std
);
45
46
FloatComplexQR
(
const
FloatComplexMatrix
& qx,
const
FloatComplexMatrix
& rx)
47
:
base_qr
<
FloatComplexMatrix
> (qx, rx) { }
48
49
FloatComplexQR
(
const
FloatComplexQR
& a) :
base_qr
<
FloatComplexMatrix
> (a) { }
50
51
void
init (
const
FloatComplexMatrix
&,
qr_type_t
=
qr_type_std
);
52
53
void
update (
const
FloatComplexColumnVector
& u,
54
const
FloatComplexColumnVector
& v);
55
56
void
update (
const
FloatComplexMatrix
& u,
const
FloatComplexMatrix
& v);
57
58
void
insert_col (
const
FloatComplexColumnVector
& u,
octave_idx_type
j);
59
60
void
insert_col (
const
FloatComplexMatrix
& u,
61
const
Array<octave_idx_type>
& j);
62
63
void
delete_col (
octave_idx_type
j);
64
65
void
delete_col (
const
Array<octave_idx_type>
& j);
66
67
void
insert_row (
const
FloatComplexRowVector
& u,
octave_idx_type
j);
68
69
void
delete_row (
octave_idx_type
j);
70
71
void
shift_cols (
octave_idx_type
i,
octave_idx_type
j);
72
73
protected
:
74
75
void
form (
octave_idx_type
n,
FloatComplexMatrix
& afact,
76
FloatComplex
*tau,
qr_type_t
qr_type);
77
};
78
79
#endif
Generated on Mon Dec 30 2013 03:04:49 for GNU Octave by
1.8.1.2