Action:
|
Gets all the roots of a given law over the given domain.
|
|
Prototype:
|
outcome api_nroots_of_law (
|
|
|
law* input_law,
|
// law to find the roots
|
|
|
|
|
// of
|
|
|
double start,
|
// start of the domain
|
|
|
double end,
|
// end of the domain
|
|
|
int* size,
|
// how many roots where
|
|
|
|
|
// found returned
|
|
|
double** answer
|
// returns where the
|
|
|
|
|
// maximum value is
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kernapi/api/kernapi.hxx"
|
|
#include "lawutil/law_base.hxx"
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Read-only
|