GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include <limits>
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "defun.h"
#include "gripes.h"
#include "mxarray.h"
#include "oct-map.h"
#include "oct-obj.h"
#include "oct-hdf5.h"
#include "oct-lvalue.h"
#include "oct-stream.h"
#include "ops.h"
#include "ov-base.h"
#include "ov-cell.h"
#include "ov-ch-mat.h"
#include "ov-complex.h"
#include "ov-cx-mat.h"
#include "ov-range.h"
#include "ov-re-mat.h"
#include "ov-scalar.h"
#include "ov-str-mat.h"
#include "ov-fcn-handle.h"
#include "parse.h"
#include "pr-output.h"
#include "utils.h"
#include "toplev.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 455 of file ov-base.cc.
builtin_type_t btyp_mixed_numeric | ( | builtin_type_t | x, |
builtin_type_t | y | ||
) |
Definition at line 59 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, and x.
Referenced by do_minmax_body().
bool called_from_builtin | ( | void | ) |
Definition at line 1647 of file ov-base.cc.
References octave_call_stack::caller(), and octave_function::name().
Referenced by octave_class::numel(), octave_classdef::print(), octave_class::size(), octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_class::subsref(), and octave_classdef::subsref().
OCTAVE_EXPORT octave_value_list Fsparse_auto_mutate | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1707 of file ov-base.cc.
References SET_INTERNAL_VARIABLE.
string_vector get_builtin_classes | ( | void | ) |
Definition at line 93 of file ov-base.cc.
References btyp_class_name, btyp_complex, btyp_float_complex, btyp_num_types, and Array< T >::is_empty().
|
static |
Definition at line 1312 of file ov-base.cc.
References error().
Referenced by octave_base_value::numeric_assign().
|
static |
Definition at line 1305 of file ov-base.cc.
References error().
Referenced by octave_base_value::numeric_assign().
|
static |
Definition at line 1320 of file ov-base.cc.
References error().
Referenced by octave_base_value::numeric_assign().
void install_base_type_conversions | ( | void | ) |
Definition at line 1661 of file ov-base.cc.
References INSTALL_ASSIGNCONV, and INSTALL_WIDENOP.
Referenced by install_ops().
octave_value make_idx_args | ( | const std::string & | type, |
const std::list< octave_value_list > & | idx, | ||
const std::string & | who | ||
) |
Definition at line 1570 of file ov-base.cc.
References octave_map::assign(), error(), octave_value::is_string(), octave_value_list::length(), octave_value::length(), panic_impossible, and sanitize().
Referenced by octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_class::subsref(), and octave_classdef::subsref().
|
static |
Definition at line 1550 of file ov-base.cc.
|
static |
Definition at line 1540 of file ov-base.cc.
|
static |
Definition at line 1535 of file ov-base.cc.
|
static |
Definition at line 1545 of file ov-base.cc.
|
inlinestatic |
Definition at line 1556 of file ov-base.cc.
References octave_value_list::length(), and ovl().
Referenced by make_idx_args().
std::string btyp_class_name[btyp_num_types] |
Definition at line 83 of file ov-base.cc.
Referenced by get_builtin_classes(), get_dispatch_type(), and make_fcn_handle().
bool Vsparse_auto_mutate = false |
Definition at line 118 of file ov-base.cc.
Referenced by Fsparse(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), and octave_sparse_complex_matrix::try_narrowing_conversion().