FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmutl classes

function find_spline_point

^ 
Solve equation, specified by cubic spline.

Given f(x) function, scpecified by spline coefficients and reference points (see eval_spline_factors ), and y value, this function finds such x that f(x)=y. Solving performed using iteration method. No dead-cycle checks performed. For parameters description refer to build_spline .

Source:
../fmutl/mathlp.h:121
Author:
ATC
Version:
1.0
Params:
y function result.
precision required precision. Solving continues while |f(x)-y|>precision.
Returns:
searched x value.
See Also:
build_spline
Code:
public extern "C" FMUTL_API double find_spline_point ( double y ,
double precision ,
const double * in ,
const double * abcd ,
int in_sz ,
int in_stride ,
int abcd_stride ,
int abcd_step )

(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net