26 #if ! defined (octave_dMatrix_h)
27 #define octave_dMatrix_h 1
29 #include "octave-config.h"
60 typedef void (*solve_singularity_handler) (
double rcon);
79 :
NDArray (dv.redim (2), val) { }
165 bool force,
bool calc_cond)
const;
168 bool force,
bool calc_cond)
const;
175 bool calc_cond =
true)
const;
181 bool force =
false,
bool calc_cond =
true)
const;
195 bool calc_cond =
true)
const;
198 double& rcon,
bool calc_cond =
true)
const;
207 bool calc_cond =
false,
213 bool calc_cond =
false,
219 bool calc_cond =
false)
const;
232 bool singular_fallback =
true,
247 bool singular_fallback =
true,
446 template <typename T>
template std::ostream & operator<<(std::ostream &, const Array< bool > &)
#define MARRAY_FORWARD_DEFS(B, R, T)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
N Dimensional Array with copy-on-write semantics.
Array< T, Alloc > index(const octave::idx_vector &i) const
Indexing without resizing.
void resize(const dim_vector &dv, const T &rfv)
ComplexRowVector column_max() const
ComplexMatrix lssolve(const Matrix &b) const
ComplexMatrix ifourier2d() const
ComplexColumnVector row_max() const
ComplexMatrix extract(octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
ComplexColumnVector row_min() const
ComplexMatrix fourier() const
boolMatrix all(int dim=-1) const
ComplexMatrix diag(octave_idx_type k=0) const
ComplexMatrix pseudo_inverse(double tol=0.0) const
ComplexMatrix fourier2d() const
ComplexRowVector row(octave_idx_type i) const
ComplexMatrix solve(MatrixType &mattype, const Matrix &b) const
ComplexMatrix inverse() const
ComplexMatrix sumsq(int dim=-1) const
void(* solve_singularity_handler)(double rcon)
ComplexMatrix extract_n(octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
ComplexMatrix cumprod(int dim=-1) const
ComplexMatrix prod(int dim=-1) const
ComplexDET determinant() const
ComplexMatrix cumsum(int dim=-1) const
ComplexMatrix ifourier() const
boolMatrix any(int dim=-1) const
ComplexRowVector column_min() const
ComplexMatrix sum(int dim=-1) const
ComplexColumnVector column(octave_idx_type i) const
Template for N-dimensional array classes with like-type math operators.
MArray< T > transpose() const
Matrix(const Array< U > &a)
DiagMatrix real_diag_matrix_type
RowVector row_vector_type
ComplexDiagMatrix complex_diag_matrix_type
ComplexMatrix complex_matrix_type
RowVector real_row_vector_type
Matrix(octave_idx_type r, octave_idx_type c)
Matrix(const Matrix &a)=default
Matrix(octave_idx_type r, octave_idx_type c, double val)
Matrix(const dim_vector &dv)
ColumnVector real_column_vector_type
ColumnVector column_vector_type
void resize(octave_idx_type nr, octave_idx_type nc, double rfv=0)
Matrix(const MArray< U > &a)
Matrix(const dim_vector &dv, double val)
Vector representing the dimensions (size) of an Array.
Matrix imag(const ComplexMatrix &a)
Matrix operator*(const ColumnVector &a, const RowVector &b)
Matrix operator+=(Matrix &x, const double &y)
void read_int(std::istream &is, bool swap_bytes, T &val)
Matrix Givens(double, double)
Matrix max(double d, const Matrix &m)
Matrix xgemm(const Matrix &a, const Matrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
Matrix linspace(const ColumnVector &x1, const ColumnVector &x2, octave_idx_type n)
Matrix Sylvester(const Matrix &, const Matrix &, const Matrix &)
Matrix min(double d, const Matrix &m)
Matrix operator-=(Matrix &x, const double &y)
Matrix real(const ComplexMatrix &a)
bool operator!=(const dim_vector &a, const dim_vector &b)
bool operator==(const dim_vector &a, const dim_vector &b)
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< double > Complex