module NumRu::Stg_deriv in staggered_deriv.rb

This module contains methods for treating staggered grided data.

todo

cderiv(z, x, dim, delta, center=true, bc=nil)

Derivate z respect to dim th dimension with center difference. return an NArray which result of the difference z divided difference x ( in other wards, (z_{i+1} - z_{i-1}) / (x_{i+1} - x_{i-1}): now _{i} represents the suffix of {i} th element in the dim th dimension of array. ).

ARGUMENTS

RETURN VALUE

b_expand_linear_ext(z, dim, exp_nm, center=nil)