#include <iostream>
#include <vector>
#include "lo-ieee.h"
#include "mx-base.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "gripes.h"
#include "oct-obj.h"
#include "ops.h"
#include "ov-base.h"
#include "ov-base-mat.h"
#include "ov-base-mat.cc"
#include "ov-bool.h"
#include "ov-bool-mat.h"
#include "ov-re-mat.h"
#include "pr-output.h"
#include "byte-swap.h"
#include "ls-oct-ascii.h"
#include "ls-hdf5.h"
#include "ls-utils.h"
Go to the source code of this file.
Functions | |
static octave_base_value * | default_numeric_conversion_function (const octave_base_value &a) |
DEFINE_OCTAVE_ALLOCATOR (octave_bool_matrix) | |
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_bool_matrix,"bool matrix","logical") | |
DEFUN (logical, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} logical (@var{x})\n\ Convert @var{x} to logical type.\n\ @seealso{double, single, char}\n\ @end deftypefn") |
static octave_base_value* default_numeric_conversion_function | ( | const octave_base_value & | a | ) | [static] |
Definition at line 60 of file ov-bool-mat.cc.
References CAST_CONV_ARG.
Referenced by octave_bool_matrix::numeric_conversion_function().
DEFINE_OCTAVE_ALLOCATOR | ( | octave_bool_matrix | ) |
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA | ( | octave_bool_matrix | , | |
"bool matrix" | , | |||
"logical" | ||||
) |
DEFUN | ( | logical | , | |
args | ||||
) |
Definition at line 547 of file ov-bool-mat.cc.
References arg(), octave_value::bool_array_value(), octave_value::bool_value(), gripe_wrong_type_arg(), octave_value::is_bool_type(), octave_value::is_numeric_type(), octave_value::is_scalar_type(), octave_value::is_sparse_type(), print_usage(), and octave_value::sparse_bool_matrix_value().