GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
max.cc File Reference
#include <cmath>
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "dNDArray.h"
#include "CNDArray.h"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "ov-cx-mat.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"

Go to the source code of this file.

Macros

#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 

Functions

template<>
octave_value do_minmax_bin_op< charNDArray > (const octave_value &argx, const octave_value &argy, bool ismin)
 
template<>
octave_value_list do_minmax_red_op< boolNDArray > (const octave_value &arg, int nargout, int dim, bool ismin)
 
template<>
octave_value_list do_minmax_red_op< charNDArray > (const octave_value &arg, int nargout, int dim, bool ismin)
 
octave_value_list Fcummax (const octave_value_list &args, int nargout)
 
octave_value_list Fcummin (const octave_value_list &args, int nargout)
 
octave_value_list Fmax (const octave_value_list &args, int nargout)
 
octave_value_list Fmin (const octave_value_list &args, int nargout)
 

Macro Definition Documentation

◆ MAKE_INT_BRANCH [1/3]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
retval = do_minmax_red_op<X ## NDArray> (arg, nargout, dim, ismin); \
break;

◆ MAKE_INT_BRANCH [2/3]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
retval = do_minmax_bin_op<X ## NDArray> (argx, argy, ismin); \
break;

◆ MAKE_INT_BRANCH [3/3]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
retval = do_cumminmax_red_op<X ## NDArray> (arg, nargout, dim, ismin); \
break;

Function Documentation

◆ do_minmax_bin_op< charNDArray >()

template<>
octave_value do_minmax_bin_op< charNDArray > ( const octave_value argx,
const octave_value argy,
bool  ismin 
)

Definition at line 209 of file max.cc.

References max(), min(), Array< T, Alloc >::numel(), octave_value_extract< charNDArray >(), and x.

◆ do_minmax_red_op< boolNDArray >()

template<>
octave_value_list do_minmax_red_op< boolNDArray > ( const octave_value arg,
int  nargout,
int  dim,
bool  ismin 
)

◆ do_minmax_red_op< charNDArray >()

template<>
octave_value_list do_minmax_red_op< charNDArray > ( const octave_value arg,
int  nargout,
int  dim,
bool  ismin 
)

◆ Fcummax()

octave_value_list Fcummax ( const octave_value_list args,
int  nargout 
)

Definition at line 1079 of file max.cc.

◆ Fcummin()

octave_value_list Fcummin ( const octave_value_list args,
int  nargout 
)

Definition at line 1024 of file max.cc.

◆ Fmax()

octave_value_list Fmax ( const octave_value_list args,
int  nargout 
)

Definition at line 729 of file max.cc.

◆ Fmin()

octave_value_list Fmin ( const octave_value_list args,
int  nargout 
)

Definition at line 507 of file max.cc.