Logo Search packages:      
Sourcecode: octave2.1 version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Friends

ComplexMatrix Class Reference

Inheritance diagram for ComplexMatrix:
Inheritance graph
[legend]
Collaboration diagram for ComplexMatrix:
Collaboration graph
[legend]

List of all members.

Public Types

typedef void(* solve_singularity_handler )(double rcond)

Public Member Functions

Matrix abs (void) const
boolMatrix all (int dim=-1) const
bool all_elements_are_real (void) const
bool all_integers (double &max_val, double &min_val) const
boolMatrix any (int dim=-1) const
bool any_element_is_inf_or_nan (void) const
ComplexMatrix append (const RowVector &a) const
ComplexMatrix append (const ColumnVector &a) const
ComplexMatrix append (const DiagMatrix &a) const
ComplexMatrix append (const ComplexMatrix &a) const
ComplexMatrix append (const ComplexRowVector &a) const
ComplexMatrix append (const ComplexColumnVector &a) const
ComplexMatrix append (const ComplexDiagMatrix &a) const
ComplexMatrix append (const Matrix &a) const
ComplexMatrixapply (c_c_Mapper f)
size_t byte_size (void) const
int capacity (void) const
Complex & checkelem (int n)
Complex & checkelem (int i, int j)
Complex & checkelem (int i, int j, int k)
Complex & checkelem (const Array< int > &ra_idx)
Complex checkelem (int n) const
Complex checkelem (int i, int j) const
Complex checkelem (int i, int j, int k) const
Complex checkelem (const Array< int > &ra_idx) const
void chop_trailing_singletons (void)
void clear_index (void)
int cols (void) const
ComplexColumnVector column (int i) const
ComplexColumnVector column (char *s) const
bool column_is_real_only (int) const
ComplexRowVector column_max (Array< int > &index) const
ComplexRowVector column_max (void) const
ComplexRowVector column_min (Array< int > &index) const
ComplexRowVector column_min (void) const
int columns (void) const
 ComplexMatrix (const ComplexMatrix &a)
 ComplexMatrix (const ColumnVector &cv)
 ComplexMatrix (int r, int c)
 ComplexMatrix (const DiagMatrix &a)
 ComplexMatrix (const MArray2< Complex > &a)
 ComplexMatrix (const ComplexRowVector &rv)
 ComplexMatrix (const ComplexColumnVector &cv)
 ComplexMatrix (const ComplexDiagMatrix &a)
 ComplexMatrix (const boolMatrix &a)
 ComplexMatrix (const Matrix &a)
 ComplexMatrix (int r, int c, const Complex &val)
 ComplexMatrix (const charMatrix &a)
 ComplexMatrix (const RowVector &rv)
int compute_index (const Array< int > &ra_idx) const
ComplexMatrix cumprod (int dim=-1) const
ComplexMatrix cumsum (int dim=-1) const
const Complex * data (void) const
ComplexDET determinant (int &info) const
ComplexDET determinant (int &info, double &rcond, int calc_cond=1) const
ComplexDET determinant (void) const
ComplexColumnVector diag (void) const
ComplexColumnVector diag (int k) const
int dim1 (void) const
int dim2 (void) const
int dim3 (void) const
dim_vector dims (void) const
Complex & elem (int n)
Complex & elem (int i, int j)
Complex & elem (int i, int j, int k)
Complex & elem (const Array< int > &ra_idx)
Complex elem (int n) const
Complex elem (int i, int j, int k) const
Complex elem (const Array< int > &ra_idx) const
Complex elem (int i, int j) const
ComplexMatrix expm (void) const
ComplexMatrix extract (int r1, int c1, int r2, int c2) const
ComplexMatrix extract_n (int r1, int c1, int nr, int nc) const
ComplexMatrixfill (double val)
ComplexMatrixfill (const Complex &val)
ComplexMatrixfill (double val, int r1, int c1, int r2, int c2)
ComplexMatrixfill (const Complex &val, int r1, int c1, int r2, int c2)
Complex * fortran_vec (void)
const Complex * fortran_vec (void) const
ComplexMatrix fourier (void) const
ComplexMatrix fourier2d (void) const
idx_vectorget_idx (void) const
ComplexMatrix hermitian (void) const
ComplexMatrix ifourier (void) const
ComplexMatrix ifourier2d (void) const
Array2< Complex > index (idx_vector &i, int resize_ok=0, const Complex &rfv=resize_fill_value(Complex())) const
Array2< Complex > index (idx_vector &i, idx_vector &j, int resize_ok=0, const Complex &rfv=resize_fill_value(Complex())) const
Array< Complex > index (Array< idx_vector > &ra_idx, int resize_ok=0, const Complex &rfv=resize_fill_value(Complex())) const
Array< Complex > index1 (idx_vector &i, int resize_ok=0, const Complex &rfv=resize_fill_value(Complex())) const
Array< Complex > index2 (idx_vector &i, int resize_ok=0, const Complex &rfv=resize_fill_value(Complex())) const
int index_count (void) const
Array< Complex > indexN (idx_vector &i, int resize_ok=0, const Complex &rfv=resize_fill_value(Complex())) const
MArray2< Complex > & insert (const Array2< Complex > &a, int r, int c)
Array< Complex > & insert (const Array< Complex > &a, int r, int c)
Array< Complex > & insert (const Array< Complex > &a, const Array< int > &idx)
ComplexMatrixinsert (const Matrix &a, int r, int c)
ComplexMatrixinsert (const RowVector &a, int r, int c)
ComplexMatrixinsert (const ColumnVector &a, int r, int c)
ComplexMatrixinsert (const ComplexDiagMatrix &a, int r, int c)
ComplexMatrixinsert (const DiagMatrix &a, int r, int c)
ComplexMatrixinsert (const ComplexRowVector &a, int r, int c)
ComplexMatrixinsert (const ComplexColumnVector &a, int r, int c)
ComplexMatrixinsert (const ComplexMatrix &a, int r, int c)
Array< Complex > & insert2 (const Array< Complex > &a, int r, int c)
Array< Complex > & insertN (const Array< Complex > &a, int r, int c)
ComplexMatrix inverse (void) const
ComplexMatrix inverse (int &info, double &rcond, int force=0, int calc_cond=1) const
ComplexMatrix inverse (int &info) const
Array< Complex > ipermute (const Array< int > &vec) const
bool is_empty (void) const
bool is_hermitian (void) const
bool is_square (void) const
int length (void) const
ComplexMatrix lssolve (const ComplexMatrix &b, int &info) const
ComplexMatrix lssolve (const Matrix &b) const
ComplexMatrix lssolve (const Matrix &b, int &info) const
ComplexMatrix lssolve (const Matrix &b, int &info, int &rank) const
ComplexMatrix lssolve (const ComplexMatrix &b) const
ComplexMatrix lssolve (const ComplexMatrix &b, int &info, int &rank) const
ComplexColumnVector lssolve (const ColumnVector &b, int &info) const
ComplexColumnVector lssolve (const ColumnVector &b, int &info, int &rank) const
ComplexColumnVector lssolve (const ComplexColumnVector &b) const
ComplexColumnVector lssolve (const ComplexColumnVector &b, int &info, int &rank) const
ComplexColumnVector lssolve (const ComplexColumnVector &b, int &info) const
ComplexColumnVector lssolve (const ColumnVector &b) const
boolMatrix map (b_c_Mapper f) const
ComplexMatrix map (c_c_Mapper f) const
Matrix map (d_c_Mapper f) const
void maybe_delete_dims (void)
void maybe_delete_elements (Array< idx_vector > &ra_idx, const Complex &rfv)
void maybe_delete_elements (idx_vector &i, idx_vector &j, idx_vector &k)
void maybe_delete_elements (idx_vector &i)
void maybe_delete_elements (idx_vector &i, idx_vector &j)
void maybe_delete_elements_1 (idx_vector &i)
void maybe_delete_elements_2 (idx_vector &i)
int ndims (void) const
int nelem (void) const
int numel (void) const
boolMatrix operator! (void) const
bool operator!= (const ComplexMatrix &a) const
Complex operator() (int i, int j) const
Complex & operator() (int n)
Complex operator() (const Array< int > &ra_idx) const
Complex & operator() (int i, int j, int k)
Complex & operator() (const Array< int > &ra_idx)
Complex operator() (int n) const
Complex operator() (int i, int j, int k) const
Complex & operator() (int i, int j)
ComplexMatrixoperator+= (const Matrix &a)
ComplexMatrixoperator+= (const DiagMatrix &a)
ComplexMatrixoperator+= (const ComplexDiagMatrix &a)
ComplexMatrixoperator-= (const ComplexDiagMatrix &a)
ComplexMatrixoperator-= (const Matrix &a)
ComplexMatrixoperator-= (const DiagMatrix &a)
ComplexMatrixoperator= (const ComplexMatrix &a)
bool operator== (const ComplexMatrix &a) const
int pages (void) const
Array< Complex > permute (const Array< int > &vec, bool inv=false) const
void print_info (std::ostream &os, const std::string &prefix) const
ComplexMatrix prod (int dim=-1) const
ComplexMatrix pseudo_inverse (double tol=0.0) const
Array< Complex > & qsort (int(*compare)(const void *, const void *))
Complex range_error (const char *fcn, int n) const
Complex range_error (const char *fcn, int i, int j) const
Complex & range_error (const char *fcn, int i, int j)
Complex range_error (const char *fcn, int i, int j, int k) const
Complex range_error (const char *fcn, const Array< int > &ra_idx) const
Complex & range_error (const char *fcn, int i, int j, int k)
Complex & range_error (const char *fcn, const Array< int > &ra_idx)
Complex & range_error (const char *fcn, int n)
Array< Complex > reshape (const dim_vector &new_dims) const
void resize (int r, int c)
void resize (int r, int c, const Complex &val)
void resize (int n, const Complex &val)
void resize (const dim_vector &dv, const Complex &val)
void resize (int n)
void resize (const dim_vector &dv)
void resize_and_fill (int r, int c, int p, const Complex &val)
void resize_and_fill (int n, const Complex &val)
void resize_and_fill (const dim_vector &dv, const Complex &val)
void resize_and_fill (int r, int c, const Complex &val)
void resize_no_fill (int n)
void resize_no_fill (const dim_vector &dv)
void resize_no_fill (int r, int c, int p)
void resize_no_fill (int r, int c)
ComplexRowVector row (char *s) const
ComplexRowVector row (int i) const
bool row_is_real_only (int) const
ComplexColumnVector row_max (void) const
ComplexColumnVector row_max (Array< int > &index) const
ComplexColumnVector row_min (Array< int > &index) const
ComplexColumnVector row_min (void) const
int rows (void) const
void set_index (const idx_vector &i)
ComplexColumnVector solve (const ComplexColumnVector &b) const
ComplexMatrix solve (const Matrix &b, int &info, double &rcond, solve_singularity_handler sing_handler) const
ComplexMatrix solve (const ComplexMatrix &b, int &info) const
ComplexColumnVector solve (const ColumnVector &b, int &info, double &rcond) const
ComplexMatrix solve (const ComplexMatrix &b) const
ComplexColumnVector solve (const ComplexColumnVector &b, int &info) const
ComplexMatrix solve (const ComplexMatrix &b, int &info, double &rcond, solve_singularity_handler sing_handler) const
ComplexColumnVector solve (const ColumnVector &b, int &info, double &rcond, solve_singularity_handler sing_handler) const
ComplexMatrix solve (const ComplexMatrix &b, int &info, double &rcond) const
ComplexMatrix solve (const Matrix &b) const
ComplexMatrix solve (const Matrix &b, int &info) const
ComplexMatrix solve (const Matrix &b, int &info, double &rcond) const
ComplexColumnVector solve (const ColumnVector &b) const
ComplexColumnVector solve (const ColumnVector &b, int &info) const
ComplexColumnVector solve (const ComplexColumnVector &b, int &info, double &rcond) const
ComplexColumnVector solve (const ComplexColumnVector &b, int &info, double &rcond, solve_singularity_handler sing_handler) const
Array< Complex > squeeze (void) const
ComplexMatrix stack (const ComplexDiagMatrix &a) const
ComplexMatrix stack (const ColumnVector &a) const
ComplexMatrix stack (const ComplexRowVector &a) const
ComplexMatrix stack (const ComplexColumnVector &a) const
ComplexMatrix stack (const DiagMatrix &a) const
ComplexMatrix stack (const RowVector &a) const
ComplexMatrix stack (const ComplexMatrix &a) const
ComplexMatrix stack (const Matrix &a) const
ComplexMatrix sum (int dim=-1) const
ComplexMatrix sumsq (int dim=-1) const
bool too_large_for_float (void) const
ComplexMatrix transpose (void) const
Array< Complex > value (void)
Complex & xelem (int n)
Complex xelem (const Array< int > &ra_idx) const
Complex xelem (int i, int j) const
Complex & xelem (const Array< int > &ra_idx)
Complex xelem (int n) const
Complex & xelem (int i, int j)
Complex & xelem (int i, int j, int k)
Complex xelem (int i, int j, int k) const

Static Public Member Functions

static int get_size (int r, int c, int p)
static int get_size (const dim_vector &dv)
static Complex resize_fill_value (void)

Public Attributes

dim_vector dimensions
Array< Complex >::ArrayRep * rep

Protected Member Functions

void make_unique (void)
void make_unique (const Complex &val)

Static Protected Member Functions

static int get_size (int r, int c)

Protected Attributes

idx_vectoridx
int idx_count

Private Member Functions

 ComplexMatrix (Complex *d, int r, int c)

Friends

ComplexMatrix conj (const ComplexMatrix &a)
ComplexMatrix operator* (const ColumnVector &a, const ComplexRowVector &b)
ComplexMatrix operator* (const ComplexColumnVector &a, const ComplexRowVector &b)
ComplexMatrix operator* (const ComplexColumnVector &a, const RowVector &b)
std::ostream & operator<< (std::ostream &os, const ComplexMatrix &a)
std::istream & operator>> (std::istream &is, ComplexMatrix &a)

Detailed Description

Definition at line 38 of file CMatrix.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index