26 #if ! defined (octave_fMatrix_h)
27 #define octave_fMatrix_h 1
29 #include "octave-config.h"
60 typedef void (*solve_singularity_handler) (
float rcon);
106 bool issymmetric (
void)
const;
162 float& rcon,
bool force,
bool calc_cond)
const;
165 float& rcon,
bool force,
bool calc_cond)
const;
171 bool calc_cond =
true)
const;
176 bool force =
false,
bool calc_cond =
true)
const;
189 bool calc_cond =
true)
const;
191 float& rcon,
bool calc_cond =
true)
const;
193 float rcond (
void)
const;
201 bool calc_cond =
false,
208 bool calc_cond =
false,
215 bool calc_cond =
false)
const;
227 bool singular_fallback =
true,
239 bool singular_fallback =
true,
371 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
373 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
424 template <typename T>
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
#define MARRAY_FORWARD_DEFS(B, R, T)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
static void swap_bytes(void *ptr, unsigned int i, unsigned int j)
N Dimensional Array with copy-on-write semantics.
void resize(const dim_vector &dv, const T &rfv)
Size of the specified dimension.
Array< T > index(const idx_vector &i) const
Indexing without resizing.
FloatComplexMatrix sumsq(int dim=-1) const
FloatComplexMatrix pseudo_inverse(float tol=0.0) const
FloatComplexMatrix fourier2d(void) const
FloatComplexMatrix extract(octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
FloatComplexMatrix lssolve(const FloatMatrix &b) const
FloatComplexRowVector row(octave_idx_type i) const
FloatComplexMatrix fourier(void) const
FloatComplexColumnVector column(octave_idx_type i) const
FloatComplexMatrix ifourier2d(void) const
FloatComplexDET determinant(void) const
FloatComplexMatrix cumsum(int dim=-1) const
FloatComplexMatrix diag(octave_idx_type k=0) const
FloatComplexMatrix sum(int dim=-1) const
FloatComplexRowVector column_min(void) const
void(* solve_singularity_handler)(float rcon)
FloatComplexMatrix ifourier(void) const
FloatComplexColumnVector row_max(void) const
FloatComplexMatrix solve(MatrixType &mattype, const FloatMatrix &b) const
FloatComplexMatrix inverse(void) const
FloatComplexRowVector column_max(void) const
FloatComplexColumnVector row_min(void) const
FloatComplexMatrix tinverse(MatrixType &mattype, octave_idx_type &info, float &rcon, bool force, bool calc_cond) const
FloatComplexMatrix cumprod(int dim=-1) const
FloatComplexMatrix prod(int dim=-1) const
FloatComplexMatrix fsolve(MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const
FloatComplexMatrix extract_n(octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
FloatComplexMatrix finverse(MatrixType &mattype, octave_idx_type &info, float &rcon, bool force, bool calc_cond) const
FloatMatrix(octave_idx_type r, octave_idx_type c, float val)
FloatMatrix real_matrix_type
FloatComplex complex_elt_type
FloatMatrix transpose(void) const
void resize(octave_idx_type nr, octave_idx_type nc, float rfv=0)
FloatMatrix(const Array< U > &a)
FloatMatrix hermitian(void) const
FloatMatrix(void)=default
FloatDiagMatrix real_diag_matrix_type
~FloatMatrix(void)=default
FloatComplexDiagMatrix complex_diag_matrix_type
FloatMatrix(const dim_vector &dv)
FloatMatrix(octave_idx_type r, octave_idx_type c)
FloatColumnVector column_vector_type
FloatMatrix(const dim_vector &dv, float val)
FloatMatrix(const MArray< U > &a)
FloatMatrix(const FloatMatrix &a)=default
FloatRowVector row_vector_type
FloatRowVector real_row_vector_type
FloatComplexMatrix complex_matrix_type
FloatColumnVector real_column_vector_type
Template for N-dimensional array classes with like-type math operators.
MArray< T > transpose(void) const
Vector representing the dimensions (size) of an Array.
bool operator!=(const dim_vector &a, const dim_vector &b)
bool operator==(const dim_vector &a, const dim_vector &b)
static M utsolve(const SM &U, const ColumnVector &Q, const M &m)
static M ltsolve(const SM &L, const ColumnVector &Q, const M &m)
OCTAVE_API FloatMatrix Givens(float, float)
void read_int(std::istream &is, bool swap_bytes, T &val)
OCTAVE_API FloatMatrix min(float d, const FloatMatrix &m)
OCTAVE_API FloatMatrix imag(const FloatComplexMatrix &a)
OCTAVE_API FloatMatrix max(float d, const FloatMatrix &m)
FloatMatrix operator-=(FloatMatrix &x, const float &y)
FloatMatrix operator+=(FloatMatrix &x, const float &y)
OCTAVE_API FloatMatrix Sylvester(const FloatMatrix &, const FloatMatrix &, const FloatMatrix &)
OCTAVE_API FloatMatrix xgemm(const FloatMatrix &a, const FloatMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
OCTAVE_API FloatMatrix real(const FloatComplexMatrix &a)
OCTAVE_API FloatMatrix operator*(const FloatColumnVector &a, const FloatRowVector &b)
OCTAVE_API FloatMatrix linspace(const FloatColumnVector &x1, const FloatColumnVector &x2, octave_idx_type n)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
#define SM_BOOL_OP_DECLS(S, M, API)
#define MS_CMP_OP_DECLS(M, S, API)
#define SM_CMP_OP_DECLS(S, M, API)
#define MS_BOOL_OP_DECLS(M, S, API)
#define MM_CMP_OP_DECLS(M1, M2, API)
#define MM_BOOL_OP_DECLS(M1, M2, API)
std::complex< float > FloatComplex