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);
165 float& rcon,
bool force,
bool calc_cond)
const;
168 float& rcon,
bool force,
bool calc_cond)
const;
175 bool calc_cond =
true)
const;
182 bool force =
false,
bool calc_cond =
true)
const;
196 bool calc_cond =
true)
const;
199 bool calc_cond =
true)
const;
209 bool calc_cond =
false,
216 bool calc_cond =
false,
223 bool calc_cond =
false)
const;
238 bool singular_fallback =
true,
450 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.
OCTARRAY_API Array< T, Alloc > index(const octave::idx_vector &i) const
Indexing without resizing.
OCTARRAY_API void resize(const dim_vector &dv, const T &rfv)
OCTAVE_API FloatComplexMatrix sumsq(int dim=-1) const
OCTAVE_API FloatComplexMatrix pseudo_inverse(float tol=0.0) const
OCTAVE_API FloatComplexMatrix fourier2d(void) const
OCTAVE_API FloatComplexMatrix extract(octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
OCTAVE_API FloatComplexMatrix lssolve(const FloatMatrix &b) const
OCTAVE_API FloatComplexRowVector row(octave_idx_type i) const
OCTAVE_API FloatComplexMatrix fourier(void) const
OCTAVE_API FloatComplexColumnVector column(octave_idx_type i) const
OCTAVE_API FloatComplexMatrix ifourier2d(void) const
OCTAVE_API FloatComplexDET determinant(void) const
OCTAVE_API FloatComplexMatrix cumsum(int dim=-1) const
OCTAVE_API FloatComplexMatrix diag(octave_idx_type k=0) const
OCTAVE_API FloatComplexMatrix sum(int dim=-1) const
OCTAVE_API FloatComplexRowVector column_min(void) const
void(* solve_singularity_handler)(float rcon)
OCTAVE_API FloatComplexMatrix ifourier(void) const
OCTAVE_API FloatComplexColumnVector row_max(void) const
OCTAVE_API FloatComplexMatrix solve(MatrixType &mattype, const FloatMatrix &b) const
OCTAVE_API FloatComplexMatrix inverse(void) const
OCTAVE_API FloatComplexRowVector column_max(void) const
OCTAVE_API FloatComplexColumnVector row_min(void) const
FloatComplexMatrix tinverse(MatrixType &mattype, octave_idx_type &info, float &rcon, bool force, bool calc_cond) const
OCTAVE_API FloatComplexMatrix cumprod(int dim=-1) const
OCTAVE_API float rcond(void) const
OCTAVE_API 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
OCTAVE_API 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
class OCTAVE_API FloatMatrix
#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