23 #if ! defined (octave_oct_handle_h) 24 #define octave_oct_handle_h 1 26 #include "octave-config.h" 49 val =
a.double_value ();
51 catch (octave::execution_exception&
e)
53 error (
e,
"invalid handle");
118 return a.value () ==
b.value ();
124 return a.value () !=
b.value ();
130 return a.value () <
b.value ();
136 return a.value () <=
b.value ();
142 return a.value () >=
b.value ();
148 return a.value () >
b.value ();
bool operator>(const octave_handle &a, const octave_handle &b)
octave_handle & operator=(const octave_handle &a)
void error(const char *fmt,...)
bool operator<(const octave_handle &a, const octave_handle &b)
bool operator==(const octave_handle &a, const octave_handle &b)
bool operator>=(const octave_handle &a, const octave_handle &b)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
octave_handle & operator--(void)
bool operator!=(const octave_handle &a, const octave_handle &b)
octave_value as_octave_value(void) const
octave_handle(const octave_handle &a)
octave_handle & operator++(void)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
OCTAVE_EXPORT octave_value_list or N dimensional array whose elements are all equal to the IEEE symbol NaN(Not a Number). NaN is the result of operations which do not produce a well defined 0 result. Common operations which produce a NaN are arithmetic with infinity ex($\infty - \infty$)
bool operator<=(const octave_handle &a, const octave_handle &b)
octave_handle(const octave_value &a)
~octave_handle(void)=default