IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#225 closed defect (fixed)

SplineEval, PolyEval, argument order.

Reported by: gusciora@… Owned by: eugene
Priority: high Milestone:
Component: IPP SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

The following are example instances of these functions:

psPolynomial1DEval(x, myPoly);
psSpline1DEval(mySpline, x);

note how the order of the arguments differs. Should we correct this order?

Change History (3)

comment:1 by eugene, 22 years ago

Resolution: fixed
Status: newclosed

I've rationalized this by having all of these evaluation functions specify the
function to be evaluated first followed by the coordinate(s).

double psDPolynomial1DEval(const psDPolynomial1D *restrict f, double x);
psVector *psDPolynomial1DEvalVector(const psDPolynomial1D *f, const psVector *x);
psF64 psSpline1DEval(const psSpline1D *spline, float x);
psVector *psSpline1DEvalVector(const psSpline1D *spline, const psVector *x);

comment:2 by Paul Price, 22 years ago

Keywords: VERIFIED added

Closing subsequent to release of SDRS-08, ADD-07.

comment:3 by Paul Price, 22 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.