106 if (idx1.
is_colon ()) right =
false;
183 os.write (reinterpret_cast<char *> (&r), 4);
184 os.write (reinterpret_cast<char *> (&c), 4);
192 warning (
"save: some values too large to save as floats --");
193 warning (
"save: saving as doubles instead");
200 double max_val, min_val;
205 const double *mtmp = m.
data ();
217 if (! (is.read (reinterpret_cast<char *> (&r), 4)
218 && is.read (reinterpret_cast<char *> (&c), 4)
219 && is.read (reinterpret_cast<char *> (&tmp), 1)))
230 read_doubles (is, re, static_cast<save_type> (tmp), len, swap, fmt);
octave_value to_dense(void) const
FloatDiagMatrix float_diag_matrix_value(bool=false) const
octave_value do_index_op(const octave_value_list &idx, bool resize_ok=false)
octave_refcount< octave_idx_type > count
const T * fortran_vec(void) const
octave_idx_type numel(void) const
Number of elements in the array.
static octave_base_value * default_numeric_conversion_function(const octave_base_value &a)
octave_idx_type length(void) const
save_type get_save_type(double, double)
static octave_base_value * default_numeric_demotion_function(const octave_base_value &a)
octave_idx_type rows(void) const
octave_value map(octave_base_value::unary_mapper_t umap) const
void write_doubles(std::ostream &os, const double *data, save_type type, octave_idx_type len)
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
octave_value map(unary_mapper_t umap) const
ColumnVector extract_diag(octave_idx_type k=0) const
ComplexDiagMatrix complex_diag_matrix_value(bool=false) const
type_conv_info numeric_demotion_function(void) const
bool all_integers(double &max_val, double &min_val) const
void swap_bytes< 4 >(void *ptr)
static int static_type_id(void)
octave_idx_type nelem(void) const
bool is_real_scalar(void) const
Array< U > map(F fcn) const
Apply function fcn to each element of the Array.
static int static_type_id(void)
const T * data(void) const
Complex rc_sqrt(double x)
void read_doubles(std::istream &is, double *data, save_type type, octave_idx_type len, bool swap, oct_mach_info::float_format fmt)
bool is_permutation(octave_idx_type n) const
void warning(const char *fmt,...)
octave_idx_type cols(void) const
bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
bool is_multiple_of_identity(T val) const
bool save_binary(std::ostream &os, bool &save_as_floats)
DiagMatrix diag_matrix_value(bool=false) const
bool chk_valid_scalar(const octave_value &, double &) const
type_conv_info numeric_conversion_function(void) const
octave_idx_type columns(void) const
bool is_undefined(void) const
DiagMatrix abs(void) const
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool=false) const
std::complex< double > Complex
double double_value(bool frc_str_conv=false) const
octave_idx_type length(void) const
octave_base_value * try_narrowing_conversion(void)
bool too_large_for_float(void) const
bool is_colon(void) const
F77_RET_T const double * x