api_ndifferentiate_law
List of: Functions
Subjects: Analyzing Models, Geometric Analysis, Laws
Contents: Kernel

Action: Numerically differentiates a law at a given point with respect to a given variable a given number of times.

Prototype: outcome api_ndifferentiate_law (


law* input_law, // law to differentiate


double* where, // where to take the




// derivative


int which_dim, // which variable to take




// the derivative with




// respect to


double* answer, // 0 = normal, 1 = from




// the left, 2- from the




// right


int type // how many times to take



= 0, // the derivative


int times // value of



= 1 // differentiation




// returned


);

Includes: #include "kernel/acis.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kernapi/api/kernapi.hxx"

#include "lawutil/law_base.hxx"

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

Library: kernel

Filename: kern/kernel/kernapi/api/kernapi.hxx

Effect: Read-only
PDF/KERN/16FNA.PDF
HTM/DATA/KERN/KERN/16FNA/0101.HTM