26#if ! defined (octave_dMatrix_h)
27#define octave_dMatrix_h 1
29#include "octave-config.h"
58 typedef void (*solve_singularity_handler) (
double rcon);
77 :
NDArray (dv.redim (2), val) { }
163 bool force,
bool calc_cond)
const;
166 bool force,
bool calc_cond)
const;
173 bool force =
false,
bool calc_cond =
true)
const;
179 bool force =
false,
bool calc_cond =
true)
const;
193 bool calc_cond =
true)
const;
196 double& rcon,
bool calc_cond =
true)
const;
204 double& rcon, solve_singularity_handler sing_handler,
205 bool calc_cond =
false,
210 double& rcon, solve_singularity_handler sing_handler,
211 bool calc_cond =
false,
216 double& rcon, solve_singularity_handler sing_handler,
217 bool calc_cond =
false)
const;
229 double& rcon, solve_singularity_handler sing_handler,
230 bool singular_fallback =
true,
244 solve_singularity_handler sing_handler,
245 bool singular_fallback =
true,
258 double& rcon, solve_singularity_handler sing_handler,
272 solve_singularity_handler sing_handler,
282 solve_singularity_handler sing_handler,
293 solve_singularity_handler sing_handler,
303 solve_singularity_handler sing_handler,
314 solve_singularity_handler sing_handler,
template std::ostream & operator<<(std::ostream &, const Array< bool > &)
ComplexColumnVector operator+=(ComplexColumnVector &x, const Complex &y)
ComplexColumnVector operator-=(ComplexColumnVector &x, const Complex &y)
#define MARRAY_FORWARD_DEFS(B, R, T)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
N Dimensional Array with copy-on-write semantics.
void resize(const dim_vector &dv, const T &rfv)
Template for N-dimensional array classes with like-type math operators.
MArray< T > transpose() const
Template for two dimensional diagonal array with math operators.
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)
NDArray & operator=(const NDArray &a)
Vector representing the dimensions (size) of an Array.
ColumnVector real(const ComplexColumnVector &a)
ColumnVector imag(const ComplexColumnVector &a)
Matrix imag(const ComplexMatrix &a)
Matrix operator*(const ColumnVector &a, const RowVector &b)
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 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
template int8_t abs(int8_t)