Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #if !defined (octave_ComplexQR_h)
00025 #define octave_ComplexQR_h 1
00026
00027 #include <iosfwd>
00028
00029 #include "CMatrix.h"
00030 #include "CColVector.h"
00031 #include "CRowVector.h"
00032 #include "base-qr.h"
00033
00034
00035 class
00036 OCTAVE_API
00037 ComplexQR : public base_qr<ComplexMatrix>
00038 {
00039 public:
00040
00041 ComplexQR (void) : base_qr<ComplexMatrix> () { }
00042
00043 ComplexQR (const ComplexMatrix&, qr_type_t = qr_type_std);
00044
00045 ComplexQR (const ComplexMatrix& qx, const ComplexMatrix& rx)
00046 : base_qr<ComplexMatrix> (qx, rx) { }
00047
00048 ComplexQR (const ComplexQR& a) : base_qr<ComplexMatrix> (a) { }
00049
00050 void init (const ComplexMatrix&, qr_type_t = qr_type_std);
00051
00052 void update (const ComplexColumnVector& u, const ComplexColumnVector& v);
00053
00054 void update (const ComplexMatrix& u, const ComplexMatrix& v);
00055
00056 void insert_col (const ComplexColumnVector& u, octave_idx_type j);
00057
00058 void insert_col (const ComplexMatrix& u, const Array<octave_idx_type>& j);
00059
00060 void delete_col (octave_idx_type j);
00061
00062 void delete_col (const Array<octave_idx_type>& j);
00063
00064 void insert_row (const ComplexRowVector& u, octave_idx_type j);
00065
00066 void delete_row (octave_idx_type j);
00067
00068 void shift_cols (octave_idx_type i, octave_idx_type j);
00069
00070 protected:
00071
00072 void form (octave_idx_type n, ComplexMatrix& afact,
00073 Complex *tau, qr_type_t qr_type);
00074 };
00075
00076 #endif