#include <iostream>
#include "data-conv.h"
#include "mach-info.h"
#include "lo-specfun.h"
#include "lo-mappers.h"
#include "defun.h"
#include "gripes.h"
#include "oct-obj.h"
#include "oct-stream.h"
#include "ov-scalar.h"
#include "ov-float.h"
#include "ov-base.h"
#include "ov-base-scalar.h"
#include "ov-base-scalar.cc"
#include "ov-re-mat.h"
#include "ov-typeinfo.h"
#include "pr-output.h"
#include "xdiv.h"
#include "xpow.h"
#include "ops.h"
#include "ls-oct-ascii.h"
#include "ls-hdf5.h"
Defines | |
#define | SCALAR_MAPPER(MAP, FCN) |
#define | CD_SCALAR_MAPPER(MAP, RFCN, CFCN, L1, L2) |
Functions | |
DEFINE_OCTAVE_ALLOCATOR (octave_scalar) | |
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_scalar,"scalar","double") |
#define CD_SCALAR_MAPPER | ( | MAP, | |||
RFCN, | |||||
CFCN, | |||||
L1, | |||||
L2 | ) |
Value:
octave_value \ octave_scalar::MAP (void) const \ { \ return (scalar < L1 || scalar > L2 \ ? octave_value (CFCN (Complex (scalar))) \ : octave_value (RFCN (scalar))); \ }
#define SCALAR_MAPPER | ( | MAP, | |||
FCN | ) |
Value:
octave_value \ octave_scalar::MAP (void) const \ { \ return octave_value (FCN (scalar)); \ }
DEFINE_OCTAVE_ALLOCATOR | ( | octave_scalar | ) |
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA | ( | octave_scalar | , | |
"scalar" | , | |||
"double" | ||||
) |