39 "float diagonal matrix",
"single");
123 os.write (reinterpret_cast<char *> (&r), 4);
124 os.write (reinterpret_cast<char *> (&c), 4);
130 float max_val, min_val;
135 const float *mtmp = m.
data ();
147 if (! (is.read (reinterpret_cast<char *> (&r), 4)
148 && is.read (reinterpret_cast<char *> (&c), 4)
149 && is.read (reinterpret_cast<char *> (&tmp), 1)))
160 read_floats (is, re, static_cast<save_type> (tmp), len, swap, fmt);
type_conv_info numeric_conversion_function(void) const
void write_floats(std::ostream &os, const float *data, save_type type, octave_idx_type len)
bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
octave_value to_dense(void) const
const T * fortran_vec(void) const
FloatDiagMatrix float_diag_matrix_value(bool=false) const
octave_idx_type numel(void) const
Number of elements in the array.
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool=false) const
save_type get_save_type(double, double)
FloatDiagMatrix abs(void) const
float float_value(bool frc_str_conv=false) const
octave_idx_type rows(void) const
octave_value map(octave_base_value::unary_mapper_t umap) const
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
ComplexDiagMatrix complex_diag_matrix_value(bool=false) const
void swap_bytes< 4 >(void *ptr)
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.
bool chk_valid_scalar(const octave_value &, float &) const
octave_value map(unary_mapper_t umap) const
const T * data(void) const
Complex rc_sqrt(double x)
static octave_base_value * default_numeric_conversion_function(const octave_base_value &a)
FloatColumnVector extract_diag(octave_idx_type k=0) const
DiagMatrix diag_matrix_value(bool=false) const
octave_idx_type cols(void) const
bool save_binary(std::ostream &os, bool &save_as_floats)
octave_idx_type columns(void) const
bool all_integers(float &max_val, float &min_val) const
static int static_type_id(void)
std::complex< float > FloatComplex
octave_base_value * try_narrowing_conversion(void)
void read_floats(std::istream &is, float *data, save_type type, octave_idx_type len, bool swap, oct_mach_info::float_format fmt)
octave_idx_type length(void) const
F77_RET_T const double * x