GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab File Reference
#include "lo-ieee.h"
#include "dNDArray.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "error.h"
#include "ovl.h"
Include dependency graph for

Go to the source code of this file.


OCTAVE_EXPORT octave_value_list F__lin_interpn__ (const octave_value_list &args, int)
template<typename T >
bool isvector (const T &array)
template<typename T >
void lin_interpn (int n, const octave_idx_type *size, const octave_idx_type *scale, octave_idx_type Ni, T extrapval, const T **x, const T *v, const T **y, T *vi)
template<typename T , typename M >
octave_value lin_interpn (int n, M *X, const M V, M *Y)
template<typename T >
octave_idx_type lookup (const T *x, octave_idx_type n, T y)

Function Documentation

◆ F__lin_interpn__()

OCTAVE_EXPORT octave_value_list F__lin_interpn__ ( const octave_value_list args,

Definition at line 265 of file

References dims, error(), i, OCTAVE_LOCAL_BUFFER, print_usage(), retval, and V.

◆ isvector()

template<typename T >
bool isvector ( const T &  array)

Definition at line 39 of file

References array(), dv, and dim_vector::ndims().

Referenced by lin_interpn().

◆ lin_interpn() [1/2]

template<typename T >
void lin_interpn ( int  n,
const octave_idx_type size,
const octave_idx_type scale,
octave_idx_type  Ni,
const T **  x,
const T *  v,
const T **  y,
T *  vi 

Definition at line 127 of file

References c, i, lookup(), OCTAVE_LOCAL_BUFFER, scale(), x, and y.

Referenced by lin_interpn().

◆ lin_interpn() [2/2]

template<typename T , typename M >
octave_value lin_interpn ( int  n,
M X,
const M  V,
M Y 

Definition at line 185 of file

References dims, error(), i, isvector(), lin_interpn(), M, OCTAVE_LOCAL_BUFFER, octave_NA, retval, scale(), tmp, V, x, and y.

◆ lookup()

template<typename T >
octave_idx_type lookup ( const T *  x,
octave_idx_type  n,