GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
ov-null-mat.cc File Reference
#include "ov-null-mat.h"
#include "ops.h"
#include "defun.h"
Include dependency graph for ov-null-mat.cc:

Go to the source code of this file.

Functions

static octave_base_valuedefault_null_matrix_numeric_conversion_function (const octave_base_value &a)
static octave_base_valuedefault_null_sq_str_numeric_conversion_function (const octave_base_value &a)
static octave_base_valuedefault_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")

Function Documentation

static octave_base_value* default_null_matrix_numeric_conversion_function ( const octave_base_value a)
static
static octave_base_value* default_null_sq_str_numeric_conversion_function ( const octave_base_value a)
static
static octave_base_value* default_null_str_numeric_conversion_function ( const octave_base_value a)
static
DEFUN ( isnull  ,
args   
)