26#if ! defined (octave_CSparse_h)
27#define octave_CSparse_h 1
29#include "octave-config.h"
51 typedef void (*solve_singularity_handler) (
double rcond);
114 max (
int dim = -1,
bool nanflag =
true,
bool realabs =
false)
const;
117 bool nanflag =
true,
bool realabs =
false)
const;
119 min (
int dim = -1,
bool nanflag =
true,
bool realabs =
false)
const;
122 bool nanflag =
true,
bool realabs =
false)
const;
154 double& rcond,
const bool force =
false,
155 const bool calccond =
true)
const;
158 double& rcond,
const bool force =
false,
159 const bool calccond =
true)
const;
168 bool force =
false,
bool calc_cond =
true)
const;
174 bool calc_cond =
true)
const;
180 solve_singularity_handler sing_handler,
181 bool calc_cond =
false)
const;
185 solve_singularity_handler sing_handler,
186 bool calc_cond =
false)
const;
190 solve_singularity_handler sing_handler,
191 bool calc_cond =
false)
const;
195 solve_singularity_handler sing_handler,
196 bool calc_cond =
false)
const;
201 solve_singularity_handler sing_handler,
202 bool calc_cond =
false)
const;
206 solve_singularity_handler sing_handler,
207 bool calc_cond =
false)
const;
211 solve_singularity_handler sing_handler,
212 bool calc_cond =
false)
const;
216 solve_singularity_handler sing_handler,
217 bool calc_cond =
false)
const;
222 solve_singularity_handler sing_handler,
223 bool calc_cond =
false)
const;
227 solve_singularity_handler sing_handler,
228 bool calc_cond =
false)
const;
232 solve_singularity_handler sing_handler,
233 bool calc_cond =
false)
const;
237 solve_singularity_handler sing_handler,
238 bool calc_cond =
false)
const;
243 solve_singularity_handler sing_handler,
244 bool calc_cond =
false)
const;
248 solve_singularity_handler sing_handler,
249 bool calc_cond =
false)
const;
253 solve_singularity_handler sing_handler,
254 bool calc_cond =
false)
const;
258 solve_singularity_handler sing_handler,
259 bool calc_cond =
false)
const;
264 solve_singularity_handler sing_handler,
265 bool calc_cond =
false)
const;
269 solve_singularity_handler sing_handler,
270 bool calc_cond =
false)
const;
274 solve_singularity_handler sing_handler,
275 bool calc_cond =
false)
const;
279 solve_singularity_handler sing_handler,
280 bool calc_cond =
false)
const;
284 Matrix& Info, solve_singularity_handler sing_handler,
285 bool calc_cond)
const;
289 solve_singularity_handler sing_handler,
290 bool calc_cond =
false)
const;
294 solve_singularity_handler sing_handler,
295 bool calc_cond =
false)
const;
299 solve_singularity_handler sing_handler,
300 bool calc_cond =
false)
const;
304 solve_singularity_handler sing_handler,
305 bool calc_cond =
false)
const;
314 double& rcond)
const;
317 double& rcond, solve_singularity_handler sing_handler,
318 bool singular_fallback =
true)
const;
331 solve_singularity_handler sing_handler,
332 bool singular_fallback =
true)
const;
341 double& rcond)
const;
344 double& rcond, solve_singularity_handler sing_handler,
345 bool singular_fallback =
true)
const;
358 solve_singularity_handler sing_handler,
359 bool singular_fallback =
true)
const;
372 solve_singularity_handler sing_handler)
const;
385 solve_singularity_handler sing_handler)
const;
395 solve_singularity_handler sing_handler)
const;
404 solve_singularity_handler sing_handler)
const;
413 solve_singularity_handler sing_handler)
const;
420 double& rcond)
const;
423 solve_singularity_handler sing_handler)
const;
432 solve_singularity_handler sing_handler)
const;
439 double& rcond)
const;
442 solve_singularity_handler sing_handler)
const;
455 OCTAVE_API bool any_element_is_inf_or_nan ()
const;
456 OCTAVE_API bool all_elements_are_real ()
const;
457 OCTAVE_API bool all_integers (
double& max_val,
double& min_val)
const;
578 const bool nanflag,
const bool realabs);
601 const bool nanflag,
const bool realabs);
template std::ostream & operator<<(std::ostream &, const Array< bool > &)
ComplexColumnVector conj(const ComplexColumnVector &a)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
SparseComplexMatrix max(const Complex &c, const SparseComplexMatrix &m)
ComplexMatrix herm_mul(const SparseComplexMatrix &, const ComplexMatrix &)
SparseComplexMatrix operator+(const ComplexDiagMatrix &, const SparseMatrix &)
SparseComplexMatrix operator*(const SparseMatrix &, const SparseComplexMatrix &)
ComplexMatrix mul_herm(const ComplexMatrix &, const SparseComplexMatrix &)
ComplexMatrix mul_trans(const ComplexMatrix &, const SparseComplexMatrix &)
SparseComplexMatrix min(const Complex &c, const SparseComplexMatrix &m)
ComplexMatrix trans_mul(const SparseComplexMatrix &, const ComplexMatrix &)
SparseComplexMatrix operator-(const ComplexDiagMatrix &, const SparseMatrix &)
#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)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
charNDArray max(char d, const charNDArray &m)
charNDArray min(char d, const charNDArray &m)
N Dimensional Array with copy-on-write semantics.
MSparse< T > transpose() const
MSparse< T > & operator=(const MSparse< T > &a)
SparseComplexMatrix(const ComplexNDArray &a)
SparseComplexMatrix(const ComplexMatrix &a)
SparseComplexMatrix(const Sparse< Complex > &a)
SparseComplexMatrix(octave_idx_type r, octave_idx_type c, double val)
SparseComplexMatrix(octave_idx_type r, octave_idx_type c)
SparseComplexMatrix(const SparseComplexMatrix &a)
SparseComplexMatrix(const dim_vector &dv, octave_idx_type nz=0)
SparseComplexMatrix(const MSparse< Complex > &a)
ComplexMatrix solve(const ComplexMatrix &b) const
ComplexMatrix dense_matrix_type
SparseComplexMatrix(octave_idx_type r, octave_idx_type c, Complex val)
~SparseComplexMatrix()=default
SparseComplexMatrix(octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
SparseComplexMatrix transpose() const
SparseComplexMatrix(const SparseComplexMatrix &a, const dim_vector &dv)
SparseComplexMatrix(const Array< Complex > &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)
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)
bool too_large_for_float(double x)
std::complex< double > Complex
const octave_base_value const Array< octave_idx_type > & ra_idx
octave_value operator!(const octave_value &a)
template int8_t abs(int8_t)