23 #if !defined (octave_CMatrix_h)
24 #define octave_CMatrix_h 1
178 double& rcon,
int force,
int calc_cond)
const;
181 double& rcon,
int force,
int calc_cond)
const;
187 int calc_cond = 1)
const;
192 double& rcon,
int force = 0,
193 int calc_cond = 1)
const;
206 int calc_cond = 1)
const;
208 double& rcon,
int calc_cond = 1)
const;
210 double rcond (
void)
const;
218 bool calc_cond =
false,
225 bool calc_cond =
false,
232 bool calc_cond =
false)
const;
243 bool singular_fallback =
true,
254 bool singular_fallback =
true,
395 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
397 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
Array< Complex > as_matrix(void) const
Return the array as a matrix.
ComplexMatrix stack(const Matrix &a) const
ComplexMatrix ifourier(void) const
ComplexRowVector row_vector_type
ComplexDET determinant(void) const
bool operator!=(const dim_vector &a, const dim_vector &b)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
static ComplexMatrix ltsolve(const SparseComplexMatrix &, const ColumnVector &, const ComplexMatrix &)
ComplexMatrix inverse(void) const
OCTAVE_API ComplexMatrix linspace(const ComplexColumnVector &x1, const ComplexColumnVector &x2, octave_idx_type n)
ComplexMatrix(const dim_vector &dv, const Complex &val)
ComplexMatrix(octave_idx_type r, octave_idx_type c)
MArray< T > transpose(void) const
bool column_is_real_only(octave_idx_type) const
ComplexRowVector row(octave_idx_type i) const
void(* solve_singularity_handler)(double rcon)
#define SM_CMP_OP_DECLS(S, M, API)
OCTAVE_API ComplexMatrix Sylvester(const ComplexMatrix &, const ComplexMatrix &, const ComplexMatrix &)
ComplexMatrix operator-=(ComplexMatrix &x, const Complex &y)
OCTAVE_API ComplexMatrix xgemm(const ComplexMatrix &a, const ComplexMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
ComplexMatrix prod(int dim=-1) const
ComplexRowVector column_min(void) const
ComplexMatrix fsolve(MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
ComplexMatrix cumprod(int dim=-1) const
ComplexMatrix hermitian(void) const
ComplexMatrix cumsum(int dim=-1) const
bool is_hermitian(void) const
ComplexMatrix(const dim_vector &dv)
#define SM_BOOL_OP_DECLS(S, M, API)
boolMatrix all(int dim=-1) const
ComplexMatrix(const MArray< U > &a)
#define MM_CMP_OP_DECLS(M1, M2, API)
bool row_is_real_only(octave_idx_type) const
#define MM_BOOL_OP_DECLS(M1, M2, API)
void resize(const dim_vector &dv, const T &rfv)
ComplexColumnVector row_min(void) const
boolMatrix any(int dim=-1) const
ComplexMatrix solve(MatrixType &typ, const Matrix &b) const
ComplexMatrix fourier(void) const
#define MARRAY_FORWARD_DEFS(B, R, T)
ComplexMatrix sumsq(int dim=-1) const
ComplexColumnVector row_max(void) const
ComplexMatrix transpose(void) const
OCTAVE_API ComplexMatrix Givens(const Complex &, const Complex &)
OCTAVE_API ComplexMatrix min(const Complex &c, const ComplexMatrix &m)
ComplexMatrix & insert(const Matrix &a, octave_idx_type r, octave_idx_type c)
MArray< T > hermitian(T(*fcn)(const T &)=0) const
bool operator==(const dim_vector &a, const dim_vector &b)
#define MS_CMP_OP_DECLS(M, S, API)
ComplexMatrix(const ComplexMatrix &a)
ComplexMatrix pseudo_inverse(double tol=0.0) const
Handles the reference counting for all the derived classes.
ComplexRowVector column_max(void) const
ComplexMatrix finverse(MatrixType &mattype, octave_idx_type &info, double &rcon, int force, int calc_cond) const
void resize(octave_idx_type nr, octave_idx_type nc, const Complex &rfv=Complex(0))
static ComplexMatrix utsolve(const SparseComplexMatrix &, const ColumnVector &, const ComplexMatrix &)
OCTAVE_API ComplexMatrix operator*(const ColumnVector &a, const ComplexRowVector &b)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
ComplexColumnVector column_vector_type
OCTAVE_API ComplexMatrix conj(const ComplexMatrix &a)
ComplexMatrix(octave_idx_type r, octave_idx_type c, const Complex &val)
#define MS_BOOL_OP_DECLS(M, S, API)
ComplexMatrix sum(int dim=-1) const
ComplexMatrix & fill(double val)
ComplexMatrix ifourier2d(void) const
OCTAVE_API ComplexMatrix max(const Complex &c, const ComplexMatrix &m)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type c1
ComplexMatrix diag(octave_idx_type k=0) const
ComplexMatrix(const Array< U > &a)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
std::complex< double > Complex
ComplexMatrix lssolve(const Matrix &b) const
ComplexMatrix tinverse(MatrixType &mattype, octave_idx_type &info, double &rcon, int force, int calc_cond) const
ComplexColumnVector column(octave_idx_type i) const
ComplexMatrix extract_n(octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
ComplexMatrix extract(octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
ComplexMatrix append(const Matrix &a) const
Array< Complex > index(const idx_vector &i) const
Indexing without resizing.
ComplexMatrix fourier2d(void) const
ComplexMatrix operator+=(ComplexMatrix &x, const Complex &y)