Action:
|
Creates a quintic law given {a,b,f(a),f(b),f'(a),f'(b) f''(a) f''(b)}.
|
|
Prototype:
|
outcome api_make_quintic (
|
|
|
double aval,
|
// a value
|
|
|
double bval,
|
// b value
|
|
|
double faval,
|
// f at a
|
|
|
double fbval,
|
// f at b
|
|
|
double ffaval,
|
// 1st deriv of f at a
|
|
|
double ffbval,
|
// 1st deriv of f at b
|
|
|
double fffaval,
|
// 2nd deriv of f at a
|
|
|
double fffbval,
|
// 2nd deriv of f at b
|
|
|
law*& answer
|
// ptr to law
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kernapi/api/kernapi.hxx"
|
|
#include "lawutil/law_base.hxx"
|
|
Description:
|
Produces a quintic polynomial with given boundary conditions for it, its first derivative, and its second derivative. The user supplies the boundary values
a and
b, the desired output of the law at
a and
b (e.g.,
f_a and
f_b), the desired output of the first derivative at
a and
b (e.g.,
df_a and
df_b), and the desired output of the second derivative at
a and
b (e.g.,
ddf_a and
ddf_b). The result is a quintic polynomial meeting these boundary conditions.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Read-only
|