23 #if defined (HAVE_CONFIG_H)
108 if (idx1.
is_colon ()) right =
false;
250 os.write (reinterpret_cast<char *> (&r), 4);
251 os.write (reinterpret_cast<char *> (&c), 4);
259 warning (
"save: some values too large to save as floats --");
260 warning (
"save: saving as doubles instead");
267 double max_val, min_val;
272 const double *mtmp = m.
data ();
284 if (! (is.read (reinterpret_cast<char *> (&r), 4)
285 && is.read (reinterpret_cast<char *> (&c), 4)
286 && is.read (reinterpret_cast<char *> (&tmp), 1)))
297 read_doubles (is, re, static_cast<save_type> (tmp), len, swap, fmt);
int64NDArray int64_array_value(void) const
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
uint64NDArray uint64_array_value(void) const
octave_value as_uint32(void) const
const T * fortran_vec(void) const
Complex rc_sqrt(double x)
int32NDArray int32_array_value(void) const
octave_idx_type numel(void) const
Number of elements in the array.
identity matrix If supplied two scalar respectively For allows like xample val
static octave_base_value * default_numeric_conversion_function(const octave_base_value &a)
void set_pos_if_unset(octave_idx_type nd_arg, octave_idx_type dim_arg)
octave_idx_type length(void) const
octave_value as_uint64(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 as_int64(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
in this the arguments are accumulated from left to right
ColumnVector extract_diag(octave_idx_type k=0) const
ComplexDiagMatrix complex_diag_matrix_value(bool=false) const
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
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.
void read_doubles(std::istream &is, double *data, save_type type, octave_idx_type len, bool swap, octave::mach_info::float_format fmt)
nd deftypefn *octave_map m
uint16NDArray uint16_array_value(void) const
static int static_type_id(void)
const T * data(void) const
octave_value as_double(void) const
int16NDArray int16_array_value(void) const
uint8NDArray uint8_array_value(void) const
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
bool is_permutation(octave_idx_type n) const
octave_value as_int8(void) const
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
void warning(const char *fmt,...)
octave_idx_type cols(void) const
bool is_multiple_of_identity(T val) const
bool save_binary(std::ostream &os, bool &save_as_floats)
octave_value as_int16(void) const
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_value as_uint8(void) const
Matrix matrix_value(bool=false) const
int8NDArray int8_array_value(void) const
octave_value as_int32(void) const
octave_idx_type columns(void) const
bool is_undefined(void) const
octave_value as_single(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
write the output to stdout if nargout is
octave_value as_uint16(void) const
octave_idx_type length(void) const
uint32NDArray uint32_array_value(void) const
octave_base_value * try_narrowing_conversion(void)
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE * x
bool too_large_for_float(void) const
bool is_colon(void) const