GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
ov-cx-mat.cc File Reference
#include <iostream>
#include <vector>
#include "data-conv.h"
#include "lo-ieee.h"
#include "lo-specfun.h"
#include "lo-mappers.h"
#include "mx-base.h"
#include "mach-info.h"
#include "oct-locbuf.h"
#include "gripes.h"
#include "mxarray.h"
#include "oct-obj.h"
#include "oct-hdf5.h"
#include "oct-stream.h"
#include "ops.h"
#include "ov-base.h"
#include "ov-base-mat.h"
#include "ov-base-mat.cc"
#include "ov-complex.h"
#include "ov-cx-mat.h"
#include "ov-flt-cx-mat.h"
#include "ov-re-mat.h"
#include "ov-scalar.h"
#include "pr-output.h"
#include "byte-swap.h"
#include "ls-oct-ascii.h"
#include "ls-hdf5.h"
#include "ls-utils.h"
Include dependency graph for ov-cx-mat.cc:

Go to the source code of this file.

Macros

#define ARRAY_MAPPER(UMAP, TYPE, FCN)
 
#define ARRAY_METHOD_MAPPER(UMAP, FCN)
 

Functions

static octave_base_valuedefault_numeric_demotion_function (const octave_base_value &a)
 

Macro Definition Documentation

#define ARRAY_MAPPER (   UMAP,
  TYPE,
  FCN 
)
Value:
case umap_ ## UMAP: \
return octave_value (matrix.map<TYPE> (FCN))
Definition: oct-parse.h:133
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))

Referenced by octave_complex_matrix::map().

#define ARRAY_METHOD_MAPPER (   UMAP,
  FCN 
)
Value:
case umap_ ## UMAP: \
return octave_value (matrix.FCN ())
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))

Referenced by octave_complex_matrix::map().

Function Documentation

static octave_base_value* default_numeric_demotion_function ( const octave_base_value a)
static

Definition at line 67 of file ov-cx-mat.cc.

References CAST_CONV_ARG.

Referenced by octave_complex_matrix::numeric_demotion_function().