GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
cellfun.cc File Reference
#include <string>
#include <vector>
#include <list>
#include <memory>
#include "lo-mappers.h"
#include "oct-locbuf.h"
#include "oct-string.h"
#include "Cell.h"
#include "oct-map.h"
#include "defun.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "variables.h"
#include "unwind-prot.h"
#include "errwarn.h"
#include "utils.h"
#include "ov-bool.h"
#include "ov-class.h"
#include "ov-colon.h"
#include "ov-complex.h"
#include "ov-float.h"
#include "ov-flt-complex.h"
#include "ov-int16.h"
#include "ov-int32.h"
#include "ov-int64.h"
#include "ov-int8.h"
#include "ov-scalar.h"
#include "ov-uint16.h"
#include "ov-uint32.h"
#include "ov-uint64.h"
#include "ov-uint8.h"
#include "ov-fcn-handle.h"

Go to the source code of this file.

Macros

#define BTYP_BRANCH(X, Y)
 

Functions

template<typename ArrayND >
Cell do_mat2cell (const ArrayND &a, const Array< octave_idx_type > *d, int nd)
 
Cell do_mat2cell (octave_value &a, const Array< octave_idx_type > *d, int nd)
 
template<typename ArrayND >
Cell do_mat2cell_nd (const ArrayND &a, const Array< octave_idx_type > *d, int nd)
 
octave_value_list Farrayfun (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
octave_value_list Fcellfun (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
octave_value_list Fcellindexmat (const octave_value_list &args, int)
 
octave_value_list Fcellslices (const octave_value_list &args, int)
 
octave_value_list Fmat2cell (const octave_value_list &args, int)
 
octave_value_list Fnum2cell (const octave_value_list &args, int)
 

Macro Definition Documentation

◆ BTYP_BRANCH

#define BTYP_BRANCH (   X,
 
)
Value:
case btyp_ ## X: \
retval = do_mat2cell (a.Y ## _value (), d, nargin - 1); \
break
Cell do_mat2cell(const ArrayND &a, const Array< octave_idx_type > *d, int nd)
Definition: cellfun.cc:2117
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d

Function Documentation

◆ do_mat2cell() [1/2]

template<typename ArrayND >
Cell do_mat2cell ( const ArrayND &  a,
const Array< octave_idx_type > *  d,
int  nd 
)

Definition at line 2117 of file cellfun.cc.

◆ do_mat2cell() [2/2]

Cell do_mat2cell ( octave_value a,
const Array< octave_idx_type > *  d,
int  nd 
)

Definition at line 2129 of file cellfun.cc.

References error_unless.

◆ do_mat2cell_nd()

template<typename ArrayND >
Cell do_mat2cell_nd ( const ArrayND &  a,
const Array< octave_idx_type > *  d,
int  nd 
)

Definition at line 2047 of file cellfun.cc.

References error_unless.

◆ Farrayfun()

◆ Fcellfun()

◆ Fcellindexmat()

◆ Fcellslices()

octave_value_list Fcellslices ( const octave_value_list args,
int   
)

◆ Fmat2cell()

◆ Fnum2cell()

octave_value_list Fnum2cell ( const octave_value_list args,
int   
)