26 #if defined (HAVE_CONFIG_H)
84 return tmp.
index_op (idx, resize_ok);
102 return tmp.
resize (dv, fill);
105 template <
typename T>
109 return static_cast<double> (scalar_ref ());
112 template <
typename T>
116 return static_cast<float> (scalar_ref ());
119 template <
typename T>
126 template <
typename T>
133 template <
typename T>
140 template <
typename T>
147 template <
typename T>
154 template <
typename T>
161 template <
typename T>
168 template <
typename T>
175 template <
typename T>
184 template <
typename T>
198 ::warning (
"range error for conversion to character value");
201 ival = scalar_ref ().value ();
203 retval =
octave_value (std::string (1,
static_cast<char> (ival)), type);
209 template <
typename T>
218 template <
typename T>
222 error (
"octave_base_magic_int<T>::load_ascii: internal error");
225 template <
typename T>
234 template <
typename T>
239 error (
"octave_base_magic_int<T>::load_binary: internal error");
242 template <
typename T>
249 #if defined (HAVE_HDF5)
253 return tmp.
save_hdf5 (loc_id, name, save_as_floats);
257 octave_unused_parameter (loc_id);
258 octave_unused_parameter (name);
259 octave_unused_parameter (save_as_floats);
268 template <
typename T>
272 #if defined (HAVE_HDF5)
274 error (
"octave_base_magic_int<T>::load_binary: internal error");
287 template <
typename T>
296 template <
typename T>
302 return tmp.
map (umap);
charNDArray max(char d, const charNDArray &m)
Vector representing the dimensions (size) of an Array.
octave_value as_int64() const
octave_value convert_to_str_internal(bool pad, bool force, char type) const
octave_value map(octave_base_value::unary_mapper_t umap) const
octave::idx_vector index_vector(bool require_integers=false) const
octave_value as_single() const
octave_value as_uint32() const
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
bool save_hdf5(octave_hdf5_id loc_id, const char *name, bool save_as_floats)
octave_value as_uint16() const
octave_value as_uint64() const
octave_value as_int16() const
octave_value as_uint8() const
octave_value as_double() const
octave_value do_index_op(const octave_value_list &idx, bool resize_ok=false)
bool save_binary(std::ostream &os, bool save_as_floats)
octave_value as_int8() const
bool save_ascii(std::ostream &os)
octave_value resize(const dim_vector &dv, bool fill=false) const
bool load_hdf5(octave_hdf5_id loc_id, const char *name)
bool load_ascii(std::istream &is)
octave_value diag(octave_idx_type m, octave_idx_type n) const
mxArray * as_mxArray(bool interleaved) const
octave_value as_int32() const
void warn_load(const char *type) const
virtual double double_value(bool=false) const
void warn_save(const char *type) const
type_conv_info numeric_conversion_function() const
type_conv_info numeric_conversion_function() const
static int static_type_id()
octave_value index_op(const octave_value_list &idx, bool resize_ok=false)
octave::idx_vector index_vector(bool require_integers=false) const
bool save_hdf5(octave_hdf5_id loc_id, const char *name, bool save_as_floats)
bool save_binary(std::ostream &os, bool save_as_floats)
bool save_ascii(std::ostream &os)
octave_value map(octave_base_value::unary_mapper_t umap) const
octave_value resize(const dim_vector &dv, bool fill=false) const
mxArray * as_mxArray(bool interleaved=false) const
octave_value diag(octave_idx_type k=0) const
void warning(const char *fmt,...)
void() error(const char *fmt,...)
octave::idx_vector idx_vector
octave_int< uint32_t > octave_uint32
octave_int< int32_t > octave_int32
octave_int< int16_t > octave_int16
octave_int< int8_t > octave_int8
octave_int< int64_t > octave_int64
octave_int< uint64_t > octave_uint64
octave_int< uint16_t > octave_uint16
octave_int< uint8_t > octave_uint8
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)