![]() |
MaCh3
2.4.2
Reference Guide
|
CW: Reduced TSpline3 class. More...
#include <Splines/SplineStructs.h>
Public Member Functions | |
| TSpline3_red () | |
| Empty constructor. More... | |
| TSpline3_red (TSpline3 *&spline, SplineInterpolation InterPolation=kTSpline3) | |
| The constructor that takes a TSpline3 pointer and copies in to memory. More... | |
| TSpline3_red (M3::float_t *X, M3::float_t *Y, M3::int_t N, M3::float_t **P) | |
| constructor taking parameters More... | |
| void | SetFunc (TSpline3 *&spline, SplineInterpolation InterPolation=kTSpline3) |
| Set the function [26]. More... | |
| virtual | ~TSpline3_red () |
| Empty destructor. More... | |
| int | FindX (double x) |
| Find the segment relevant to this variation in x. More... | |
| double | Eval (double var) override |
| CW: Evaluate the weight from a variation. More... | |
| M3::int_t | GetNp () override |
| CW: Get the number of points. More... | |
| void | GetKnot (int i, M3::float_t &xtmp, M3::float_t &ytmp) |
| void | GetCoeff (int segment, M3::float_t &x, M3::float_t &y, M3::float_t &b, M3::float_t &c, M3::float_t &d) |
| CW: Get the coefficient of a given segment. More... | |
| TSpline3 * | ConstructTSpline3 () |
| CW: Make a TSpline3 from the reduced splines. More... | |
| void | Print () override |
| Print detailed info. More... | |
Public Member Functions inherited from TResponseFunction_red | |
| TResponseFunction_red () | |
| Empty constructor. More... | |
| virtual | ~TResponseFunction_red () |
| Empty destructor. More... | |
Protected Attributes | |
| M3::int_t | nPoints |
| Number of points/knot in TSpline3. More... | |
| M3::float_t ** | Par |
| Always uses a third order polynomial, so hard-code the number of coefficients in implementation. More... | |
| M3::float_t * | XPos |
| Positions of each x for each knot. More... | |
| M3::float_t * | YResp |
| y-value for each knot More... | |
CW: Reduced TSpline3 class.
Definition at line 265 of file SplineStructs.h.
|
inline |
Empty constructor.
Definition at line 269 of file SplineStructs.h.
|
inline |
The constructor that takes a TSpline3 pointer and copies in to memory.
Definition at line 277 of file SplineStructs.h.
|
inline |
constructor taking parameters
Definition at line 285 of file SplineStructs.h.
|
inlinevirtual |
Empty destructor.
Definition at line 655 of file SplineStructs.h.
|
inline |
CW: Make a TSpline3 from the reduced splines.
Definition at line 737 of file SplineStructs.h.
|
inlineoverridevirtual |
CW: Evaluate the weight from a variation.
Implements TResponseFunction_red.
Definition at line 707 of file SplineStructs.h.
|
inline |
Find the segment relevant to this variation in x.
Definition at line 673 of file SplineStructs.h.
|
inline |
|
inline |
Definition at line 722 of file SplineStructs.h.
|
inlineoverridevirtual |
CW: Get the number of points.
Implements TResponseFunction_red.
Definition at line 720 of file SplineStructs.h.
|
inlineoverridevirtual |
Print detailed info.
Implements TResponseFunction_red.
Definition at line 758 of file SplineStructs.h.
|
inline |
Set the function [26].
Definition at line 311 of file SplineStructs.h.
|
protected |
Number of points/knot in TSpline3.
Definition at line 769 of file SplineStructs.h.
|
protected |
Always uses a third order polynomial, so hard-code the number of coefficients in implementation.
Definition at line 771 of file SplineStructs.h.
|
protected |
Positions of each x for each knot.
Definition at line 773 of file SplineStructs.h.
|
protected |
y-value for each knot
Definition at line 775 of file SplineStructs.h.