26 #if ! defined (octave_CSparse_h)
27 #define octave_CSparse_h 1
29 #include "octave-config.h"
53 typedef void (*solve_singularity_handler) (
double rcond);
152 double& rcond,
const bool force =
false,
153 const bool calccond =
true)
const;
156 double& rcond,
const bool force =
false,
157 const bool calccond =
true)
const;
166 bool force =
false,
bool calc_cond =
true)
const;
172 bool calc_cond =
true)
const;
178 solve_singularity_handler sing_handler,
179 bool calc_cond =
false)
const;
183 solve_singularity_handler sing_handler,
184 bool calc_cond =
false)
const;
188 solve_singularity_handler sing_handler,
189 bool calc_cond =
false)
const;
193 solve_singularity_handler sing_handler,
194 bool calc_cond =
false)
const;
199 solve_singularity_handler sing_handler,
200 bool calc_cond =
false)
const;
204 solve_singularity_handler sing_handler,
205 bool calc_cond =
false)
const;
209 solve_singularity_handler sing_handler,
210 bool calc_cond =
false)
const;
214 solve_singularity_handler sing_handler,
215 bool calc_cond =
false)
const;
220 solve_singularity_handler sing_handler,
221 bool calc_cond =
false)
const;
225 solve_singularity_handler sing_handler,
226 bool calc_cond =
false)
const;
230 solve_singularity_handler sing_handler,
231 bool calc_cond =
false)
const;
235 solve_singularity_handler sing_handler,
236 bool calc_cond =
false)
const;
241 solve_singularity_handler sing_handler,
242 bool calc_cond =
false)
const;
246 solve_singularity_handler sing_handler,
247 bool calc_cond =
false)
const;
251 solve_singularity_handler sing_handler,
252 bool calc_cond =
false)
const;
256 solve_singularity_handler sing_handler,
257 bool calc_cond =
false)
const;
262 solve_singularity_handler sing_handler,
263 bool calc_cond =
false)
const;
267 solve_singularity_handler sing_handler,
268 bool calc_cond =
false)
const;
272 solve_singularity_handler sing_handler,
273 bool calc_cond =
false)
const;
277 solve_singularity_handler sing_handler,
278 bool calc_cond =
false)
const;
282 Matrix& Info, solve_singularity_handler sing_handler,
283 bool calc_cond)
const;
287 solve_singularity_handler sing_handler,
288 bool calc_cond =
false)
const;
292 solve_singularity_handler sing_handler,
293 bool calc_cond =
false)
const;
297 solve_singularity_handler sing_handler,
298 bool calc_cond =
false)
const;
302 solve_singularity_handler sing_handler,
303 bool calc_cond =
false)
const;
312 double& rcond)
const;
315 double& rcond, solve_singularity_handler sing_handler,
316 bool singular_fallback =
true)
const;
329 solve_singularity_handler sing_handler,
330 bool singular_fallback =
true)
const;
339 double& rcond)
const;
342 double& rcond, solve_singularity_handler sing_handler,
343 bool singular_fallback =
true)
const;
356 solve_singularity_handler sing_handler,
357 bool singular_fallback =
true)
const;
370 solve_singularity_handler sing_handler)
const;
383 solve_singularity_handler sing_handler)
const;
393 solve_singularity_handler sing_handler)
const;
402 solve_singularity_handler sing_handler)
const;
411 solve_singularity_handler sing_handler)
const;
418 double& rcond)
const;
421 solve_singularity_handler sing_handler)
const;
430 solve_singularity_handler sing_handler)
const;
437 double& rcond)
const;
440 solve_singularity_handler sing_handler)
const;
453 OCTAVE_API bool any_element_is_inf_or_nan ()
const;
454 OCTAVE_API bool all_elements_are_real ()
const;
455 OCTAVE_API bool all_integers (
double& max_val,
double& min_val)
const;
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)
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)
octave::idx_vector idx_vector
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)