26#if ! defined (octave_dSparse_h)
27#define octave_dSparse_h 1
29#include "octave-config.h"
140 const bool force =
false,
const bool calccond =
true)
const;
144 const bool force =
false,
const bool calccond =
true)
const;
153 bool force =
false,
bool calc_cond =
true)
const;
158 bool calc_cond =
true)
const;
165 bool calc_cond =
false)
const;
170 bool calc_cond =
false)
const;
175 bool calc_cond =
false)
const;
180 bool calc_cond =
false)
const;
186 bool calc_cond =
false)
const;
191 bool calc_cond =
false)
const;
196 bool calc_cond =
false)
const;
201 bool calc_cond =
false)
const;
207 bool calc_cond =
false)
const;
212 bool calc_cond =
false)
const;
217 bool calc_cond =
false)
const;
222 bool calc_cond =
false)
const;
228 bool calc_cond =
false)
const;
233 bool calc_cond =
false)
const;
238 bool calc_cond =
false)
const;
243 bool calc_cond =
false)
const;
249 bool calc_cond =
false)
const;
254 bool calc_cond =
false)
const;
259 bool calc_cond =
false)
const;
264 bool calc_cond =
false)
const;
270 bool calc_cond =
false)
const;
275 bool calc_cond =
false)
const;
280 bool calc_cond =
false)
const;
285 bool calc_cond =
false)
const;
290 bool calc_cond =
false)
const;
299 double& rcond)
const;
303 bool singular_fallback =
true)
const;
311 double& rcond)
const;
315 bool singular_fallback =
true)
const;
322 double& rcond)
const;
326 bool singular_fallback =
true)
const;
340 bool singular_fallabck =
true)
const;
347 double& rcond)
const;
397 double& rcond)
const;
416 double& rcond)
const;
#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
bool any_element_not_one_or_zero() const
SparseMatrix reshape(const dim_vector &new_dims) const
SparseMatrix sum(int dim=-1) const
SparseBoolMatrix any(int dim=-1) const
bool any_element_is_inf_or_nan() 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 transpose() const
SparseMatrix(const Sparse< double > &a)
SparseMatrix inverse() const
bool operator!=(const SparseMatrix &a) const
RowVector row(octave_idx_type i) const
ComplexMatrix solve(const ComplexMatrix &b) const
SparseMatrix cumprod(int dim=-1) const
friend SparseMatrix real(const SparseComplexMatrix &a)
SparseMatrix diag(octave_idx_type k=0) const
SparseMatrix prod(int dim=-1) const
SparseMatrix(const SparseMatrix &a, const dim_vector &dv)
bool all_elements_are_zero() const
SparseBoolMatrix all(int dim=-1) const
SparseMatrix(const SparseMatrix &a)
SparseMatrix min(int dim=-1) const
SparseMatrix permute(const Array< octave_idx_type > &vec, bool inv=false) const
SparseMatrix cumsum(int dim=-1) 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)
void(* solve_singularity_handler)(double rcond)
SparseMatrix ipermute(const Array< octave_idx_type > &vec) const
SparseBoolMatrix operator!() const
SparseMatrix sumsq(int dim=-1) 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)
SparseMatrix max(int dim=-1) const
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)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
const octave_base_value const Array< octave_idx_type > & ra_idx