GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Functions | |
static octave_base_value * | default_null_matrix_numeric_conversion_function (const octave_base_value &a) |
static octave_base_value * | default_null_sq_str_numeric_conversion_function (const octave_base_value &a) |
static octave_base_value * | default_null_str_numeric_conversion_function (const octave_base_value &a) |
DEFUN (isnull, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} isnull (@var{x})\n\ Return true if @var{x} is a special null matrix, string, or single quoted\n\ string. Indexed assignment with such a value on the right-hand side should\n\ delete array elements. This function should be used when overloading\n\ indexed assignment for user-defined classes instead of @code{isempty}, to\n\ distinguish the cases:\n\ \n\ @table @asis\n\ @item @code{A(I) = []}\n\ This should delete elements if @code{I} is nonempty.\n\ \n\ @item @code{X = []; A(I) = X}\n\ This should give an error if @code{I} is nonempty.\n\ @end table\n\ @seealso{isempty, isindex}\n\ @end deftypefn") |
|
static |
Definition at line 37 of file ov-null-mat.cc.
References octave_base_value::empty_clone().
Referenced by octave_null_matrix::numeric_conversion_function().
|
static |
Definition at line 80 of file ov-null-mat.cc.
References octave_base_value::empty_clone().
Referenced by octave_null_sq_str::numeric_conversion_function().
|
static |
Definition at line 58 of file ov-null-mat.cc.
References octave_base_value::empty_clone().
Referenced by octave_null_str::numeric_conversion_function().
DEFUN | ( | isnull | , |
args | |||
) |
Definition at line 96 of file ov-null-mat.cc.
References octave_value::is_null_value(), octave_value::length(), and print_usage().