40 "float complex diagonal matrix",
"single");
85 if (! force_conversion)
99 if (! force_conversion)
154 os.write (reinterpret_cast<char *> (&r), 4);
155 os.write (reinterpret_cast<char *> (&c), 4);
161 float max_val, min_val;
178 if (! (is.read (reinterpret_cast<char *> (&r), 4)
179 && is.read (reinterpret_cast<char *> (&c), 4)
180 && is.read (reinterpret_cast<char *> (&tmp), 1)))
192 static_cast<save_type> (tmp), 2 * len, swap, fmt);
void gripe_implicit_conversion(const char *id, const char *from, const char *to)
void write_floats(std::ostream &os, const float *data, save_type type, octave_idx_type len)
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.
DiagMatrix diag_matrix_value(bool=false) const
octave_value map(unary_mapper_t umap) const
save_type get_save_type(double, double)
OCTAVE_EMPTY_CPP_ARG std::string type_name(void) const
bool is_complex_scalar(void) const
octave_idx_type rows(void) const
octave_value map(octave_base_value::unary_mapper_t umap) const
static octave_base_value * default_numeric_conversion_function(const octave_base_value &a)
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
bool all_integers(float &max_val, float &min_val) const
ComplexDiagMatrix complex_diag_matrix_value(bool=false) const
type_conv_info numeric_conversion_function(void) const
bool chk_valid_scalar(const octave_value &, FloatComplex &) const
ComplexColumnVector conj(const ComplexColumnVector &a)
virtual octave_base_value * try_narrowing_conversion(void)
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool=false) const
bool all_elements_are_real(void) 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.
FloatComplex float_complex_value(bool frc_str_conv=false) const
const T * data(void) const
bool save_binary(std::ostream &os, bool &save_as_floats)
FloatComplexColumnVector extract_diag(octave_idx_type k=0) const
FloatComplexDiagMatrix matrix
bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
octave_idx_type cols(void) const
octave_idx_type columns(void) const
FloatDiagMatrix abs(void) const
ColumnVector imag(const ComplexColumnVector &a)
std::complex< float > FloatComplex
static int static_type_id(void)
octave_base_value * try_narrowing_conversion(void)
ColumnVector real(const ComplexColumnVector &a)
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