GNU Octave  4.0.0
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
__lin_interpn__.cc File Reference
#include "lo-ieee.h"
#include "dNDArray.h"
#include "oct-locbuf.h"
#include "defun.h"
#include "error.h"
#include "oct-obj.h"
Include dependency graph for __lin_interpn__.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list F__lin_interpn__ (const octave_value_list &args, int)
 
template<class T >
bool isvector (const T &array)
 
template<class 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<class T , class M >
octave_value lin_interpn (int n, M *X, const M V, M *Y)
 
template<class 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,
int   
)
template<class T >
bool isvector ( const T &  array)

Definition at line 39 of file __lin_interpn__.cc.

References dim_vector::length().

Referenced by install_data_fcns(), lin_interpn(), and xnorm().

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

Definition at line 127 of file __lin_interpn__.cc.

References lookup(), and OCTAVE_LOCAL_BUFFER.

Referenced by lin_interpn().

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

Definition at line 186 of file __lin_interpn__.cc.

References error(), isvector(), lin_interpn(), M, OCTAVE_LOCAL_BUFFER, octave_NA, scale(), size(), and x.

template<class T >
octave_idx_type lookup ( const T *  x,
octave_idx_type  n,
y 
)