GNU Octave  4.2.1
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
Functions 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

OCTAVE_EXPORT octave_value_list F__lin_interpn__ ( const octave_value_list args,

Definition at line 265 of file

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

Referenced by install___lin_interpn___fcns().

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

Definition at line 39 of file

References dv, and dim_vector::ndims().

Referenced by lin_interpn(), and xnorm().

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, lookup(), m, and OCTAVE_LOCAL_BUFFER.

Referenced by lin_interpn().

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(), isvector(), lin_interpn(), M, OCTAVE_LOCAL_BUFFER, octave_NA, retval, scale(), size, tmp, x, and y.

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