Action:
|
Creates a linear law given {a,b,f(a),f(b)}.
|
|
Prototype:
|
outcome api_make_linear (
|
|
|
double aval,
|
// a value
|
|
|
double bval,
|
// b value
|
|
|
double faval,
|
// f at a
|
|
|
double fbval,
|
// 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 linear polynomial with given boundary conditions for both its output. The user supplies the boundary values
a and
b and the desired output of the law at
a and
b (e.g.,
f_a and
f_b). The result is a linear polynomial meeting these boundary conditions.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Changes model
|