#include <iostream>
#include <limits>
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "call-stack.h"
#include "defun.h"
#include "errwarn.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "mxarray.h"
#include "oct-hdf5.h"
#include "oct-lvalue.h"
#include "oct-map.h"
#include "oct-stream.h"
#include "ops.h"
#include "ov-base.h"
#include "ov-cell.h"
#include "ov-ch-mat.h"
#include "ov-classdef.h"
#include "ov-complex.h"
#include "ov-cx-mat.h"
#include "ov-fcn-handle.h"
#include "ov-range.h"
#include "ov-re-mat.h"
#include "ov-scalar.h"
#include "ov-str-mat.h"
#include "ovl.h"
#include "parse.h"
#include "pr-flt-fmt.h"
#include "pr-output.h"
#include "utils.h"
#include "variables.h"
Go to the source code of this file.
Macros | |
#define | INT_CONV_METHOD(T, F) |
Variables | |
std::string | btyp_class_name [btyp_num_types] |
bool | Vsparse_auto_mutate = false |
#define INT_CONV_METHOD | ( | T, | |
F | |||
) |
Definition at line 459 of file ov-base.cc.
builtin_type_t btyp_mixed_numeric | ( | builtin_type_t | x, |
builtin_type_t | y | ||
) |
Determine the resulting type for a possible mixed-type operation.
Rules for the resulting type:
Definition at line 63 of file ov-base.cc.
References btyp_bool, btyp_double, btyp_float, btyp_float_complex, btyp_int64, btyp_int8, btyp_uint64, btyp_uint8, btyp_unknown, retval, x, and y.
Referenced by do_minmax_body().
bool called_from_builtin | ( | void | ) |
Definition at line 1464 of file ov-base.cc.
References octave::__get_call_stack__(), octave::call_stack::caller(), cs, fcn, and octave_function::name().
Referenced by octave_class::numel(), octave_classdef::numel(), octave_class::size(), octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_class::subsref(), and octave_classdef::subsref().
|
static |
Definition at line 1159 of file ov-base.cc.
References error().
Referenced by octave_base_value::numeric_assign().
|
static |
Definition at line 1151 of file ov-base.cc.
References error().
Referenced by octave_base_value::numeric_assign().
|
static |
Definition at line 1167 of file ov-base.cc.
Referenced by octave_base_value::numeric_assign().
OCTAVE_EXPORT octave_value_list Fsparse_auto_mutate | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1527 of file ov-base.cc.
References SET_INTERNAL_VARIABLE.
void install_base_type_conversions | ( | octave::type_info & | ti | ) |
Definition at line 1480 of file ov-base.cc.
References INSTALL_ASSIGNCONV_TI, and INSTALL_WIDENOP_TI.
octave_value make_idx_args | ( | const std::string & | type, |
const std::list< octave_value_list > & | idx, | ||
const std::string & | who | ||
) |
Definition at line 1401 of file ov-base.cc.
References octave_map::assign(), error(), i, octave_value_list::length(), p, panic_impossible, sanitize(), t, type, and val.
Referenced by octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_class::subsref(), and octave_classdef::subsref().
|
static |
Definition at line 1381 of file ov-base.cc.
|
static |
Definition at line 1369 of file ov-base.cc.
|
static |
Definition at line 1363 of file ov-base.cc.
|
static |
Definition at line 1375 of file ov-base.cc.
|
inlinestatic |
Definition at line 1387 of file ov-base.cc.
References i, octave_value::is_magic_colon(), octave_value_list::length(), ovl(), and retval.
Referenced by make_idx_args().
std::string btyp_class_name[btyp_num_types] |
Definition at line 87 of file ov-base.cc.
Referenced by octave::get_dispatch_type(), and make_fcn_handle().
Definition at line 101 of file ov-base.cc.
Referenced by sparse(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), and octave_sparse_complex_matrix::try_narrowing_conversion().