Action:
|
Creates a polynomial law.
|
|
Prototype:
|
outcome api_make_polynomial_law (
|
|
|
double* coeff,
|
// array of coefficients
|
|
|
int degree,
|
// maximum degree of
|
|
|
|
|
// polynomial
|
|
|
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:
|
Given an array of coefficients and the maximum degree for the polynomial, this creates a law that represents the associated polynomial.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Read-only
|