26 #if defined (HAVE_CONFIG_H)
42 "float diagonal matrix",
"single");
186 os.write (
reinterpret_cast<char *
> (&
r), 4);
187 os.write (
reinterpret_cast<char *
> (&c), 4);
193 float max_val, min_val;
194 if (
m.all_integers (max_val, min_val))
198 const float *mtmp =
m.data ();
210 if (! (is.read (
reinterpret_cast<char *
> (&
r), 4)
211 && is.read (
reinterpret_cast<char *
> (&c), 4)
212 && is.read (
reinterpret_cast<char *
> (&tmp), 1)))
221 float *re =
m.fortran_vec ();
234 octave_float_diag_matrix::chk_valid_scalar (
const octave_value& val,
void swap_bytes< 4 >(void *ptr)
Array< U, A > map(F fcn) const
Apply function fcn to each element of the Array<T, Alloc>.
octave_idx_type nelem() const
octave_idx_type rows() const
octave_idx_type length() const
octave_idx_type columns() const
octave_idx_type cols() const
FloatDiagMatrix abs() const
FloatColumnVector extract_diag(octave_idx_type k=0) const
uint64NDArray uint64_array_value() const
int16NDArray int16_array_value() const
int32NDArray int32_array_value() const
uint8NDArray uint8_array_value() const
uint16NDArray uint16_array_value() const
octave_value to_dense() const
int8NDArray int8_array_value() const
uint32NDArray uint32_array_value() const
int64NDArray int64_array_value() const
FloatMatrix float_matrix_value(bool=false) const
octave_value as_uint8() const
octave_value as_int8() const
octave_value as_int64() const
DiagMatrix diag_matrix_value(bool=false) const
octave_value as_uint32() const
FloatDiagMatrix float_diag_matrix_value(bool=false) const
octave_value as_double() const
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool=false) const
ComplexDiagMatrix complex_diag_matrix_value(bool=false) const
octave_value map(unary_mapper_t umap) const
octave_value as_single() const
octave_value as_uint16() const
octave_value as_int16() const
octave_value as_uint64() const
type_conv_info numeric_conversion_function() const
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
octave_base_value * try_narrowing_conversion()
octave_value as_int32() const
bool save_binary(std::ostream &os, bool save_as_floats)
static int static_type_id()
bool is_real_scalar() const
float float_value(bool frc_str_conv=false) const
octave_value map(octave_base_value::unary_mapper_t umap) const
void write_floats(std::ostream &os, const float *data, save_type type, octave_idx_type len)
void read_floats(std::istream &is, float *data, save_type type, octave_idx_type len, bool swap, octave::mach_info::float_format fmt)
Complex rc_sqrt(double x)
F77_RET_T const F77_DBLE * x
save_type get_save_type(double, double)
std::complex< float > FloatComplex
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)