23 #if !defined (octave_fCMatrix_h)
24 #define octave_fCMatrix_h 1
45 typedef void (*solve_singularity_handler) (
float rcon);
104 bool is_hermitian (
void)
const;
183 float& rcon,
int force,
int calc_cond)
const;
186 float& rcon,
int force,
int calc_cond)
const;
192 int force = 0,
int calc_cond = 1)
const;
197 float& rcon,
int force = 0,
198 int calc_cond = 1)
const;
211 int calc_cond = 1)
const;
213 float& rcon,
int calc_cond = 1)
const;
215 float rcond (
void)
const;
222 solve_singularity_handler sing_handler,
223 bool calc_cond =
false,
229 solve_singularity_handler sing_handler,
230 bool calc_cond =
false,
236 solve_singularity_handler sing_handler,
237 bool calc_cond =
false)
const;
248 float& rcon, solve_singularity_handler sing_handler,
249 bool singular_fallback =
true,
259 solve_singularity_handler sing_handler,
260 bool singular_fallback =
true,
271 solve_singularity_handler sing_handler,
285 solve_singularity_handler sing_handler,
295 solve_singularity_handler sing_handler,
305 solve_singularity_handler sing_handler,
316 solve_singularity_handler sing_handler,
328 solve_singularity_handler sing_handler,
417 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
419 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
FloatComplexMatrix transpose(void) const
Array< FloatComplex > as_matrix(void) const
Return the array as a matrix.
void resize(octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv=FloatComplex(0))
FloatComplexRowVector row_vector_type
FloatComplexRowVector & fill(float val)
bool operator!=(const dim_vector &a, const dim_vector &b)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
FloatComplexMatrix hermitian(void) const
static ComplexMatrix ltsolve(const SparseComplexMatrix &, const ColumnVector &, const ComplexMatrix &)
OCTAVE_API FloatComplexMatrix operator*(const FloatColumnVector &a, const FloatComplexRowVector &b)
OCTAVE_API FloatComplexMatrix linspace(const FloatComplexColumnVector &x1, const FloatComplexColumnVector &x2, octave_idx_type n)
OCTAVE_API FloatComplexMatrix conj(const FloatComplexMatrix &a)
OCTAVE_API FloatComplexMatrix min(const FloatComplex &c, const FloatComplexMatrix &m)
Array< FloatComplex > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
MArray< T > transpose(void) const
FloatComplexRowVector extract_n(octave_idx_type c1, octave_idx_type n) const
#define SM_CMP_OP_DECLS(S, M, API)
OCTAVE_API FloatComplexMatrix Sylvester(const FloatComplexMatrix &, const FloatComplexMatrix &, const FloatComplexMatrix &)
FloatComplexMatrix(const dim_vector &dv, const FloatComplex &val)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
FloatComplexMatrix(const MArray< U > &a)
FloatComplexRowVector extract(octave_idx_type c1, octave_idx_type c2) const
#define SM_BOOL_OP_DECLS(S, M, API)
#define MM_CMP_OP_DECLS(M1, M2, API)
#define MM_BOOL_OP_DECLS(M1, M2, API)
void resize(const dim_vector &dv, const T &rfv)
Array< FloatComplex > column(octave_idx_type k) const
Extract column: A(:,k+1).
#define MARRAY_FORWARD_DEFS(B, R, T)
FloatComplexMatrix(octave_idx_type r, octave_idx_type c)
FloatComplexMatrix(octave_idx_type r, octave_idx_type c, const FloatComplex &val)
MArray< T > hermitian(T(*fcn)(const T &)=0) const
FloatComplexMatrix operator-=(FloatComplexMatrix &x, const FloatComplex &y)
FloatComplexColumnVector column_vector_type
bool operator==(const dim_vector &a, const dim_vector &b)
FloatComplexMatrix(const FloatComplexMatrix &a)
#define MS_CMP_OP_DECLS(M, S, API)
Handles the reference counting for all the derived classes.
FloatComplexMatrix(const Array< U > &a)
FloatComplexMatrix(const dim_vector &dv)
static ComplexMatrix utsolve(const SparseComplexMatrix &, const ColumnVector &, const ComplexMatrix &)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
#define MS_BOOL_OP_DECLS(M, S, API)
std::complex< float > FloatComplex
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type c1
octave_value operator!(const octave_value &a)
FloatComplexRowVector & insert(const FloatRowVector &a, octave_idx_type c)
FloatComplexRowVector append(const FloatRowVector &a) const
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
OCTAVE_API FloatComplexMatrix xgemm(const FloatComplexMatrix &a, const FloatComplexMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
OCTAVE_API FloatComplexMatrix Givens(const FloatComplex &, const FloatComplex &)
FloatComplexMatrix operator+=(FloatComplexMatrix &x, const FloatComplex &y)
OCTAVE_API FloatComplexMatrix max(const FloatComplex &c, const FloatComplexMatrix &m)
Array< FloatComplex > index(const idx_vector &i) const
Indexing without resizing.