24 #if !defined (octave_ov_h)
61 bool is_for_cmd_expr =
false);
66 bool is_for_cmd_expr =
false);
128 unknown_compound_binary_op
152 static binary_op assign_op_to_binary_op (assign_op);
154 static assign_op binary_op_to_assign_op (binary_op);
156 static std::string unary_op_as_string (unary_op);
157 static std::string unary_op_fcn_name (unary_op);
159 static std::string binary_op_as_string (binary_op);
160 static std::string binary_op_fcn_name (binary_op);
162 static std::string binary_op_fcn_name (compound_binary_op);
164 static std::string assign_op_as_string (assign_op);
191 #if defined (HAVE_LONG_LONG_INT)
194 #if defined (HAVE_UNSIGNED_LONG_LONG_INT)
247 char type =
'\'') GCC_ATTR_DEPRECATED;
249 char type = '\'') GCC_ATTR_DEPRECATED;
251 char type = '\'') GCC_ATTR_DEPRECATED;
255 const MatrixType& t = MatrixType ());
258 const MatrixType& t = MatrixType ());
285 bool zero_based = false,
bool cache_index = false);
293 const
std::list<
std::
string>& plist);
295 const
std::list<
std::
string>& plist);
322 if (--rep->count == 0)
332 if (--rep->count == 0)
344 if (rep->count > obsolete_copies + 1)
348 if (--rep->count == 0)
361 if (--rep->count == 0)
374 {
return rep->numeric_conversion_function (); }
377 {
return rep->numeric_demotion_function (); }
379 void maybe_mutate (
void);
393 {
return rep->size (); }
396 {
return rep->numel (idx); }
402 const std::list<octave_value_list>&
idx)
403 {
return rep->
subsref (type, idx); }
406 const std::list<octave_value_list>&
idx,
408 {
return rep->
subsref (type, idx, auto_add); }
411 const std::list<octave_value_list>&
idx,
415 const std::list<octave_value_list>&
idx,
417 const std::list<octave_lvalue> *lvalue_list);
419 octave_value next_subsref (
const std::string& type,
const
420 std::list<octave_value_list>&
idx,
424 const std::string& type,
const
425 std::list<octave_value_list>&
idx,
429 const std::string& type,
const
430 std::list<octave_value_list>&
idx,
431 const std::list<octave_lvalue> *lvalue_list,
434 octave_value next_subsref (
bool auto_add,
const std::string& type,
const
435 std::list<octave_value_list>&
idx,
439 bool resize_ok =
false)
447 const std::list<octave_lvalue> *lvalue_list);
450 const std::list<octave_value_list>&
idx,
454 const std::list<octave_value_list>&
idx,
458 const std::list<octave_value_list>&
idx,
465 return rep->index_vector (require_integers);
471 {
return rep->dims (); }
479 int ndims (
void)
const {
return rep->ndims (); }
484 {
return rep->numel (); }
487 {
return rep->capacity (); }
490 {
return rep->byte_size (); }
502 {
return rep->
permute (vec, inv); }
505 {
return rep->
permute (vec,
true); }
508 {
return rep->
resize (dv, fill);}
521 {
return rep->is_defined (); }
527 {
return rep->is_empty (); }
530 {
return rep->is_cell (); }
533 {
return rep->is_cellstr (); }
536 {
return rep->is_real_scalar (); }
539 {
return rep->is_real_matrix (); }
542 {
return rep->is_complex_scalar (); }
545 {
return rep->is_complex_matrix (); }
548 {
return rep->is_bool_scalar (); }
551 {
return rep->is_bool_matrix (); }
554 {
return rep->is_char_matrix (); }
557 {
return rep->is_diag_matrix (); }
560 {
return rep->is_perm_matrix (); }
563 {
return rep->is_string (); }
566 {
return rep->is_sq_string (); }
569 {
return rep->is_string () && ! rep->is_sq_string (); }
572 {
return rep->is_range (); }
575 {
return rep->is_map (); }
578 {
return rep->is_object (); }
581 {
return rep->is_classdef_object (); }
584 {
return rep->is_java (); }
587 {
return rep->is_cs_list (); }
590 {
return rep->is_magic_colon (); }
593 {
return rep->is_null_value (); }
598 {
return rep->
all (dim); }
601 {
return rep->
any (dim); }
604 {
return rep->builtin_type (); }
609 {
return rep->is_double_type (); }
612 {
return rep->is_single_type (); }
615 {
return rep->is_float_type (); }
620 {
return rep->is_int8_type (); }
623 {
return rep->is_int16_type (); }
626 {
return rep->is_int32_type (); }
629 {
return rep->is_int64_type (); }
632 {
return rep->is_uint8_type (); }
635 {
return rep->is_uint16_type (); }
638 {
return rep->is_uint32_type (); }
641 {
return rep->is_uint64_type (); }
646 {
return rep->is_bool_type (); }
649 {
return rep->is_integer_type (); }
652 {
return rep->is_real_type (); }
655 {
return rep->is_complex_type (); }
658 {
return rep->is_scalar_type (); }
661 {
return rep->is_matrix_type (); }
664 {
return rep->is_numeric_type (); }
667 {
return rep->is_sparse_type (); }
672 {
return rep->is_true (); }
681 {
return (rows () == 0 && columns () == 0); }
684 {
return rep->is_constant (); }
687 {
return rep->is_function_handle (); }
690 {
return rep->is_anonymous_function (); }
693 {
return rep->is_inline_function (); }
696 {
return rep->is_function (); }
699 {
return rep->is_user_script (); }
702 {
return rep->is_user_function (); }
705 {
return rep->is_user_code (); }
708 {
return rep->is_builtin_function (); }
711 {
return rep->is_dld_function (); }
714 {
return rep->is_mex_function (); }
723 short_value (
bool req_int =
false,
bool frc_str_conv =
false)
const
724 {
return rep->short_value (req_int, frc_str_conv); }
728 {
return rep->ushort_value (req_int, frc_str_conv); }
730 int int_value (
bool req_int =
false,
bool frc_str_conv =
false)
const
731 {
return rep->int_value (req_int, frc_str_conv); }
734 uint_value (
bool req_int =
false,
bool frc_str_conv =
false)
const
735 {
return rep->uint_value (req_int, frc_str_conv); }
738 {
return rep->nint_value (frc_str_conv); }
741 long_value (
bool req_int =
false,
bool frc_str_conv =
false)
const
742 {
return rep->long_value (req_int, frc_str_conv); }
745 ulong_value (
bool req_int =
false,
bool frc_str_conv =
false)
const
746 {
return rep->ulong_value (req_int, frc_str_conv); }
749 int64_value (
bool req_int =
false,
bool frc_str_conv =
false)
const
750 {
return rep->int64_value (req_int, frc_str_conv); }
754 {
return rep->uint64_value (req_int, frc_str_conv); }
757 idx_type_value (
bool req_int =
false,
bool frc_str_conv =
false)
const;
760 {
return rep->double_value (frc_str_conv); }
763 {
return rep->float_value (frc_str_conv); }
766 {
return rep->scalar_value (frc_str_conv); }
769 {
return rep->float_scalar_value (frc_str_conv); }
771 Cell cell_value (
void)
const;
774 {
return rep->matrix_value (frc_str_conv); }
777 {
return rep->float_matrix_value (frc_str_conv); }
780 {
return rep->array_value (frc_str_conv); }
783 {
return rep->float_array_value (frc_str_conv); }
786 {
return rep->complex_value (frc_str_conv); }
789 {
return rep->float_complex_value (frc_str_conv); }
792 {
return rep->complex_matrix_value (frc_str_conv); }
796 {
return rep->float_complex_matrix_value (frc_str_conv); }
799 {
return rep->complex_array_value (frc_str_conv); }
803 {
return rep->float_complex_array_value (frc_str_conv); }
806 {
return rep->bool_value (warn); }
809 {
return rep->bool_matrix_value (warn); }
812 {
return rep->bool_array_value (warn); }
815 {
return rep->char_matrix_value (frc_str_conv); }
818 {
return rep->char_array_value (frc_str_conv); }
821 {
return rep->sparse_matrix_value (frc_str_conv); }
825 {
return rep->sparse_complex_matrix_value (frc_str_conv); }
828 {
return rep->sparse_bool_matrix_value (warn); }
831 {
return rep->diag_matrix_value (force); }
834 {
return rep->float_diag_matrix_value (force); }
837 {
return rep->complex_diag_matrix_value (force); }
841 {
return rep->float_complex_diag_matrix_value (force); }
844 {
return rep->perm_matrix_value (); }
847 {
return rep->int8_scalar_value (); }
850 {
return rep->int16_scalar_value (); }
853 {
return rep->int32_scalar_value (); }
856 {
return rep->int64_scalar_value (); }
859 {
return rep->uint8_scalar_value (); }
862 {
return rep->uint16_scalar_value (); }
865 {
return rep->uint32_scalar_value (); }
868 {
return rep->uint64_scalar_value (); }
871 {
return rep->int8_array_value (); }
874 {
return rep->int16_array_value (); }
877 {
return rep->int32_array_value (); }
880 {
return rep->int64_array_value (); }
883 {
return rep->uint8_array_value (); }
886 {
return rep->uint16_array_value (); }
889 {
return rep->uint32_array_value (); }
892 {
return rep->uint64_array_value (); }
895 {
return rep->all_strings (pad); }
898 {
return rep->string_value (force); }
901 {
return rep->cellstr_value (); }
904 {
return rep->range_value (); }
911 {
return rep->map_keys (); }
914 {
return rep->nparents (); }
917 {
return rep->parent_class_name_list (); }
920 {
return rep->parent_class_names (); }
927 {
return rep->is_instance_of (cls_name); }
943 ColumnVector column_vector_value (
bool frc_str_conv =
false,
944 bool frc_vec_conv =
false)
const;
947 complex_column_vector_value (
bool frc_str_conv =
false,
948 bool frc_vec_conv =
false)
const;
950 RowVector row_vector_value (
bool frc_str_conv =
false,
951 bool frc_vec_conv =
false)
const;
954 complex_row_vector_value (
bool frc_str_conv =
false,
955 bool frc_vec_conv =
false)
const;
959 bool frc_vec_conv =
false)
const;
962 float_complex_column_vector_value (
bool frc_str_conv =
false,
963 bool frc_vec_conv =
false)
const;
966 bool frc_vec_conv =
false)
const;
969 float_complex_row_vector_value (
bool frc_str_conv =
false,
970 bool frc_vec_conv =
false)
const;
975 Array<int> int_vector_value (
bool req_int =
false,
976 bool frc_str_conv =
false,
977 bool frc_vec_conv =
false)
const;
980 octave_idx_type_vector_value (
bool req_int =
false,
981 bool frc_str_conv =
false,
982 bool frc_vec_conv =
false)
const;
985 bool frc_vec_conv =
false)
const;
988 bool frc_vec_conv =
false)
const;
990 Array<float> float_vector_value (
bool frc_str_conv =
false,
991 bool frc_vec_conv =
false)
const;
994 float_complex_vector_value (
bool frc_str_conv =
false,
995 bool frc_vec_conv =
false)
const;
1000 { rep->maybe_economize (); }
1011 void make_storable_value (
void);
1018 char type =
'\'')
const
1026 { rep->convert_to_row_or_column_vector (); }
1029 {
return rep->print_as_scalar (); }
1031 void print (std::ostream& os,
bool pr_as_read_syntax =
false)
1032 { rep->print (os, pr_as_read_syntax); }
1034 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const
1035 { rep->print_raw (os, pr_as_read_syntax); }
1038 {
return rep->print_name_tag (os, name); }
1041 { rep->print_with_name (os, name,
true); }
1043 void short_disp (std::ostream& os)
const { rep->short_disp (os); }
1045 int type_id (
void)
const {
return rep->type_id (); }
1047 std::string
type_name (
void)
const {
return rep->type_name (); }
1049 std::string
class_name (
void)
const {
return rep->class_name (); }
1058 octave_value& do_non_const_unary_op (unary_op op,
const std::string& type,
1059 const std::list<octave_value_list>&
idx);
1075 bool is_for_cmd_expr)
1083 bool is_for_cmd_expr);
1089 void print_info (std::ostream& os,
1090 const std::string& prefix = std::string ())
const;
1092 bool save_ascii (std::ostream& os) {
return rep->save_ascii (os); }
1094 bool load_ascii (std::istream& is) {
return rep->load_ascii (is); }
1097 {
return rep->save_binary (os, save_as_floats); }
1101 {
return rep->load_binary (is, swap, fmt); }
1104 bool save_as_floats)
1105 {
return rep->save_hdf5 (loc_id, name, save_as_floats); }
1108 {
return rep->load_hdf5 (loc_id, name); }
1127 {
return rep->
diag (k); }
1130 {
return rep->
diag (m, n); }
1133 {
return rep->
sort (dim, mode); }
1136 {
return rep->
sort (sidx, dim, mode); }
1139 {
return rep->is_sorted (mode); }
1145 {
return rep->is_sorted_rows (mode); }
1151 bool islocked (
void)
const {
return rep->islocked (); }
1153 void dump (std::ostream& os)
const { rep->dump (os); }
1155 #define MAPPER_FORWARD(F) \
1156 octave_value F (void) const { return rep->map (octave_base_value::umap_ ## F); }
1224 #undef MAPPER_FORWARD
1227 {
return rep->
map (umap); }
1242 return rep->fast_elem_insert (n, x);
1275 #define OV_UNOP_FN(name) \
1276 inline octave_value \
1277 name (const octave_value& a) \
1279 return do_unary_op (octave_value::name, a); \
1282 #define OV_UNOP_OP(name, op) \
1283 inline octave_value \
1284 operator op (const octave_value& a) \
1289 #define OV_UNOP_FN_OP(name, op) \
1291 OV_UNOP_OP (name, op)
1305 #define OV_BINOP_FN(name) \
1306 inline octave_value \
1307 name (const octave_value& a1, const octave_value& a2) \
1309 return do_binary_op (octave_value::name, a1, a2); \
1312 #define OV_BINOP_OP(name, op) \
1313 inline octave_value \
1314 operator op (const octave_value& a1, const octave_value& a2) \
1316 return name (a1, a2); \
1319 #define OV_BINOP_FN_OP(name, op) \
1320 OV_BINOP_FN (name) \
1321 OV_BINOP_OP (name, op)
1349 #define OV_COMP_BINOP_FN(name) \
1350 inline octave_value \
1351 name (const octave_value& a1, const octave_value& a2) \
1353 return do_binary_op (octave_value::name, a1, a2); \
1367 #define OV_REP_TYPE octave_base_value
1370 template<
class Value>
1374 #define DEF_VALUE_EXTRACTOR(VALUE,MPREFIX) \
1376 inline VALUE octave_value_extract<VALUE> (const octave_value& v) \
1377 { return v.MPREFIX ## _value (); }
1436 #undef DEF_VALUE_EXTRACTOR
1438 #define DEF_DUMMY_VALUE_EXTRACTOR(VALUE,DEFVAL) \
1440 inline VALUE octave_value_extract<VALUE> (const octave_value&) \
1441 { assert (false); return DEFVAL; }
1445 #undef DEF_DUMMY_VALUE_EXTRACTOR
sortmode is_sorted_rows(sortmode mode=UNSORTED) const
uint8NDArray uint8_array_value(void) const
void short_disp(std::ostream &os) const
bool is_builtin_function(void) const
bool is_object(void) const
octave_idx_type nnz(void) const
octave_value op_mul_trans(const octave_value &a1, const octave_value &a2)
ComplexNDArray complex_array_value(bool frc_str_conv=false) const
bool is_range(void) const
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool force=false) const
octave_idx_type capacity(void) const
octave_value op_uplus(const octave_value &a)
size_t nparents(void) const
charNDArray char_array_value(bool frc_str_conv=false) const
bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
octave_refcount< octave_idx_type > count
bool is_real_type(void) const
boolMatrix bool_matrix_value(bool warn=false) const
#define OV_BINOP_FN_OP(name, op)
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
octave_value op_el_pow(const octave_value &a1, const octave_value &a2)
bool print_name_tag(std::ostream &os, const std::string &name) const
const octave_base_value const Array< octave_idx_type > & ra_idx
octave_value reshape(const dim_vector &dv) const
octave_idx_type rows(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_value do_cat_op(const octave_value &v1, const octave_value &v2, const Array< octave_idx_type > &ra_idx)
octave_int16 int16_scalar_value(void) const
octave_value op_eq(const octave_value &a1, const octave_value &a2)
octave_value full_value(void) const
unsigned int uint_value(bool req_int=false, bool frc_str_conv=false) const
bool save_hdf5(octave_hdf5_id loc_id, const char *name, bool save_as_floats)
int8NDArray int8_array_value(void) const
Array< octave_idx_type > sort_rows_idx(sortmode mode=ASCENDING) const
Sort by rows returns only indices.
FloatComplexMatrix float_complex_matrix_value(bool frc_str_conv=false) const
octave_base_value * empty_clone(void) const
mxArray * as_mxArray(void) const
bool is_uint16_type(void) const
bool islocked(void) const
bool is_user_code(void) const
bool is_function(void) const
std::complex< double > erfi(std::complex< double > z, double relerr=0)
int16NDArray int16_array_value(void) const
MatrixType matrix_type(const MatrixType &typ) const
static int xtoascii(int c)
octave_idx_type nfields(void) const
std::list< std::string > parent_class_name_list(void) const
bool is_scalar_type(void) const
octave_value diag(octave_idx_type k=0) const
bool is_numeric_type(void) const
bool is_defined(void) const
octave_value op_el_ldiv(const octave_value &a1, const octave_value &a2)
bool is_complex_scalar(void) const
int int_value(bool req_int=false, bool frc_str_conv=false) const
uint64NDArray uint64_array_value(void) const
int64_t int64_value(bool req_int=false, bool frc_str_conv=false) const
octave_int32 int32_scalar_value(void) const
float float_value(bool frc_str_conv=false) const
int32NDArray int32_array_value(void) const
bool is_perm_matrix(void) const
bool is_int8_type(void) const
octave_value map(octave_base_value::unary_mapper_t umap) const
Array< octave_idx_type > sort_rows_idx(sortmode mode=ASCENDING) const
octave_value op_pow(const octave_value &a1, const octave_value &a2)
octave_base_value * try_narrowing_conversion(void)
octave_value resize(const dim_vector &dv, bool fill=false) const
float float_scalar_value(bool frc_str_conv=false) const
octave_idx_type nzmax(void) const
octave_value convert_to_str_internal(bool pad, bool force, char type) const
bool is_int32_type(void) const
bool is_copy_of(const octave_value &val) const
double scalar_value(bool frc_str_conv=false) const
#define DEF_VALUE_EXTRACTOR(VALUE, MPREFIX)
ComplexDiagMatrix complex_diag_matrix_value(bool force=false) const
std::complex< double > erf(std::complex< double > z, double relerr=0)
boolNDArray bool_array_value(bool warn=false) const
bool is_function_handle(void) const
F77_RET_T const double const double double * d
string_vector all_strings(bool pad=false) const
bool is_instance_of(const std::string &cls_name) const
octave_value ipermute(const Array< int > &vec) const
int64NDArray int64_array_value(void) const
sortmode is_sorted(sortmode mode=UNSORTED) const
idx_vector index_vector(bool require_integers=false) const
bool is_float_type(void) const
octave_base_value::type_conv_info numeric_demotion_function(void) const
Array< std::string > cellstr_value(void) const
octave_value op_div(const octave_value &a1, const octave_value &a2)
octave_value any(int dim=0) const
octave_value op_el_or(const octave_value &a1, const octave_value &a2)
octave_idx_type columns(void) const
ComplexColumnVector conj(const ComplexColumnVector &a)
long int long_value(bool req_int=false, bool frc_str_conv=false) const
bool is_dld_function(void) const
virtual octave_base_value * try_narrowing_conversion(void)
FloatNDArray float_array_value(bool frc_str_conv=false) const
void dump(std::ostream &os) const
bool is_char_matrix(void) const
virtual octave_base_value * find_parent_class(const std::string &)
bool is_mex_function(void) const
unsigned long int ulong_value(bool req_int=false, bool frc_str_conv=false) const
octave_uint8 uint8_scalar_value(void) const
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx, bool auto_add)
bool is_null_value(void) const
octave_value convert_to_str(bool pad=false, bool force=false, char type= '\'') const
bool print_as_scalar(void) const
bool is_complex_matrix(void) const
uint64_t uint64_value(bool req_int=false, bool frc_str_conv=false) const
octave_value op_not(const octave_value &a)
bool is_sparse_type(void) const
octave_value squeeze(void) const
octave_idx_type numel(const octave_value_list &idx)
bool is_bool_type(void) const
bool is_real_scalar(void) const
octave_idx_type * mex_get_jc(void) const
bool is_bool_matrix(void) const
void print(std::ostream &os, bool pr_as_read_syntax=false)
std::string string_value(bool force=false) const
FloatDiagMatrix float_diag_matrix_value(bool force=false) const
#define DEF_DUMMY_VALUE_EXTRACTOR(VALUE, DEFVAL)
octave_value op_trans_mul(const octave_value &a1, const octave_value &a2)
int nint_value(bool frc_str_conv=false) const
bool load_hdf5(octave_hdf5_id loc_id, const char *name)
FloatComplex float_complex_value(bool frc_str_conv=false) const
octave_base_value::type_conv_info numeric_conversion_function(void) const
Range range_value(void) const
octave_value op_transpose(const octave_value &a)
bool is_matrix_type(void) const
Value octave_value_extract(const octave_value &)
std::complex< T > ceil(const std::complex< T > &x)
FloatComplexNDArray float_complex_array_value(bool frc_str_conv=false) const
bool is_string(void) const
bool is_double_type(void) const
bool save_binary(std::ostream &os, bool &save_as_floats)
void maybe_economize(void)
SparseBoolMatrix sparse_bool_matrix_value(bool warn=false) const
bool is_inline_function(void) const
void print_raw(std::ostream &os, bool pr_as_read_syntax=false) const
octave_value op_el_and(const octave_value &a1, const octave_value &a2)
bool is_complex_type(void) const
octave_value op_lshift(const octave_value &a1, const octave_value &a2)
bool is_magic_colon(void) const
bool is_int64_type(void) const
virtual octave_base_value * empty_clone(void) const
octave_base_value * find_parent_class(const std::string &parent_class_name)
bool is_cellstr(void) const
octave_idx_type * mex_get_ir(void) const
octave_value op_mul_herm(const octave_value &a1, const octave_value &a2)
bool all_zero_dims(void) const
std::complex< double > erfcx(std::complex< double > z, double relerr=0)
bool is_user_script(void) const
string_vector map_keys(void) const
octave_value all(int dim=0) const
SparseComplexMatrix sparse_complex_matrix_value(bool frc_str_conv=false) const
string_vector parent_class_names(void) const
dim_vector dims(void) const
Matrix matrix_value(bool frc_str_conv=false) const
OCTINTERP_API octave_value do_unary_op(octave_value::unary_op op, const octave_value &a)
octave_value op_le(const octave_value &a1, const octave_value &a2)
octave_value op_lt(const octave_value &a1, const octave_value &a2)
void erase_subfunctions(void)
octave_idx_type numel(void) const
#define OV_COMP_BINOP_FN(name)
bool is_defined(void) const
charMatrix char_matrix_value(bool frc_str_conv=false) const
bool is_classdef_object(void) const
octave_value op_el_div(const octave_value &a1, const octave_value &a2)
virtual octave_base_value * unique_clone(void)
OCTINTERP_API octave_value do_binary_op(octave_value::binary_op op, const octave_value &a, const octave_value &b)
bool is_int16_type(void) const
bool save_ascii(std::ostream &os)
MatrixType matrix_type(void) const
DiagMatrix diag_matrix_value(bool force=false) const
#define OV_BINOP_FN(name)
unsigned short int ushort_value(bool req_int=false, bool frc_str_conv=false) const
std::string type_name(void) const
octave_value sort(octave_idx_type dim=0, sortmode mode=ASCENDING) const
bool is_bool_scalar(void) const
bool is_empty(void) const
bool is_sq_string(void) const
NDArray array_value(bool frc_str_conv=false) const
octave_int8 int8_scalar_value(void) const
void assign(octave_value::assign_op, const octave_value &)
void * mex_get_data(void) const
octave_value op_ne(const octave_value &a1, const octave_value &a2)
bool load_ascii(std::istream &is)
bool is_dq_string(void) const
bool bool_value(bool warn=false) const
ComplexMatrix complex_matrix_value(bool frc_str_conv=false) const
bool is_uint8_type(void) const
const octave_base_value & get_rep(void) const
bool is_cs_list(void) const
Complex complex_value(bool frc_str_conv=false) const
std::list< octave_value_list > idx
FloatMatrix float_matrix_value(bool frc_str_conv=false) const
OCTINTERP_API void install_types(void)
void print_with_name(std::ostream &os, const std::string &name) const
bool is_anonymous_function(void) const
std::string class_name(void) const
octave_value op_struct_ref(const octave_value &a1, const octave_value &a2)
octave_int64 int64_scalar_value(void) const
octave_idx_type get_count(void) const
bool is_constant(void) const
bool is_user_function(void) const
octave_value op_add(const octave_value &a1, const octave_value &a2)
bool is_undefined(void) const
void make_unique(int obsolete_copies)
bool is_uint64_type(void) const
octave_value op_ldiv(const octave_value &a1, const octave_value &a2)
octave_value diag(octave_idx_type m, octave_idx_type n) const
Complex asin(const Complex &x)
ColumnVector imag(const ComplexColumnVector &a)
octave_uint64 uint64_scalar_value(void) const
octave_value op_sub(const octave_value &a1, const octave_value &a2)
octave_value fast_elem_extract(octave_idx_type n) const
std::complex< float > FloatComplex
virtual bool fast_elem_insert(octave_idx_type n, const octave_value &x)
PermMatrix perm_matrix_value(void) const
SparseMatrix sparse_matrix_value(bool frc_str_conv=false) const
octave_value op_el_mul(const octave_value &a1, const octave_value &a2)
std::complex< T > floor(const std::complex< T > &x)
octave_value op_herm_mul(const octave_value &a1, const octave_value &a2)
std::complex< double > Complex
#define MAPPER_FORWARD(F)
octave_value sort(Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
#define OV_UNOP_FN_OP(name, op)
bool is_single_type(void) const
octave_value op_rshift(const octave_value &a1, const octave_value &a2)
octave_value op_hermitian(const octave_value &a)
Complex acos(const Complex &x)
octave_base_value * internal_rep(void) const
ColumnVector real(const ComplexColumnVector &a)
double double_value(bool frc_str_conv=false) const
octave_value op_ge(const octave_value &a1, const octave_value &a2)
bool is_uint32_type(void) const
octave_uint32 uint32_scalar_value(void) const
uint32NDArray uint32_array_value(void) const
octave_value op_uminus(const octave_value &a)
builtin_type_t builtin_type(void) const
Complex atan(const Complex &x)
OCTINTERP_API octave_value do_colon_op(const octave_value &base, const octave_value &limit, bool is_for_cmd_expr=false)
bool is_diag_matrix(void) const
uint16NDArray uint16_array_value(void) const
octave_value op_mul(const octave_value &a1, const octave_value &a2)
bool is_zero_by_zero(void) const
void convert_to_row_or_column_vector(void)
octave_uint16 uint16_scalar_value(void) const
octave_value op_gt(const octave_value &a1, const octave_value &a2)
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
F77_RET_T const double * x
static bool scalar(const dim_vector &dims)
static int xisascii(int c)
bool is_real_matrix(void) const
size_t byte_size(void) const
short int short_value(bool req_int=false, bool frc_str_conv=false) const
octave_lvalue & operator=(const octave_lvalue &vr)
bool is_integer_type(void) const
std::complex< double > erfc(std::complex< double > z, double relerr=0)
octave_value do_index_op(const octave_value_list &idx, bool resize_ok=false)