Return approximation of derivative by a two-sided difference quotient (if size(u,1)=1, zero is returned)
function derTwoSided input Real u[:]; input Real y[size(u, 1)]; output Real der_y[size(u, 1)] "dy/du"; end derTwoSided;
Date | Description | ||
---|---|---|---|
June 22, 2015 |
|