All Frameworks  Class Hierarchy  This Framework  Indexes

SPAkern Global Function api_ndifferentiate_law


outcome api_ndifferentiate_law(law* input_law,
double* where,
int which_dim,
double* answer,
int type= 0,
int times= 1 )
Numerically differentiates a law at a given point with respect to a given variable a given number of times.

Role: The derivative may be taken from both sides or just from the left or right.

Effect: Read-only.

Journal: Not Available

Parameters:
input_law
the law to differentiate.
where
where to take the derivative.
which_dim
which variable to take the derivative with respect to.
answer
the result of the differentiation.
type
0 = normal, 1 = from the left, 2 = from the right.
times
how many times to take the derivative.

This object is included in the file: kernapi.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.