26#if ! defined (octave_dSparse_h)
27#define octave_dSparse_h 1
29#include "octave-config.h"
105 max (
int dim = -1,
bool nanflag =
true,
bool realabs =
true)
const;
108 bool nanflag =
true,
bool realabs =
true)
const;
110 min (
int dim = -1,
bool nanflag =
true,
bool realabs =
true)
const;
113 bool nanflag =
true,
bool realabs =
true)
const;
146 const bool force =
false,
const bool calccond =
true)
const;
150 const bool force =
false,
const bool calccond =
true)
const;
159 bool force =
false,
bool calc_cond =
true)
const;
164 bool calc_cond =
true)
const;
171 bool calc_cond =
false)
const;
176 bool calc_cond =
false)
const;
181 bool calc_cond =
false)
const;
186 bool calc_cond =
false)
const;
192 bool calc_cond =
false)
const;
197 bool calc_cond =
false)
const;
202 bool calc_cond =
false)
const;
207 bool calc_cond =
false)
const;
213 bool calc_cond =
false)
const;
218 bool calc_cond =
false)
const;
223 bool calc_cond =
false)
const;
228 bool calc_cond =
false)
const;
234 bool calc_cond =
false)
const;
239 bool calc_cond =
false)
const;
244 bool calc_cond =
false)
const;
249 bool calc_cond =
false)
const;
255 bool calc_cond =
false)
const;
260 bool calc_cond =
false)
const;
265 bool calc_cond =
false)
const;
270 bool calc_cond =
false)
const;
276 bool calc_cond =
false)
const;
281 bool calc_cond =
false)
const;
286 bool calc_cond =
false)
const;
291 bool calc_cond =
false)
const;
296 bool calc_cond =
false)
const;
305 double& rcond)
const;
309 bool singular_fallback =
true)
const;
317 double& rcond)
const;
321 bool singular_fallback =
true)
const;
328 double& rcond)
const;
332 bool singular_fallback =
true)
const;
346 bool singular_fallabck =
true)
const;
353 double& rcond)
const;
403 double& rcond)
const;
422 double& rcond)
const;
514 const bool nanflag,
const bool realabs);
519 const bool nanflag,
const bool realabs);
526 const bool nanflag,
const bool realabs);
532 const bool nanflag,
const bool realabs);
537 const bool nanflag,
const bool realabs);
544 const bool nanflag,
const bool realabs);
#define SPARSE_FORWARD_DEFS(B, R, F, T)
#define SPARSE_SMSM_CMP_OP_DECLS(M1, M2, API)
#define SPARSE_SMSM_BOOL_OP_DECLS(M1, M2, API)
#define SPARSE_SSM_CMP_OP_DECLS(S, M, API)
#define SPARSE_SMS_BOOL_OP_DECLS(M, S, API)
#define SPARSE_SSM_BOOL_OP_DECLS(S, M, API)
#define SPARSE_SMS_CMP_OP_DECLS(M, S, API)
N Dimensional Array with copy-on-write semantics.
MSparse< T > transpose() const
MSparse< T > & operator=(const MSparse< T > &a)
SparseMatrix & insert(const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
SparseMatrix squeeze() const
SparseMatrix min(int dim=-1, bool nanflag=true, bool realabs=true) const
bool any_element_not_one_or_zero() const
SparseMatrix reshape(const dim_vector &new_dims) const
SparseBoolMatrix any(int dim=-1) const
bool any_element_is_inf_or_nan() const
SparseMatrix cumprod(int dim=-1, bool nanflag=false) const
bool all_integers(double &max_val, double &min_val) const
bool any_element_is_nan() const
bool too_large_for_float() const
bool operator==(const SparseMatrix &a) const
SparseMatrix max(int dim=-1, bool nanflag=true, bool realabs=true) const
SparseMatrix transpose() const
SparseMatrix(const Sparse< double > &a)
SparseMatrix prod(int dim=-1, bool nanflag=false) const
SparseMatrix inverse() const
bool operator!=(const SparseMatrix &a) const
RowVector row(octave_idx_type i) const
SparseMatrix sum(int dim=-1, bool nanflag=false) const
ComplexMatrix solve(const ComplexMatrix &b) const
friend SparseMatrix real(const SparseComplexMatrix &a)
SparseMatrix diag(octave_idx_type k=0) const
SparseMatrix(const SparseMatrix &a, const dim_vector &dv)
bool all_elements_are_zero() const
SparseBoolMatrix all(int dim=-1) const
SparseMatrix xsum(int dim=-1, bool nanflag=false) const
SparseMatrix(const SparseMatrix &a)
SparseMatrix sumsq(int dim=-1, bool nanflag=false) const
SparseMatrix permute(const Array< octave_idx_type > &vec, bool inv=false) const
SparseMatrix(octave_idx_type r, octave_idx_type c)
ColumnVector column(octave_idx_type i) const
SparseMatrix concat(const SparseMatrix &rb, const Array< octave_idx_type > &ra_idx)
SparseMatrix(const MSparse< double > &a)
SparseMatrix cumsum(int dim=-1, bool nanflag=false) const
void(* solve_singularity_handler)(double rcond)
SparseMatrix ipermute(const Array< octave_idx_type > &vec) const
SparseBoolMatrix operator!() const
SparseMatrix(const Array< double > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
SparseMatrix hermitian() const
SparseMatrix(octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
SparseMatrix(const NDArray &a)
bool all_elements_are_int_or_inf_or_nan() const
Matrix solve(MatrixType &typ, const Matrix &b) const
SparseMatrix(const PermMatrix &a)
SparseMatrix(const Matrix &a)
friend SparseMatrix imag(const SparseComplexMatrix &a)
friend std::ostream & operator<<(std::ostream &os, const SparseMatrix &a)
SparseMatrix(const dim_vector &dv, octave_idx_type nz=0)
SparseMatrix & operator=(const SparseMatrix &a)
bool any_element_is_negative(bool=false) const
Matrix matrix_value() const
friend std::istream & operator>>(std::istream &is, SparseMatrix &a)
SparseMatrix(octave_idx_type r, octave_idx_type c, double val)
Sparse< T, Alloc > index(const octave::idx_vector &i, bool resize_ok=false) const
Vector representing the dimensions (size) of an Array.
SparseMatrix operator+(const DiagMatrix &, const SparseMatrix &)
Matrix trans_mul(const SparseMatrix &a, const Matrix &b)
SparseMatrix operator*(const SparseMatrix &a, const SparseMatrix &b)
SparseMatrix real(const SparseComplexMatrix &a)
SparseMatrix min(double d, const SparseMatrix &m)
SparseMatrix operator-(const DiagMatrix &, const SparseMatrix &)
SparseMatrix max(double d, const SparseMatrix &m)
Matrix mul_trans(const Matrix &a, const SparseMatrix &b)
SparseMatrix imag(const SparseComplexMatrix &a)
const octave_base_value const Array< octave_idx_type > & ra_idx
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d