Defines | Functions

ov-scalar.cc File Reference

#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"
Include dependency graph for ov-scalar.cc:

Go to the source code of this file.

Defines

#define SCALAR_MAPPER(UMAP, FCN)

Functions

static octave_base_valuedefault_numeric_demotion_function (const octave_base_value &a)
 DEFINE_OCTAVE_ALLOCATOR (octave_scalar)
 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_scalar,"scalar","double")

Define Documentation

#define SCALAR_MAPPER (   UMAP,
  FCN 
)
Value:
case umap_ ## UMAP: \
      return octave_value (FCN (scalar))

Function Documentation

static octave_base_value* default_numeric_demotion_function ( const octave_base_value a  )  [static]

Definition at line 60 of file ov-scalar.cc.

References CAST_CONV_ARG.

Referenced by octave_scalar::numeric_demotion_function().

DEFINE_OCTAVE_ALLOCATOR ( octave_scalar   ) 
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA ( octave_scalar  ,
"scalar"  ,
"double"   
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines