GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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)
 
OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is this code should delete elements from the right hand side is empty (because ar{X} is ode{[]})
 
OCTAVE_EXPORT octave_value_list Fisnull (const octave_value_list &args, int) string
 

Variables

OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is this code should delete elements from ar {A} rather than perform assignment. In the second assignment
 
 nm = "Wally"
 
OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of ode {isempty} when overloading the indexed assignment method (ode{subsasgn}) for user-defined 0 . ode{isnull} is used to distinguish between these two cases: ode{ar{A}(ar{I}) = []} and ode{ar{X} = []; ar{A}(ar{I}) = ar{X}} In the first assignment
 
OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is this code should delete elements from the right hand side is but it is trong {not} null. This code should assign the empty value to elements in ar{A}. An example from Octave's built-in char class demonstrates the interpreter behavior when @code{isnull} is used correctly. @example @group str = "Hello World"
 

Function Documentation

◆ default_null_matrix_numeric_conversion_function()

static octave_base_value* default_null_matrix_numeric_conversion_function ( const octave_base_value a)
static

Definition at line 37 of file ov-null-mat.cc.

References a.

Referenced by octave_null_matrix::numeric_conversion_function().

◆ default_null_sq_str_numeric_conversion_function()

static octave_base_value* default_null_sq_str_numeric_conversion_function ( const octave_base_value a)
static

Definition at line 80 of file ov-null-mat.cc.

References a.

Referenced by octave_null_sq_str::numeric_conversion_function().

◆ default_null_str_numeric_conversion_function()

static octave_base_value* default_null_str_numeric_conversion_function ( const octave_base_value a)
static

Definition at line 58 of file ov-null-mat.cc.

References a.

Referenced by octave_null_str::numeric_conversion_function().

◆ empty()

OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is this code should delete elements from the right hand side is empty ( because ar{X} is ode{[]}  )

◆ Fisnull()

OCTAVE_EXPORT octave_value_list Fisnull ( const octave_value_list args,
int   
)

Variable Documentation

◆ ar

OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is this code should delete elements from ar {A} rather than perform assignment. In the second assignment

Definition at line 135 of file ov-null-mat.cc.

◆ nm

nm = "Wally"

Definition at line 135 of file ov-null-mat.cc.

◆ ode

OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is ode {isempty} when overloading the indexed assignment method (ode{subsasgn}) for user-defined 0 . ode{isnull} is used to distinguish between these two cases: ode{ar{A}(ar{I}) = []} and ode{ar{X} = []; ar{A}(ar{I}) = ar{X}} In the first assignment

Definition at line 135 of file ov-null-mat.cc.

◆ trong

OCTAVE_EXPORT octave_value_list or single quoted string Indexed assignment with such a null value on the right hand side should delete array elements This function is used in place of the right hand side is this code should delete elements from the right hand side is but it is trong {not} null. This code should assign the empty value to elements in ar{A}. An example from Octave's built-in char class demonstrates the interpreter behavior when @code{isnull} is used correctly. @example @group str = "Hello World"

Definition at line 135 of file ov-null-mat.cc.