GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
data.cc File Reference
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <ctime>
#include <algorithm>
#include <limits>
#include <string>
#include "lo-ieee.h"
#include "mx-base.h"
#include "oct-base64.h"
#include "oct-binmap.h"
#include "oct-time.h"
#include "quit.h"
#include "Cell.h"
#include "data.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "oct-map.h"
#include "ov-class.h"
#include "ov-complex.h"
#include "ov-cx-mat.h"
#include "ov-cx-sparse.h"
#include "ov-float.h"
#include "ov-flt-complex.h"
#include "ov-flt-cx-mat.h"
#include "ov.h"
#include "ovl.h"
#include "pager.h"
#include "pt-mat.h"
#include "utils.h"
#include "variables.h"
#include "xnorm.h"

Go to the source code of this file.

Macros

#define BTYP_BRANCH(X, EX)
 
#define DATA_REDUCTION(FCN)
 
#define INSTANTIATE_EYE(T)    template octave_value identity_matrix<T> (int, int)
 
#define MAKE_INT_BRANCH(INTX)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 
#define MAKE_INT_BRANCH(X)
 

Functions

octave_value do_class_concat (const octave_value_list &ovl, const std::string &cattype, int dim)
 
template<typename T >
eps (const T &x)
 
octave_value_list F__accumarray_max__ (const octave_value_list &args, int)
 
octave_value_list F__accumarray_min__ (const octave_value_list &args, int)
 
octave_value_list F__accumarray_sum__ (const octave_value_list &args, int)
 
octave_value_list F__accumdim_sum__ (const octave_value_list &args, int)
 
octave_value_list F__base64_decode_bytes__ (const octave_value_list &args, int)
 
octave_value_list F__sort_rows_idx__ (const octave_value_list &args, int)
 
octave_value_list Fall (const octave_value_list &args, int)
 
octave_value_list Fand (const octave_value_list &args, int)
 
octave_value_list Fany (const octave_value_list &args, int)
 
octave_value_list Fatan2 (const octave_value_list &args, int)
 
octave_value_list Fbase64_decode (const octave_value_list &args, int)
 
octave_value_list Fbase64_encode (const octave_value_list &args, int)
 
octave_value_list Fcat (const octave_value_list &args, int)
 
octave_value_list Fcolon (const octave_value_list &args, int)
 
octave_value_list Fcolumns (const octave_value_list &args, int)
 
octave_value_list Fcomplex (const octave_value_list &args, int)
 
octave_value_list Fcputime (const octave_value_list &args, int)
 
octave_value_list Fctranspose (const octave_value_list &args, int)
 
octave_value_list Fcumprod (const octave_value_list &args, int)
 
octave_value_list Fcumsum (const octave_value_list &args, int)
 
octave_value_list Fdiag (const octave_value_list &args, int)
 
octave_value_list Fdiff (const octave_value_list &args, int)
 
octave_value_list Fe (const octave_value_list &args, int)
 
octave_value_list Feps (const octave_value_list &args, int)
 
octave_value_list Feq (const octave_value_list &args, int)
 
octave_value_list Feye (const octave_value_list &args, int)
 
octave_value_list Ffalse (const octave_value_list &args, int)
 
octave_value_list Ffull (const octave_value_list &args, int)
 
octave_value_list Fge (const octave_value_list &args, int)
 
octave_value_list Fgt (const octave_value_list &args, int)
 
octave_value_list Fhorzcat (const octave_value_list &args, int)
 
octave_value_list Fhypot (const octave_value_list &args, int)
 
octave_value_list FI (const octave_value_list &args, int)
 
octave_value_list FInf (const octave_value_list &args, int)
 
octave_value_list Fipermute (const octave_value_list &args, int)
 
octave_value_list Fiscolumn (const octave_value_list &args, int)
 
octave_value_list Fiscomplex (const octave_value_list &args, int)
 
octave_value_list Fisempty (const octave_value_list &args, int)
 
octave_value_list Fisfloat (const octave_value_list &args, int)
 
octave_value_list Fisinteger (const octave_value_list &args, int)
 
octave_value_list Fislogical (const octave_value_list &args, int)
 
octave_value_list Fismatrix (const octave_value_list &args, int)
 
octave_value_list Fisnumeric (const octave_value_list &args, int)
 
octave_value_list Fisreal (const octave_value_list &args, int)
 
octave_value_list Fisrow (const octave_value_list &args, int)
 
octave_value_list Fisscalar (const octave_value_list &args, int)
 
octave_value_list Fissorted (const octave_value_list &args, int)
 
octave_value_list Fissquare (const octave_value_list &args, int)
 
octave_value_list Fisvector (const octave_value_list &args, int)
 
octave_value_list Fldivide (const octave_value_list &args, int)
 
octave_value_list Fle (const octave_value_list &args, int)
 
octave_value_list Flength (const octave_value_list &args, int)
 
octave_value_list Flinspace (const octave_value_list &args, int)
 
octave_value_list Flog2 (const octave_value_list &args, int nargout)
 
octave_value_list Flt (const octave_value_list &args, int)
 
octave_value_list Fmerge (const octave_value_list &args, int)
 
octave_value_list Fminus (const octave_value_list &args, int)
 
octave_value_list Fmldivide (const octave_value_list &args, int)
 
octave_value_list Fmod (const octave_value_list &args, int)
 
octave_value_list Fmpower (const octave_value_list &args, int)
 
octave_value_list Fmrdivide (const octave_value_list &args, int)
 
octave_value_list Fmtimes (const octave_value_list &args, int)
 
octave_value_list FNA (const octave_value_list &args, int)
 
octave_value_list FNaN (const octave_value_list &args, int)
 
octave_value_list Fndims (const octave_value_list &args, int)
 
octave_value_list Fne (const octave_value_list &args, int)
 
octave_value_list Fnnz (const octave_value_list &args, int)
 
octave_value_list Fnorm (const octave_value_list &args, int)
 
octave_value_list Fnot (const octave_value_list &args, int)
 
octave_value_list Fnth_element (const octave_value_list &args, int)
 
octave_value_list Fnumel (const octave_value_list &args, int)
 
octave_value_list Fnzmax (const octave_value_list &args, int)
 
octave_value_list Fones (const octave_value_list &args, int)
 
octave_value_list For (const octave_value_list &args, int)
 
octave_value_list Fpermute (const octave_value_list &args, int)
 
octave_value_list Fpi (const octave_value_list &args, int)
 
octave_value_list Fplus (const octave_value_list &args, int)
 
octave_value_list Fpower (const octave_value_list &args, int)
 
octave_value_list Fprod (const octave_value_list &args, int)
 
octave_value_list Frdivide (const octave_value_list &args, int)
 
octave_value_list Frealmax (const octave_value_list &args, int)
 
octave_value_list Frealmin (const octave_value_list &args, int)
 
octave_value_list Frem (const octave_value_list &args, int)
 
octave_value_list Frepelems (const octave_value_list &args, int)
 
octave_value_list Freshape (const octave_value_list &args, int)
 
octave_value_list Fresize (const octave_value_list &args, int)
 
octave_value_list Frows (const octave_value_list &args, int)
 
octave_value_list Fsize (const octave_value_list &args, int nargout)
 
octave_value_list Fsize_equal (const octave_value_list &args, int)
 
octave_value_list Fsort (const octave_value_list &args, int nargout)
 
octave_value_list Fsqueeze (const octave_value_list &args, int)
 
octave_value_list Fsum (const octave_value_list &args, int)
 
octave_value_list Fsumsq (const octave_value_list &args, int)
 
octave_value_list Ftic (const octave_value_list &args, int nargout)
 
octave_value_list Ftimes (const octave_value_list &args, int)
 
octave_value_list Ftoc (const octave_value_list &args, int nargout)
 
octave_value_list Ftranspose (const octave_value_list &args, int)
 
octave_value_list Ftrue (const octave_value_list &args, int)
 
octave_value_list Fuminus (const octave_value_list &args, int)
 
octave_value_list Fuplus (const octave_value_list &args, int)
 
octave_value_list Fvec (const octave_value_list &args, int)
 
octave_value_list Fvertcat (const octave_value_list &args, int)
 
octave_value_list Fzeros (const octave_value_list &args, int)
 
template<typename MT >
octave_value identity_matrix (int nr, int nc)
 
template octave_value identity_matrix< boolNDArray > (int, int)
 
template octave_value identity_matrix< FloatNDArray > (int, int)
 
template octave_value identity_matrix< int16NDArray > (int, int)
 
template octave_value identity_matrix< int32NDArray > (int, int)
 
template octave_value identity_matrix< int64NDArray > (int, int)
 
template octave_value identity_matrix< int8NDArray > (int, int)
 
template octave_value identity_matrix< NDArray > (int, int)
 
template octave_value identity_matrix< uint16NDArray > (int, int)
 
template octave_value identity_matrix< uint32NDArray > (int, int)
 
template octave_value identity_matrix< uint64NDArray > (int, int)
 
template octave_value identity_matrix< uint8NDArray > (int, int)
 
template<typename T , typename ET >
void map_2_xlog2 (const Array< T > &x, Array< T > &f, Array< ET > &e)
 

Macro Definition Documentation

◆ BTYP_BRANCH

#define BTYP_BRANCH (   X,
  EX 
)
Value:
case btyp_ ## X: \
retval = do_repelems (x.EX ## _value (), r); \
break;
F77_RET_T const F77_DBLE * x
T * r
Definition: mx-inlines.cc:781

◆ DATA_REDUCTION

#define DATA_REDUCTION (   FCN)

Definition at line 933 of file data.cc.

◆ INSTANTIATE_EYE

#define INSTANTIATE_EYE (   T)     template octave_value identity_matrix<T> (int, int)

Definition at line 5391 of file data.cc.

◆ MAKE_INT_BRANCH [1/9]

#define MAKE_INT_BRANCH (   INTX)
Value:
else if (tval.is_ ## INTX ## _type () && fval.is_ ## INTX ## _type ()) \
{ \
retval = do_merge (mask, \
tval.INTX ## _array_value (), \
fval.INTX ## _array_value ()); \
}

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [2/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
{ \
X##NDArray a0 = args(0).X##_array_value (); \
X##NDArray a1 = args(1).X##_array_value (); \
retval = binmap<octave_##X,octave_##X,octave_##X> (a0, a1, rem, "rem"); \
} \
break
T rem(T x, T y)
Definition: lo-mappers.h:327

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [3/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
{ \
X##NDArray a0 = args(0).X##_array_value (); \
X##NDArray a1 = args(1).X##_array_value (); \
retval = binmap<octave_##X,octave_##X,octave_##X> (a0, a1, mod, "mod"); \
} \
break
T mod(T x, T y)
Definition: lo-mappers.h:294

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [4/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
if (isnative) \
retval = arg.X ## _array_value ().cumsum (dim); \
else \
retval = arg.array_value ().cumsum (dim); \
break;

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [5/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
if (isnative) \
retval = arg.X ## _array_value ().prod (dim); \
else \
retval = arg.array_value ().prod (dim); \
break;

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [6/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
if (isnative) \
retval = arg.X ## _array_value ().sum (dim); \
else \
retval = arg.X ## _array_value ().dsum (dim); \
break;

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [7/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
retval = argx.X ## _array_value ().nth_element (n, dim); \
break;
octave_idx_type n
Definition: mx-inlines.cc:761

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [8/9]

#define MAKE_INT_BRANCH (   X)
Value:
case btyp_ ## X: \
retval = do_accumarray_minmax (idx, vals.X ## _array_value (), \
n, ismin, zero.X ## _scalar_value ()); \
break;

Definition at line 8011 of file data.cc.

◆ MAKE_INT_BRANCH [9/9]

#define MAKE_INT_BRANCH (   X)
Value:
if (args(0).is_ ## X ## _type ()) \
{ \
const X##NDArray in = args(0). X## _array_value (); \
std::size_t inlen = in.numel () * sizeof (X## _t) / sizeof (char); \
const char *inc = reinterpret_cast<const char *> (in.data ()); \
char *out; \
if (base64_encode (inc, inlen, &out)) \
{ \
retval(0) = octave_value (out); \
::free (out); \
} \
}
bool base64_encode(const char *inc, const std::size_t inlen, char **out)
Definition: oct-base64.cc:39
void free(void *)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))

Definition at line 8011 of file data.cc.

Function Documentation

◆ do_class_concat()

◆ eps()

template<typename T >
T eps ( const T &  x)

◆ F__accumarray_max__()

octave_value_list F__accumarray_max__ ( const octave_value_list args,
int   
)

Definition at line 7861 of file data.cc.

◆ F__accumarray_min__()

octave_value_list F__accumarray_min__ ( const octave_value_list args,
int   
)

Definition at line 7852 of file data.cc.

◆ F__accumarray_sum__()

◆ F__accumdim_sum__()

octave_value_list F__accumdim_sum__ ( const octave_value_list args,
int   
)

◆ F__base64_decode_bytes__()

◆ F__sort_rows_idx__()

◆ Fall()

octave_value_list Fall ( const octave_value_list args,
int   
)

Definition at line 91 of file data.cc.

References error(), ovl(), and print_usage().

◆ Fand()

octave_value_list Fand ( const octave_value_list args,
int   
)

Definition at line 6766 of file data.cc.

◆ Fany()

octave_value_list Fany ( const octave_value_list args,
int   
)

Definition at line 156 of file data.cc.

References error(), ovl(), and print_usage().

◆ Fatan2()

octave_value_list Fatan2 ( const octave_value_list args,
int   
)

Definition at line 207 of file data.cc.

References err_wrong_type_arg(), error(), and print_usage().

◆ Fbase64_decode()

◆ Fbase64_encode()

◆ Fcat()

octave_value_list Fcat ( const octave_value_list args,
int   
)

Definition at line 2343 of file data.cc.

References error(), octave_value_list::length(), ovl(), and print_usage().

◆ Fcolon()

octave_value_list Fcolon ( const octave_value_list args,
int   
)

Definition at line 6804 of file data.cc.

References colon_op(), octave_value_list::length(), and print_usage().

◆ Fcolumns()

octave_value_list Fcolumns ( const octave_value_list args,
int   
)

Definition at line 3056 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fcomplex()

◆ Fcputime()

octave_value_list Fcputime ( const octave_value_list args,
int   
)

Definition at line 6971 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fctranspose()

octave_value_list Fctranspose ( const octave_value_list args,
int   
)

Definition at line 6459 of file data.cc.

◆ Fcumprod()

octave_value_list Fcumprod ( const octave_value_list args,
int   
)

Definition at line 1015 of file data.cc.

References DATA_REDUCTION.

◆ Fcumsum()

◆ Fdiag()

◆ Fdiff()

octave_value_list Fdiff ( const octave_value_list args,
int   
)

Definition at line 8283 of file data.cc.

References error(), octave_value_list::length(), and print_usage().

◆ Fe()

octave_value_list Fe ( const octave_value_list args,
int   
)

Definition at line 4951 of file data.cc.

◆ Feps()

◆ Feq()

octave_value_list Feq ( const octave_value_list args,
int   
)

Definition at line 6650 of file data.cc.

◆ Feye()

◆ Ffalse()

octave_value_list Ffalse ( const octave_value_list args,
int   
)

Definition at line 5306 of file data.cc.

◆ Ffull()

octave_value_list Ffull ( const octave_value_list args,
int   
)

Definition at line 6128 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fge()

octave_value_list Fge ( const octave_value_list args,
int   
)

Definition at line 6660 of file data.cc.

◆ Fgt()

octave_value_list Fgt ( const octave_value_list args,
int   
)

Definition at line 6670 of file data.cc.

◆ Fhorzcat()

octave_value_list Fhorzcat ( const octave_value_list args,
int   
)

Definition at line 2046 of file data.cc.

◆ Fhypot()

octave_value_list Fhypot ( const octave_value_list args,
int   
)

Definition at line 385 of file data.cc.

References print_usage().

◆ FI()

octave_value_list FI ( const octave_value_list args,
int   
)

Definition at line 5240 of file data.cc.

◆ FInf()

octave_value_list FInf ( const octave_value_list args,
int   
)

Definition at line 4792 of file data.cc.

◆ Fipermute()

octave_value_list Fipermute ( const octave_value_list args,
int   
)

Definition at line 2581 of file data.cc.

◆ Fiscolumn()

octave_value_list Fiscolumn ( const octave_value_list args,
int   
)

◆ Fiscomplex()

octave_value_list Fiscomplex ( const octave_value_list args,
int   
)

Definition at line 3434 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fisempty()

octave_value_list Fisempty ( const octave_value_list args,
int   
)

Definition at line 3810 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fisfloat()

octave_value_list Fisfloat ( const octave_value_list args,
int   
)

Definition at line 3466 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fisinteger()

octave_value_list Fisinteger ( const octave_value_list args,
int   
)

Definition at line 3379 of file data.cc.

References isinteger(), octave_value_list::length(), ovl(), and print_usage().

◆ Fislogical()

octave_value_list Fislogical ( const octave_value_list args,
int   
)

Definition at line 3347 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fismatrix()

octave_value_list Fismatrix ( const octave_value_list args,
int   
)

◆ Fisnumeric()

octave_value_list Fisnumeric ( const octave_value_list args,
int   
)

Definition at line 3832 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fisreal()

octave_value_list Fisreal ( const octave_value_list args,
int   
)

Definition at line 3796 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fisrow()

octave_value_list Fisrow ( const octave_value_list args,
int   
)

◆ Fisscalar()

octave_value_list Fisscalar ( const octave_value_list args,
int   
)

◆ Fissorted()

octave_value_list Fissorted ( const octave_value_list args,
int   
)

Definition at line 7431 of file data.cc.

References ASCENDING, octave_value_list::length(), and print_usage().

◆ Fissquare()

octave_value_list Fissquare ( const octave_value_list args,
int   
)

◆ Fisvector()

octave_value_list Fisvector ( const octave_value_list args,
int   
)

◆ Fldivide()

octave_value_list Fldivide ( const octave_value_list args,
int   
)

Definition at line 6746 of file data.cc.

◆ Fle()

octave_value_list Fle ( const octave_value_list args,
int   
)

Definition at line 6638 of file data.cc.

◆ Flength()

octave_value_list Flength ( const octave_value_list args,
int   
)

Definition at line 2596 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Flinspace()

◆ Flog2()

octave_value_list Flog2 ( const octave_value_list args,
int  nargout 
)

Definition at line 497 of file data.cc.

References err_wrong_type_arg(), f, log2(), map_2_xlog2(), ovl(), print_usage(), and x.

◆ Flt()

octave_value_list Flt ( const octave_value_list args,
int   
)

Definition at line 6628 of file data.cc.

◆ Fmerge()

◆ Fminus()

octave_value_list Fminus ( const octave_value_list args,
int   
)

Definition at line 6555 of file data.cc.

◆ Fmldivide()

octave_value_list Fmldivide ( const octave_value_list args,
int   
)

Definition at line 6618 of file data.cc.

◆ Fmod()

◆ Fmpower()

octave_value_list Fmpower ( const octave_value_list args,
int   
)

Definition at line 6603 of file data.cc.

◆ Fmrdivide()

octave_value_list Fmrdivide ( const octave_value_list args,
int   
)

Definition at line 6591 of file data.cc.

◆ Fmtimes()

octave_value_list Fmtimes ( const octave_value_list args,
int   
)

Definition at line 6575 of file data.cc.

◆ FNA()

octave_value_list FNA ( const octave_value_list args,
int   
)

Definition at line 5278 of file data.cc.

◆ FNaN()

octave_value_list FNaN ( const octave_value_list args,
int   
)

Definition at line 4880 of file data.cc.

◆ Fndims()

octave_value_list Fndims ( const octave_value_list args,
int   
)

◆ Fne()

octave_value_list Fne ( const octave_value_list args,
int   
)

Definition at line 6682 of file data.cc.

◆ Fnnz()

octave_value_list Fnnz ( const octave_value_list args,
int   
)

Definition at line 2960 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fnorm()

◆ Fnot()

octave_value_list Fnot ( const octave_value_list args,
int   
)

Definition at line 6395 of file data.cc.

◆ Fnth_element()

◆ Fnumel()

octave_value_list Fnumel ( const octave_value_list args,
int   
)

◆ Fnzmax()

octave_value_list Fnzmax ( const octave_value_list args,
int   
)

Definition at line 2996 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fones()

octave_value_list Fones ( const octave_value_list args,
int   
)

Definition at line 4627 of file data.cc.

◆ For()

octave_value_list For ( const octave_value_list args,
int   
)

Definition at line 6787 of file data.cc.

◆ Fpermute()

octave_value_list Fpermute ( const octave_value_list args,
int   
)

Definition at line 2562 of file data.cc.

◆ Fpi()

octave_value_list Fpi ( const octave_value_list args,
int   
)

Definition at line 5115 of file data.cc.

References atan().

◆ Fplus()

octave_value_list Fplus ( const octave_value_list args,
int   
)

Definition at line 6533 of file data.cc.

◆ Fpower()

octave_value_list Fpower ( const octave_value_list args,
int   
)

Definition at line 6733 of file data.cc.

◆ Fprod()

◆ Frdivide()

octave_value_list Frdivide ( const octave_value_list args,
int   
)

Definition at line 6715 of file data.cc.

◆ Frealmax()

octave_value_list Frealmax ( const octave_value_list args,
int   
)

Definition at line 5159 of file data.cc.

◆ Frealmin()

octave_value_list Frealmin ( const octave_value_list args,
int   
)

Definition at line 5198 of file data.cc.

◆ Frem()

◆ Frepelems()

◆ Freshape()

◆ Fresize()

◆ Frows()

octave_value_list Frows ( const octave_value_list args,
int   
)

Definition at line 3011 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fsize()

◆ Fsize_equal()

octave_value_list Fsize_equal ( const octave_value_list args,
int   
)

Definition at line 2935 of file data.cc.

References octave_value_list::length(), and ovl().

◆ Fsort()

◆ Fsqueeze()

octave_value_list Fsqueeze ( const octave_value_list args,
int   
)

Definition at line 6114 of file data.cc.

References octave_value_list::length(), ovl(), and print_usage().

◆ Fsum()

◆ Fsumsq()

octave_value_list Fsumsq ( const octave_value_list args,
int   
)

Definition at line 3315 of file data.cc.

References DATA_REDUCTION.

◆ Ftic()

octave_value_list Ftic ( const octave_value_list args,
int  nargout 
)

Definition at line 6868 of file data.cc.

References octave_value::double_value(), octave_value_list::length(), and warning().

◆ Ftimes()

octave_value_list Ftimes ( const octave_value_list args,
int   
)

Definition at line 6702 of file data.cc.

◆ Ftoc()

octave_value_list Ftoc ( const octave_value_list args,
int  nargout 
)

Definition at line 6907 of file data.cc.

References octave_value_list::length(), and print_usage().

◆ Ftranspose()

octave_value_list Ftranspose ( const octave_value_list args,
int   
)

Definition at line 6427 of file data.cc.

◆ Ftrue()

octave_value_list Ftrue ( const octave_value_list args,
int   
)

Definition at line 5341 of file data.cc.

◆ Fuminus()

octave_value_list Fuminus ( const octave_value_list args,
int   
)

Definition at line 6415 of file data.cc.

◆ Fuplus()

octave_value_list Fuplus ( const octave_value_list args,
int   
)

Definition at line 6405 of file data.cc.

◆ Fvec()

◆ Fvertcat()

octave_value_list Fvertcat ( const octave_value_list args,
int   
)

Definition at line 2288 of file data.cc.

◆ Fzeros()

octave_value_list Fzeros ( const octave_value_list args,
int   
)

Definition at line 4714 of file data.cc.

◆ identity_matrix()

template<typename MT >
octave_value identity_matrix ( int  nr,
int  nc 
)

Definition at line 5361 of file data.cc.

References m, min(), and n.

Referenced by Feye().

◆ identity_matrix< boolNDArray >()

template octave_value identity_matrix< boolNDArray > ( int  ,
int   
)

◆ identity_matrix< FloatNDArray >()

template octave_value identity_matrix< FloatNDArray > ( int  ,
int   
)

◆ identity_matrix< int16NDArray >()

template octave_value identity_matrix< int16NDArray > ( int  ,
int   
)

◆ identity_matrix< int32NDArray >()

template octave_value identity_matrix< int32NDArray > ( int  ,
int   
)

◆ identity_matrix< int64NDArray >()

template octave_value identity_matrix< int64NDArray > ( int  ,
int   
)

◆ identity_matrix< int8NDArray >()

template octave_value identity_matrix< int8NDArray > ( int  ,
int   
)

◆ identity_matrix< NDArray >()

template octave_value identity_matrix< NDArray > ( int  ,
int   
)

◆ identity_matrix< uint16NDArray >()

template octave_value identity_matrix< uint16NDArray > ( int  ,
int   
)

◆ identity_matrix< uint32NDArray >()

template octave_value identity_matrix< uint32NDArray > ( int  ,
int   
)

◆ identity_matrix< uint64NDArray >()

template octave_value identity_matrix< uint64NDArray > ( int  ,
int   
)

◆ identity_matrix< uint8NDArray >()

template octave_value identity_matrix< uint8NDArray > ( int  ,
int   
)

◆ map_2_xlog2()

template<typename T , typename ET >
void map_2_xlog2 ( const Array< T > &  x,
Array< T > &  f,
Array< ET > &  e 
)

Definition at line 448 of file data.cc.

References f, log2(), x, and Array< T, Alloc >::xelem().

Referenced by Flog2().