26#if ! defined (octave_ov_re_sparse_h)
27#define octave_ov_re_sparse_h 1
29#include "octave-config.h"
51extern template class OCTINTERP_EXTERN_TEMPLATE_API
95 octave::idx_vector index_vector (
bool require_integers =
false)
const;
107 double double_value (
bool =
false)
const;
110 {
return double_value (frc_str_conv); }
112 Matrix matrix_value (
bool =
false)
const;
114 Complex complex_value (
bool =
false)
const;
116 boolNDArray bool_array_value (
bool warn =
false)
const;
134 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
138 bool save_binary (std::ostream& os,
bool save_as_floats);
140 bool load_binary (std::istream& is,
bool swap,
141 octave::mach_info::float_format fmt);
143 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
147 mxArray * as_mxArray (
bool interleaved)
const;
octave_sparse_matrix(const Sparse< double > &m)
bool is_real_matrix() const
octave_sparse_matrix(const SparseMatrix &m)
octave_base_value * empty_clone() const
octave_sparse_matrix(const Matrix &m)
octave_sparse_matrix(const Sparse< double > &m, const MatrixType &t)
bool is_double_type() const
octave_sparse_matrix(const MSparse< double > &m)
builtin_type_t builtin_type() const
octave_sparse_matrix(const NDArray &m)
~octave_sparse_matrix()=default
octave_sparse_matrix(const octave_sparse_matrix &m)
SparseMatrix sparse_matrix_value(bool=false) const
octave_sparse_matrix(const SparseMatrix &m, const MatrixType &t)
octave_base_value * clone() const
double scalar_value(bool frc_str_conv=false) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_sparse_matrix(const MSparse< double > &m, const MatrixType &t)
Array< octave_value > array_value() const
std::complex< double > Complex
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA_API(API)