23 #if !defined (octave_fMatrix_h)
24 #define octave_fMatrix_h 1
44 typedef void (*solve_singularity_handler) (
float rcon);
86 bool is_symmetric (
void)
const;
141 float& rcon,
int force,
int calc_cond)
const;
144 float& rcon,
int force,
int calc_cond)
const;
150 int calc_cond = 1)
const;
155 int force = 0,
int calc_cond = 1)
const;
168 int calc_cond = 1)
const;
170 float& rcon,
int calc_cond = 1)
const;
172 float rcond (
void)
const;
180 bool calc_cond =
false,
187 bool calc_cond =
false,
194 bool calc_cond =
false)
const;
206 bool singular_fallback =
true,
217 bool singular_fallback =
true,
349 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
351 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
static void swap_bytes(void *ptr, unsigned int i, unsigned int j)
FloatComplexRowVector column_min(void) const
OCTAVE_API FloatMatrix Sylvester(const FloatMatrix &, const FloatMatrix &, const FloatMatrix &)
FloatComplexMatrix solve(MatrixType &typ, const FloatMatrix &b) const
FloatComplexMatrix extract(octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
void resize(octave_idx_type nr, octave_idx_type nc, float rfv=0)
void(* solve_singularity_handler)(float rcon)
FloatMatrix(const dim_vector &dv, float val)
bool operator!=(const dim_vector &a, const dim_vector &b)
FloatMatrix(const FloatMatrix &a)
FloatMatrix(octave_idx_type r, octave_idx_type c, float val)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
static ComplexMatrix ltsolve(const SparseComplexMatrix &, const ColumnVector &, const ComplexMatrix &)
FloatComplexMatrix fsolve(MatrixType &typ, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const
FloatMatrix transpose(void) const
FloatMatrix(octave_idx_type r, octave_idx_type c)
MArray< T > transpose(void) const
FloatComplexMatrix finverse(MatrixType &mattype, octave_idx_type &info, float &rcon, int force, int calc_cond) const
FloatColumnVector column_vector_type
#define SM_CMP_OP_DECLS(S, M, API)
FloatComplexMatrix inverse(void) const
FloatComplexMatrix lssolve(const FloatMatrix &b) const
void read_int(std::istream &is, bool swap_bytes, T &val)
F77_RET_T const double const double double * d
OCTAVE_API FloatMatrix xgemm(const FloatMatrix &a, const FloatMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
FloatComplexMatrix tinverse(MatrixType &mattype, octave_idx_type &info, float &rcon, int force, int calc_cond) const
FloatComplexMatrix cumprod(int dim=-1) const
FloatComplexMatrix diag(octave_idx_type k=0) const
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
FloatComplexMatrix pseudo_inverse(float tol=0.0) const
FloatMatrix(const dim_vector &dv)
OCTAVE_API FloatMatrix Givens(float, float)
FloatComplexColumnVector column(octave_idx_type i) const
FloatComplexMatrix fourier2d(void) const
OCTAVE_API FloatMatrix real(const FloatComplexMatrix &a)
#define SM_BOOL_OP_DECLS(S, M, API)
#define MM_CMP_OP_DECLS(M1, M2, API)
#define MM_BOOL_OP_DECLS(M1, M2, API)
FloatComplexColumnVector row_min(void) const
void resize(const dim_vector &dv, const T &rfv)
FloatComplexMatrix sum(int dim=-1) const
OCTAVE_API FloatMatrix imag(const FloatComplexMatrix &a)
FloatComplexMatrix sumsq(int dim=-1) const
FloatMatrix(const MArray< U > &a)
#define MARRAY_FORWARD_DEFS(B, R, T)
FloatComplexMatrix cumsum(int dim=-1) const
FloatComplexMatrix ifourier(void) const
bool operator==(const dim_vector &a, const dim_vector &b)
FloatComplexRowVector column_max(void) const
#define MS_CMP_OP_DECLS(M, S, API)
Handles the reference counting for all the derived classes.
OCTAVE_API FloatMatrix linspace(const FloatColumnVector &x1, const FloatColumnVector &x2, octave_idx_type n)
FloatComplexMatrix prod(int dim=-1) const
FloatMatrix operator+=(FloatMatrix &x, const float &y)
static ComplexMatrix utsolve(const SparseComplexMatrix &, const ColumnVector &, const ComplexMatrix &)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
FloatRowVector row_vector_type
OCTAVE_API FloatMatrix max(float d, const FloatMatrix &m)
FloatComplexMatrix fourier(void) const
#define MS_BOOL_OP_DECLS(M, S, API)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type c1
FloatComplexColumnVector row_max(void) const
FloatComplexDET determinant(void) const
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
FloatComplexMatrix ifourier2d(void) const
FloatMatrix operator-=(FloatMatrix &x, const float &y)
FloatComplexRowVector row(octave_idx_type i) const
OCTAVE_API FloatMatrix min(float d, const FloatMatrix &m)
OCTAVE_API FloatMatrix operator*(const FloatColumnVector &a, const FloatRowVector &b)
FloatComplexMatrix extract_n(octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
FloatMatrix(const Array< U > &a)
Array< FloatComplex > index(const idx_vector &i) const
Indexing without resizing.