#include <climits>
#include <iostream>
#include <vector>
#include "data-conv.h"
#include "lo-ieee.h"
#include "lo-utils.h"
#include "lo-specfun.h"
#include "lo-mappers.h"
#include "mach-info.h"
#include "mx-base.h"
#include "quit.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "gripes.h"
#include "oct-obj.h"
#include "oct-lvalue.h"
#include "oct-stream.h"
#include "ops.h"
#include "ov-base.h"
#include "ov-base-mat.h"
#include "ov-base-mat.cc"
#include "ov-scalar.h"
#include "ov-re-mat.h"
#include "ov-flt-re-mat.h"
#include "ov-complex.h"
#include "ov-cx-mat.h"
#include "ov-re-sparse.h"
#include "ov-re-diag.h"
#include "ov-cx-diag.h"
#include "ov-perm.h"
#include "ov-type-conv.h"
#include "pr-output.h"
#include "variables.h"
#include "byte-swap.h"
#include "ls-oct-ascii.h"
#include "ls-utils.h"
#include "ls-hdf5.h"
Defines | |
#define | UCHAR_MAX 255 |
#define | ARRAY_MAPPER(MAP, AMAP, FCN) |
#define | CD_ARRAY_MAPPER(MAP, RFCN, CFCN, L1, L2) |
Functions | |
DEFINE_OCTAVE_ALLOCATOR (octave_matrix) | |
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_matrix,"matrix","double") | |
DEFUN (double, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} double (@var{x})\n\ Convert @var{x} to double precision type.\n\ @seealso{single}\n\ @end deftypefn") |
#define ARRAY_MAPPER | ( | MAP, | |||
AMAP, | |||||
FCN | ) |
Value:
octave_value \ octave_matrix::MAP (void) const \ { \ static AMAP dmap = FCN; \ return matrix.map (dmap); \ }
#define CD_ARRAY_MAPPER | ( | MAP, | |||
RFCN, | |||||
CFCN, | |||||
L1, | |||||
L2 | ) |
Value:
octave_value \ octave_matrix::MAP (void) const \ { \ static NDArray::dmapper dmap = RFCN; \ static NDArray::cmapper cmap = CFCN; \ \ return (any_element_less_than (matrix, L1) \ ? octave_value (matrix.map (cmap)) \ : (any_element_greater_than (matrix, L2) \ ? octave_value (matrix.map (cmap)) \ : octave_value (matrix.map (dmap)))); \ }
#define UCHAR_MAX 255 |
DEFINE_OCTAVE_ALLOCATOR | ( | octave_matrix | ) |
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA | ( | octave_matrix | , | |
"matrix" | , | |||
"double" | ||||
) |