FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Static Public Member Functions | List of all members
Fiber::DeriveArray< Interpol, DerivativeDimension, Delimiter > Struct Template Reference

Compute the partial derivative of a multidimensional array. More...

#include <DeriveArray.hpp>

Static Public Member Functions

template<int N, class Type >
static void compute (MultiArray< N, Type > &result, const MultiArray< N, Type > &D)
 
template<int N, class Type >
static bool computeNthDerivative (MultiArray< N, Type > &result, const MultiArray< N, Type > &D, int NthDerivative)
 Compute the 1st derivate of the given array in the nth dimension.
 

Detailed Description

template<class Interpol, int DerivativeDimension, class Delimiter = NoDelimiter<typename Interpol::value_type>>
struct Fiber::DeriveArray< Interpol, DerivativeDimension, Delimiter >

Compute the partial derivative of a multidimensional array.

Member Function Documentation

◆ computeNthDerivative()

template<class Interpol , int DerivativeDimension, class Delimiter = NoDelimiter<typename Interpol::value_type>>
template<int N, class Type >
static bool Fiber::DeriveArray< Interpol, DerivativeDimension, Delimiter >::computeNthDerivative ( MultiArray< N, Type > &  result,
const MultiArray< N, Type > &  D,
int  NthDerivative 
)
inlinestatic

Compute the 1st derivate of the given array in the nth dimension.

Note that this is not the nth derivate, but N relates to the dimension. This will always be just a derivation of 1st order.

References Fiber::DeriveArray< Interpol, DerivativeDimension, Delimiter >::computeNthDerivative().

Referenced by Fiber::DeriveArray< Interpol, DerivativeDimension, Delimiter >::computeNthDerivative().