#include <spline.h>
Inheritance diagram for Spline:

Public Types | |
| enum | childrenToo { no, all, thoseReady, yes } |
Public Member Functions | |
| void | add (int, double) |
| add x to ydat[k] | |
| void | addChild (Spline *c) |
| adds another Child to the Child-map | |
| void | arm (childrenToo=no, bool keepSize=false, int=0) |
| double | average () |
| double | average (double b) |
| double | average (double a, double b, double to=1e-6) |
| double | back (int k) const |
| double | back () const |
| void | checkConvolutionRange (Spline *p, double *, double *, const double, const double) |
| void | checkSpace (int=-2) |
| void | checksum () |
| double | ck (double x) |
| double | conv (const double) |
| romberg-convolution integrand | |
| void | convD (const double, const double *, double *) |
| usual convolution integrand | |
| double | convolution (Spline *, double, double, double=1e-4, double=1.0, double=1.0) |
| double | convolutionResult () |
| double | convOneDim (const double) |
| void | convVektor2 (const double, const double *, double *) |
| new version | |
| void | createChecksum () |
| void | derive (Spline &s, childrenToo=no) |
| void | disarm (childrenToo=no, bool keepSize=false) |
| deletes the spline-interpolation table | |
| void | div (int k, double x) |
| call mul(1/x) | |
| void | dump (ofstream &, bool=true) |
| void | dump () |
| void | dump (string, childrenToo InterpolatedAlso=no) |
| void | dump (string, bool) |
| void | dumpConvolution (Spline *, double, double, double, double, const char *) |
| void | error (string, string, int=1234) const |
| shows this spline, mother and a lot of information | |
| void | explizit () |
| double | fastSplint (double xa[], double x, int *guess) |
| Spline interpolation Nrecipes + guess for next Spline interpolation, modified version that uses sequential search starting from a guess, instead of interval halfing. | |
| double | fastY (const double x) |
| stub to operator() | |
| double | findZero (double a, double b, double=1e-5) |
| double | findZeroBetween (const int a, const int b, double=1e-5, const double zl=0.0) |
| int | first () const |
| index of first data-point | |
| double | fitNeeds (const pair< double, double >) |
| Fits cubic splines to y and interpolates first derivs at grid points dy. | |
| void | fitToSingle (const pair< double, double >) |
| void | flip () |
| flip the x axis, i.e. make first last and so on | |
| double | front (int k) const |
| double | front () const |
| double | generatedAt () const |
| void | generateSplineXXL (Spline *e, vector< Spline * > &v, vector< Spline * > &p, const double k) |
| Spline * | getChild (string) |
| return child with name s. If there are more than a few, this is costy !!! | |
| void | getData (const Spline &, childrenToo=no) |
| Copy x (if necessary) and y data from another spline, set n. If spline does not have own x-data, the copy uses mothers-xdata. | |
| void | getExtrema (list< double > *, list< double > *, int a=0, int b=0, const double tol=1e-5) |
| void | getMaxima (list< double > *, int a=0, int b=0, const double tol=1e-5) |
| void | getMinima (list< double > *, int a=0, int b=0, const double tol=1e-5) |
| int | getZeroArray (int a, const int b, double *, const int, const double tol=1e-5, double zl=0.0) |
| list< double > * | getZeroList (const double zl=0.0, const double tol=1e-2, int a=0, int b=0) |
| vector< double > | getZeroVector (const double zl=0.0, const double tol=1e-2, int a=0, int b=0) |
| convenience wrapper for getZeroList() | |
| double | inBetweenY (double) |
| int | indexToLeft (const double x) const |
| return the largest i with x(i) <= x | |
| int | indexToRight (const double x) const |
| index of last data-point return the smallest i with x(i) >= x | |
| double | inte (const double) |
| romberg-integration integrand | |
| void | inteD (const double, const double *, double *) |
| odeint integration integrand | |
| double | integrate (double tol=1e-6) |
| double | integrate (double a, double b, double tol=1e-6) |
| double | inteOneDim (const double) |
| bool | isArmed () const |
| bool | isWithinBounds (const double x) |
| true, if x value is within the boundaries of spline data | |
| int | last () const |
| double | maximum () |
| return x of the largest maximum in this spline *including* the boundaries, if they are higher | |
| void | merge (Spline &s, const bool=true) |
| void | merge (const double *, const int, const bool=true, const double *=0, const double keepSize=true) |
| double | minimum () |
| return x of the smallest minimum in this spline *including* the boundaries, if they are below | |
| void | motherKilled () |
| if mother is killed | |
| void | mul (int k, double x) |
| multiply ydat[k] by x | |
| const Spline & | operator *= (const double x) |
| Scalar multiply all ydat[] by const double x. | |
| double | operator() (const double) |
| Fast and caching access to the interpolation value. Should usesually be the one to call (not splint() or fastSplint()). | |
| const Spline & | operator+= (const double x) |
| add x to all ydat[] | |
| double | operator[] (const int n) |
| void | origSpline (double x[], double y[], int, int n, double yp1, double ypn, double y2[]) |
| void | printStatus () const |
| void | proper () |
| double * | ptrY () |
| double * | ptrY (int) |
| returns pointer to element i of ydat. Also adjusts n. | |
| double | randomY (double) |
| return interpolation at point x. use this instead of operator (), if you know that the access is random | |
| double | range (int step=1) |
| return (last-first)/step (useful for for-loops) | |
| void | rearm (bool keepSize=true) |
| void | removeChild (Spline *c) |
| removes a child from the childmap | |
| void | resize (int) |
| allocates arrays for x and y and copies existing data to these | |
| double | safeY (const double x) |
| used by derive to keep within spline boundaries | |
| void | save (const string &) |
| save spline x and y data to a file | |
| void | save (ofstream &) |
| save spline x and y data to file | |
| void | set (const map< double, double > &m) |
| void | set (const map< float, float > &m) |
| void | set (const double) |
| new data point (y) for a spline that shares the xdata with mother and sisters | |
| void | set (const double, const double) |
| new data point (x,y) for a spline that owns its xdata | |
| void | setChildrensN (int k=-2) |
| Call setN() for all children. All precautions of setN are true here, too. | |
| void | setForce (double x, double y) |
| void | setKillChildrenWhenDying (childrenToo c) |
| void | setMother (Spline &) |
| void | setN (int k=-2) |
| Set n of this spline. | |
| void | setName (string s) |
| set's the splines name | |
| void | setX (double x) |
| sets next X | |
| void | setX (int, double) |
| set xdat[index] to x | |
| void | setY (int, double) |
| sets ydat[index] to y | |
| int | size () const |
| the size i.e. n+1 | |
| void | smoothen (int k=1, int m=2) |
| smoothen the spline within k neigbouring points to the left and k to the right and 2*m*k + 1 points in this range | |
| void | Splder (double *, double *, const int) |
| initialize whatever... | |
| void | splder (Spline &s) |
| Spline (moSingle, const Mathobject &, Spline *, string name, Anchor *=0) | |
| use function moSingle to create a spline at x-data of another spline | |
| Spline (ifstream &i, string="unnamed", Anchor *=0) | |
| read data from file (i.e re-create a spline from the save() data ) | |
| Spline (const Spline &) | |
| Create a Spline that is an exact copy of the Spline in the argument. | |
| Spline (const Spline &, string, Anchor *=0) | |
| Construct a Spline that has its own data, is un-armed, has no children and otherwise gets its x and y data from the Spline in the argument. | |
| Spline (Spline *, string="unnamed", Anchor *=0) | |
| Spline (const int=1000, string="unnamed", Anchor *=0) | |
| void | splini () |
| double | splint (double xa[], double x, int *guess) |
| double | start (int k) const |
| Return last x. | |
| double | start () const |
| double | stepInt (int a, int b) |
| double | stepIntegrate () |
| double | stepIntegrate (double a, double b) |
| double | stop (int k) const |
| double | stop () const |
| Return first x. | |
| double | x (int k) const |
| return xdat[k] | |
| double | y (int) const |
| return ydat[k] | |
| ~Spline () | |
Static Public Member Functions | |
| static void | armVector (vector< Spline * > &) |
| static void | disarmVector (vector< Spline * > &) |
| static vector< Spline * > * | expandVector (vector< Spline * > &, vector< Spline * > &, int total) |
| Equally -spaced expansion of the spline vector. | |
| static vector< Spline * > * | expandVectorBetween (vector< Spline * > &, vector< Spline * > &, int between) |
| Generate "between" splines between each existing pair of spines in v. | |
| static void | generateAndDump (vector< Spline * > &v, vector< Spline * > &p, string, const double k) |
| static void | generateChildren (vector< Spline * > &, Spline *, const unsigned int, const string) |
| static void | generateFamily (vector< Spline * > &, const unsigned int, const int, const string) |
| static void | generateOne2OneChild (vector< Spline * > &, vector< Spline * > &, const string) |
| static void | generateSisters (vector< Spline * > &, const unsigned int, const int, const string) |
| static void | generateSpline (Spline *e, vector< Spline * > &v, vector< Spline * > &p, const double k, bool=false) |
| static void | kill (Spline *) |
| static void | printWatchMap () |
| output how many splines with what name are currently alive | |
| static void | vectorConvolution2 (Spline *, double, double, double=1e-4, double=1.0, double=1.0, double hnext=0) |
| convolution function for family convolution type: moDerivs | |
Public Attributes | |
| double | a |
| double | a3a |
| int | acc |
| Counter for operator() this is for perfomance monitoring. | |
| bool | armed |
| double | b |
| caching these for children's use | |
| double | b3b |
| int | cC |
| double | checkSm |
| double | checkSm2 |
| bool | childExists |
| if the spline data is calculated if children is not empty | |
| map< Spline *, Spline * > | children |
| a map of children, if there are any | |
| double | convResult |
| the result of a family convolution, if requested | |
| double | gen |
| int | generated |
| int | guess |
| set by splint and fastsplint to have faster access in subconsequent calls | |
| double | h |
| double | h26 |
| int | khi |
| caching these for children's use | |
| childrenToo | killChildrenWhenDying |
| int | klo |
| int | lastarm |
| keep track of last arm-position for rearm(), if you want to use this feature... | |
| double | lastX |
| int | maxDim |
| Spline * | mother |
| if there is a mother, its this | |
| int | n |
| string | name |
| the name (useful for debugging) | |
| int | nvc |
| bool | own |
| if the xdat belongs to the spline, i.e. mother ==0. Own does not say, that xdat is a valid pointer, it may be 0, if for instance, mother is killed, own will be true, but the pointer will be set to zero | |
| double * | sdat |
| bool | splgValid |
| derive() needs the splg[] array, which is initialized if it is not valid | |
| int | splintcC |
| bool | valid |
| if the xdat pointer is valid, i.e. own or mother alive And valid | |
| bool | validCache |
| int | vc |
| double * | xdat |
| double * | ydat |
Static Public Attributes | |
| static vector< Spline * > | convolutionVektor |
| static Spline * | convTwin |
| for the specialised twin convolution, the second twin | |
| static double * | convXdat |
| for vectorConvolution this is the pointer to the actual x-data. Either taken fom the first spline in convolutionVektor or its mother | |
| static double | faktor |
| and a faktor for x in convolution | |
| static unsigned int | nvar |
| The size of the convolution vector. | |
| static Spline * | partner |
| convolutions partner spline | |
| static double | shift |
| a shift in integration | |
| static double | splg [20010] |
| splini and splder need it... | |
| static int | WatchCount = 0 |
| If spline is compiled with ENABLE_SPLINE_WATCH, counts number of splines alive. | |
| static map< string, int > | WatchMap |
| If compiled with ENABLE_SPLINE_WATCH, tracks number of splines with that name. | |
| static double | zeroLevel |
It is fast, efficient and stable.
example.arm();
double y = example(0.12345);
example *= 0.3; // multiply all y-data by 0.3 example += 5; // and add a constant 5 to it
example.mul(7,0.3); example.mul(8,0.5);
for (int i = 0; i < example.size(); i++) example.mul(i, sin(example.x(i)*example.x(i));
double y = Sine.integrate(); // whole x -range double y2 = Sine.integrate(-1,1); // x = -1... 1 double y3 = Sine.average(); // integrate and divide by x range
Definition at line 185 of file spline.h.
|
|
|
|
||||||||||||||||
|
Constructor for an independent spline (owning its x-data). You may specify the initial size of the x and y data arrays as well as a name, which is useful if something goes wrong, cause error can tell you which spline actually crashed. The initial size is not too important, as the spline will dynamically allocate more memory if needed, also, when arm()ed, the spline will free access space. Definition at line 19 of file mathobject/spline.cc. References name, WatchCount, WatchMap, xdat, and ydat. Referenced by expandVectorBetween(), generateAndDump(), generateChildren(), generateFamily(), generateOne2OneChild(), generateSisters(), and getExtrema(). |
|
||||||||||||||||
|
Definition at line 35 of file mathobject/spline.cc. References addChild(), error(), maxDim, mother, name, own, WatchCount, WatchMap, and ydat. |
|
||||||||||||||||
|
Construct a Spline that has its own data, is un-armed, has no children and otherwise gets its x and y data from the Spline in the argument. This constructor is in some ways superior to the Spline(const Spline&), because it only is a copy w.r.t to the data. Definition at line 68 of file mathobject/spline.cc. References getData(), maxDim, name, WatchCount, WatchMap, xdat, and ydat. |
|
|
Create a Spline that is an exact copy of the Spline in the argument.
Definition at line 52 of file mathobject/spline.cc. References all, armed, error(), getData(), maxDim, name, own, sdat, WatchCount, WatchMap, xdat, and ydat. |
|
||||||||||||||||
|
read data from file (i.e re-create a spline from the save() data )
Definition at line 80 of file mathobject/spline.cc. |
|
||||||||||||||||||||||||
|
use function moSingle to create a spline at x-data of another spline Create a spline as child of mother s using (naturally) mother x-data and y-data coming from calls of moSingle func(x-data) This is an ultra - convenient way of generating mappings of splines using arbitrary functions :-) Definition at line 107 of file mathobject/spline.cc. References addChild(), error(), maxDim, mother, n, name, own, WatchCount, WatchMap, x(), and ydat. |
|
|
Definition at line 127 of file mathobject/spline.cc. References all, children, and killChildrenWhenDying. |
|
||||||||||||
|
add x to ydat[k]
Definition at line 1625 of file mathobject/spline.cc. References maxDim, n, printStatus(), and ydat. Referenced by AllSkyLensing::oneAngle(). |
|
|
adds another Child to the Child-map
Definition at line 245 of file spline.h. References wmap_tt_beam_ptsrc_chisq::c, childExists, and children. Referenced by setMother(), and Spline(). |
|
||||||||||||||||
|
|
Definition at line 1669 of file mathobject/spline.cc. References arm(). Referenced by SplineWeb::arm(), SplineWeb::createAlongX(), SplineWeb::createAlongY(), SplineWeb::dumpAlongX(), SplineWeb::dumpAlongY(), SplineWeb::fitToSingleAlongX(), and SplineWeb::fitToSingleAlongY(). |
|
|
Definition at line 419 of file spline.h. References stop(). Referenced by average(). |
|
|
|
|
||||||||||||||||
|
Definition at line 1064 of file mathobject/spline.cc. References integrate(). Referenced by QuintCosmos::printStatus(), and QuintCosmos::weff(). |
|
|
|
|
|
Definition at line 367 of file spline.h. Referenced by safeY(). |
|
||||||||||||||||||||||||
|
Definition at line 984 of file mathobject/spline.cc. References cC, faktor, max(), min(), n, partner, shift, start(), stop(), WARN, and x(). Referenced by convolution(), dumpConvolution(), and vectorConvolution2(). |
|
|
Definition at line 513 of file mathobject/spline.cc. |
|
|
After you have creatChecksum()ed, you can call checksum(). It will reevaluate and if the checksums do not coincide, throw a Bad_Error Definition at line 367 of file mathobject/spline.cc. |
|
|
Definition at line 252 of file spline.h. Referenced by checksum(), and createChecksum(). |
|
|
romberg-convolution integrand
|
|
||||||||||||||||
|
usual convolution integrand
Definition at line 709 of file mathobject/spline.cc. References cC, faktor, and shift. Referenced by convolution(). |
|
||||||||||||||||||||||||||||
|
Convolute this Spline with a partner Spline p. The Convolution starts at start and ends at end, and has the tolerance tol. In principle this looks like: ^end this(x) times partner(fak * x + shft) dx So fak(tor) and sh(i)ft give additional freedom to convolute shifted and streched partners. Definition at line 699 of file mathobject/spline.cc. References checkConvolutionRange(), convD(), Miscmath::rungeInt(), and y(). |
|
|
Definition at line 463 of file spline.h. References convResult. |
|
|
Definition at line 972 of file mathobject/spline.cc. |
|
||||||||||||||||
|
new version
Definition at line 822 of file mathobject/spline.cc. References a, a3a, b, b3b, convolutionVektor, faktor, fastSplint(), guess, h26, khi, klo, nvar, own, partner, shift, validCache, and xdat. |
|
|
Kept for debugging purposes. If You think something very strange is going on, you can ask the spline to build checksums of its y and s data. Hence you will be able to notice memory corruptions Definition at line 348 of file mathobject/spline.cc. |
|
||||||||||||
|
Fill spline s with data of derivatives of this spline. In contrast to splder(), no equally spaced points are assumed and the spline function is evaluated, nothing else.... The x-data does not have to coincide (spline s should however lie in the definition range of this spline) If spline s has no xdata, the xdata of this spline is taken. Definition at line 643 of file mathobject/spline.cc. References Miscmath::dfridr(), maxDim, n, own, safeY(), valid, x(), xdat, and ydat. Referenced by getExtrema(), distCosmos::history(), Arthur::prepare(), and AnalyzeThis::Sn1aCore(). |
|
||||||||||||
|
deletes the spline-interpolation table
Definition at line 237 of file mathobject/spline.cc. References all, armed, childExists, children, own, sdat, and validCache. Referenced by AnalyzeThis::ACBARChi2WithCalibration(), AnalyzeThis::CBIChi2WithCalibration(), AnalyzeThis::CBIMosaicChi2WithCalibration(), FlatSkyLensing::cllens_(), disarmVector(), smoothen(), AnalyzeThis::TwoDF_bestBias(), AnalyzeThis::VSAChi2WithCalibration(), and AnalyzeThis::WMAPNormalize(). |
|
|
Definition at line 1670 of file mathobject/spline.cc. References disarm(). Referenced by SplineWeb::disarm(), SplineWeb::fitToSingleAlongX(), and SplineWeb::fitToSingleAlongY(). |
|
||||||||||||
|
call mul(1/x)
Definition at line 339 of file spline.h. References mul(). Referenced by FlatSkyLensing::cllens_(). |
|
||||||||||||
|
Write spline data to ofstream o, If bool only is false, 10 interpolated points per spline - data point are written (to give a smoother picture Definition at line 312 of file mathobject/spline.cc. |
|
|
Definition at line 298 of file mathobject/spline.cc. |
|
||||||||||||
|
Wrapper for dump(string,bool). Reason: I can never remember, if bool has to be true or false to get in addition to name.dat a file name.plt with interpolated spline values in addition. So I now use the plain-text attribute "yes" and "no" Definition at line 273 of file mathobject/spline.cc. |
|
||||||||||||
|
Write spline data to file called "nam.dat". If bool only is false, it will also create a file "nam.plt" containing 10 times as many points interpolated from this spline Definition at line 283 of file mathobject/spline.cc. References dump(). Referenced by AnalyzeThis::ACBARChi2WithCalibration(), AnalyzeThis::CBIMosaicChi2WithCalibration(), Cosmos::dumpPower(), SplineWeb::fitToSingleAlongX(), generateAndDump(), distCosmos::history(), and Cosmos::history(). |
|
||||||||||||||||||||||||||||
|
Print the convolution integrand of this and partner to file datei Definition at line 907 of file mathobject/spline.cc. References checkConvolutionRange(), par, and x(). |
|
||||||||||||||||
|
shows this spline, mother and a lot of information
Definition at line 1559 of file mathobject/spline.cc. References mother, own, and printStatus(). Referenced by arm(), checkSpace(), convOneDim(), dump(), fastSplint(), fitNeeds(), getChild(), getData(), getZeroArray(), indexToLeft(), indexToRight(), merge(), motherKilled(), operator()(), proper(), ptrY(), randomY(), resize(), set(), setN(), setX(), Spline(), splint(), vectorConvolution2(), x(), and y(). |
|
||||||||||||||||
|
Equally -spaced expansion of the spline vector. Like expandVectorBetween, however it does not generate a fixed number of new splines in between each pair of existing splines, but a equally spaced total number total between to left and rightmost existing spline Definition at line 1783 of file mathobject/spline.cc. References first(), generateFamily(), and generateSpline(). |
|
||||||||||||||||
|
Generate "between" splines between each existing pair of spines in v. Now, it gets tricky. In some applications (as in cmbfast) it is useful to calculate some function S(k,tau) on a grid of k and tau values. In the later calculation, we may need this function on a much denser grid. Now, assume, as we don't have 2-dim Splines, but only 1-dim, that there are 2 vectors<Spline*> each holding splines T and K respectively that do a T_k(tau) and K_tau(k) interpolation of S(k,tau). The subscript _tau and _k resembles the fact that we deal with vectors T[k](tau). On calling expandVector( vector of T splines, vector of K splines, int between), a new vector is calculated that in between of any k value, the T splines exist (i.e. T_k), has "between" new Splines that are also T splines but with k values in between two neighbouring T splines. Now how do we know which k values to take and who will give us the right Datapoints ??? To answer this, we assume that the Splines K_tau(k) have tau values EXACTLY at the tau data-points of T_k(tau), i.e. for all values that exist in T[k]->x(i), there is a spline K[tau]. Put in other words: K[1] is a spline along the k-direction that has fixed value tau = T[anything]->x(1) K[2] = T[anything]->x(2) etc. etc. If this sounds pretty strange then please observe that in most situation exactly these properties arise: Example: for (k=... ) for (tau = ...) S( k, tau ) = some function T[k]->set(tau, S(k,tau)) K[tau]->set(k, S(k,tau)) That's it: You now have exactly these splines and on calling e.g expandVector(T, K, 3) you get about two to three times the number of T[k] splines back that let you interpolate much better for differen k values Technical note: (1) expandVector() does new a vector<Spline*>, please delelte it after use (2) as you will want to know the k value these new splines belong to, call generatedAt() (3) vector[1] is mother, all others are children. This is true for the result as well as for the argument (4) all xdata is assumed to INCREASE with index i (5) the new k - data is EQUALLY SPACED, i.e. now logarithmic spacing in between each interval. if however the intervalls have already logarithmic spacing and are not to far apart, then this should not matter too much Definition at line 1731 of file mathobject/spline.cc. References wmap_tt_beam_ptsrc_chisq::c, first(), name, and Spline(). |
|
|
Definition at line 1376 of file mathobject/spline.cc. |
|
||||||||||||||||
|
Spline interpolation Nrecipes + guess for next Spline interpolation, modified version that uses sequential search starting from a guess, instead of interval halfing. The same as the original splint, except that the original version does a half step strategy in order to find the right interval and this one exepts a guess, and searches sequentially from that guess on for a matching interval. This is of course much faster for a nearby solution to the problem. However, if after a few sequential searches, it didn't succeed, it calles splint() for its half-step strategy In additon, it caches some quantities for faster access by related splines. The guess is set to the new guess. if too many steps, do half step if too many steps, do half step Definition at line 512 of file spline.h. References a, a3a, b, b3b, childExists, error(), h, h26, khi, klo, lastX, n, own, sdat, splint(), validCache, and ydat. Referenced by convVektor2(), generateSplineXXL(), and operator()(). |
|
|
||||||||||||||||
|
Definition at line 1083 of file mathobject/spline.cc. References fastY(), SPLINE_DBG_MSG, and Miscmath::zbrent(). |
|
||||||||||||||||||||
|
Definition at line 1088 of file mathobject/spline.cc. References inBetweenY(), khi, klo, SPLINE_DBG_MSG, x(), Miscmath::zbrent(), and zeroLevel. Referenced by getZeroArray(), and getZeroList(). |
|
|
index of first data-point
Definition at line 302 of file spline.h. Referenced by expandVector(), expandVectorBetween(), NewdatClChi2::init(), CBI2::init(), AllSkyLensing::LensingDifference::LensingDifference(), and AllSkyLensing::oneAngle(). |
|
|
Fits cubic splines to y and interpolates first derivs at grid points dy.
Definition at line 1907 of file mathobject/spline.cc. References error(), fastY(), and y(). Referenced by fitToSingle(), SplineWeb::fitToSingleAlongX(), and SplineWeb::fitToSingleAlongY(). |
|
|
Definition at line 1913 of file mathobject/spline.cc. References fitNeeds(). Referenced by SplineWeb::fitToSingleAlongX(). |
|
|
flip the x axis, i.e. make first last and so on
Definition at line 1066 of file mathobject/spline.cc. References n, own, x(), and xdat. Referenced by Cosmos::history(). |
|
|
Definition at line 368 of file spline.h. References y(). |
|
|
Definition at line 366 of file spline.h. References y(). Referenced by Recombination::highZFraction(), maximum(), minimum(), and safeY(). |
|
||||||||||||||||||||
|
Easy to use convenience function. For example to generate Transferfunctions at some specific time and output it to a file Input: vector<Spline*> &v must be a vector that stores function values of the same k-position as the yet to be generated spline. vector<Spline*>&p has the same function values but knows the corresponding tau values. The variable k in the function argument is then the TIME (not k :-) at which you would like to have a slice through this 2-D plot, so to speak. The direction is of course the k-direction of the plot, i.e. the x-values of the v splines. If you need examples, look at cosmos.cc Definition at line 1869 of file mathobject/spline.cc. References arm(), dump(), generateSpline(), and Spline(). Referenced by SplineWeb::dumpAlongX(), and SplineWeb::dumpAlongY(). |
|
||||||||||||||||||||
|
Definition at line 1659 of file mathobject/spline.cc. References Spline(). Referenced by AllSkyLensing::lensedCls(), CmbCalc::prepareScalarCl(), and CmbCalc::prepareTensorCl(). |
|
|
If this Spline has been automatically generated via expandVector() then you may very well be interested which value of "kk" of expandVector() belongs to this specific spline. In other words and in the language of expandVector(): We generated splines which are interpolating along the tau direction by taking "kk" values along the k direction in between a given spline-vector interpolating along the k direction at the tau values of the splines T. We store thes kk values so you know to which value of k this spline belongs. Definition at line 1890 of file mathobject/spline.cc. References gen. Referenced by printStatus(). |
|
||||||||||||||||||||
|
Definition at line 1645 of file mathobject/spline.cc. References Spline(). Referenced by expandVector(), AllSkyLensing::lensedCls(), CmbCalc::prepareScalarCl(), and SplineWeb::SplineWeb(). |
|
||||||||||||||||
|
Definition at line 1664 of file mathobject/spline.cc. References Spline(). |
|
||||||||||||||||||||
|
Definition at line 1654 of file mathobject/spline.cc. References Spline(). Referenced by FlatSkyLensing::FlatSkyLensing(). |
|
||||||||||||||||||||||||
|
Give a vector<Spline*> v with splines T interpolating along some tau-axis and vector<Spline*> p of splines K interpolating along some k-axis, fill an empty spline e with data points at tau values that are at the x-data of T containing values interpolated using the K splines. It is assumed that the first k-spline coressponds to the first tau x-data value of the T-Splines. See comments at expandVectorBetween() Definition at line 1817 of file mathobject/spline.cc. References gen, and setForce(). Referenced by expandVector(), SplineWeb::fitToSingleAlongX(), SplineWeb::fitToSingleAlongY(), and generateAndDump(). |
|
||||||||||||||||||||
|
Same as generateSpline() however, it assumes that p[0] is this spline and that this spline is the mother of all other p[j] Splines. Hence, it can efficiently cache the access and speed things up Definition at line 1834 of file mathobject/spline.cc. References a, a3a, b, b3b, fastSplint(), gen, guess, h26, khi, klo, sdat, setForce(), validCache, x(), xdat, y(), and ydat. |
|
|
return child with name s. If there are more than a few, this is costy !!!
Definition at line 182 of file mathobject/spline.cc. |
|
||||||||||||
|
Copy x (if necessary) and y data from another spline, set n. If spline does not have own x-data, the copy uses mothers-xdata.
Definition at line 459 of file mathobject/spline.cc. References error(), maxDim, own, size(), x(), xdat, y(), and ydat. Referenced by PlotWidget::setSpline(), and Spline(). |
|
||||||||||||||||||||||||
|
Definition at line 1176 of file mathobject/spline.cc. References arm(), armed, derive(), getZeroList(), and Spline(). Referenced by getMaxima(), and getMinima(). |
|
||||||||||||||||||||
|
Definition at line 1202 of file mathobject/spline.cc. References getExtrema(). Referenced by maximum(). |
|
||||||||||||||||||||
|
Definition at line 1211 of file mathobject/spline.cc. References getExtrema(). Referenced by minimum(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1144 of file mathobject/spline.cc. References error(), findZeroBetween(), and y(). |
|
||||||||||||||||||||
|
get a list of zeros or actually crossings of zl (zerolevel) of this spline, starting from data point a to data point b. If the y-data at a coincides with zl, then this point is skipped. This happens with all subsequent points. Thus, if for instance you would like to know the zeros of your Spline and say from start() = -3.5 to x-data = -1.7 the Spline is zero at the x-data points of this inverval, then the search for zeros will only start from the next x-data points higher than -1.7 on. Naturally, in between two data points, there can only be one zero and hence this procedure will never cost you any zeros *except* trailing identical zeros. Definition at line 1109 of file mathobject/spline.cc. References findZeroBetween(), n, SPLINE_DBG_MSG, and y(). Referenced by getExtrema(), getZeroVector(), CrossoverField::initialQ(), and Arthur::initialQ(). |
|
||||||||||||||||||||
|
convenience wrapper for getZeroList()
Definition at line 1135 of file mathobject/spline.cc. References getZeroList(). |
|
|
moSingle for Miscmath::zbrent() for finding the "zeros" of a spline. Zero is relative, cause the static double zeroLevel will be subtracted from the y(x). So for instance: if y(x) = 3 and zeroLevel = 2 then one is returnde. Usually for finding really zero zero's, zeroLevel =0 Definition at line 547 of file mathobject/spline.cc. References a, b, h, khi, klo, mother, own, sdat, xdat, ydat, and zeroLevel. Referenced by findZeroBetween(). |
|
|
return the largest i with x(i) <= x
Definition at line 1443 of file mathobject/spline.cc. |
|
|
index of last data-point return the smallest i with x(i) >= x
Definition at line 1459 of file mathobject/spline.cc. |
|
|
romberg-integration integrand
Definition at line 1369 of file mathobject/spline.cc. |
|
||||||||||||||||
|
odeint integration integrand
Definition at line 1030 of file mathobject/spline.cc. Referenced by integrate(). |
|
|
Definition at line 415 of file spline.h. References integrate(), max(), min(), n, and x(). |
|
||||||||||||||||
|
Integrate from double a to double b by performing a runge - kutta integration, i.e. converting the problem to the solution of a ordinary diff-eqn. Definition at line 1018 of file mathobject/spline.cc. References inteD(), inteOneDim(), Miscmath::oneDimOdeint(), and Miscmath::rungeInt(). Referenced by Cosmos::angulardiameterDistance(), average(), Cosmos::history(), integrate(), Cosmos::luminosityDistance(), QuintCosmos::omesf(), Cosmos::propermotionDistance(), and QuintCosmos::tau2AvOmega_q(). |
|
|
Definition at line 1028 of file mathobject/spline.cc. Referenced by integrate(). |
|
|
Definition at line 295 of file spline.h. References armed. Referenced by CmbMainWindow::sigma8(), AnalyzeThis::sigma8(), and vectorConvolution2(). |
|
|
true, if x value is within the boundaries of spline data
Definition at line 683 of file mathobject/spline.cc. References start(), and stop(). Referenced by Cosmos::angulardiameterDistance(), Cosmos::luminosityDistance(), and Cosmos::propermotionDistance(). |
|
|
Definition at line 1636 of file mathobject/spline.cc. References children. |
|
|
Definition at line 303 of file spline.h. References n. Referenced by CL::createTotalXXSpline(), NewdatClChi2::init(), CBI2::init(), AllSkyLensing::LensingDifference::LensingDifference(), and AllSkyLensing::oneAngle(). |
|
|
return x of the largest maximum in this spline *including* the boundaries, if they are higher
Definition at line 1220 of file mathobject/spline.cc. References fastY(), front(), getMaxima(), max(), and start(). Referenced by AnalyzeThis::ACBARChi2WithCalibration(), AnalyzeThis::CBIChi2WithCalibration(), AnalyzeThis::CBIMosaicChi2WithCalibration(), CmbMainWindow::drawLikeli_1d(), and AnalyzeThis::VSAChi2WithCalibration(). |
|
||||||||||||
|
Definition at line 1245 of file mathobject/spline.cc. References error(), merge(), mother, n, own, valid, xdat, and ydat. |
|
||||||||||||||||||||||||
|
if keepSize, then the new xdata und ydata arrays do either have the old size maxDim, or if the combined size would be too large, n + max +1. if keepSize is false, then the new arrays will always have the smallest possible size, however, this may cause doubling soon after. If however, you do not want to add anything after merging then keepSize = false is the better choice Definition at line 1262 of file mathobject/spline.cc. References error(), max(), maxDim, n, own, sdat, and x(). Referenced by merge(). |
|
|
return x of the smallest minimum in this spline *including* the boundaries, if they are below
Definition at line 1232 of file mathobject/spline.cc. References fastY(), front(), getMinima(), and start(). Referenced by AnalyzeThis::WMAPNormalize(). |
|
|
if mother is killed
Definition at line 174 of file mathobject/spline.cc. |
|
||||||||||||
|
multiply ydat[k] by x
Definition at line 1631 of file mathobject/spline.cc. Referenced by div(). |
|
|
Scalar multiply all ydat[] by const double x.
|
|
|
Fast and caching access to the interpolation value. Should usesually be the one to call (not splint() or fastSplint()).
Definition at line 1578 of file mathobject/spline.cc. References a, a3a, acc, armed, b, b3b, error(), fastSplint(), guess, h26, khi, klo, lastX, mother, nvc, own, sdat, valid, validCache, vc, xdat, and ydat. |
|
|
add x to all ydat[]
|
|
|
Definition at line 375 of file spline.h. References y(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 1526 of file mathobject/spline.cc. Referenced by arm(). |
|
|
Definition at line 557 of file mathobject/spline.cc. References acc, armed, checkSm, checkSm2, children, generatedAt(), guess, maxDim, mother, n, name, nvc, own, sdat, splintcC, valid, validCache, vc, xdat, and ydat. |
|
|
output how many splines with what name are currently alive
Definition at line 1917 of file mathobject/spline.cc. References WatchMap. |
|
|
Definition at line 248 of file mathobject/spline.cc. References dump(), error(), n, name, and x(). Referenced by arm(). |
|
|
Definition at line 344 of file spline.h. References n. |
|
|
returns pointer to element i of ydat. Also adjusts n.
|
|
|
return interpolation at point x. use this instead of operator (), if you know that the access is random
Definition at line 526 of file mathobject/spline.cc. References armed, error(), mother, own, splint(), valid, and xdat. |
|
|
return (last-first)/step (useful for for-loops)
|
|
|
Definition at line 189 of file mathobject/spline.cc. |
|
|
removes a child from the childmap
Definition at line 246 of file spline.h. References wmap_tt_beam_ptsrc_chisq::c, childExists, and children. |
|
|
allocates arrays for x and y and copies existing data to these resize xdat and ydat to fit index k, if k > maxDim. If this spline is a mother, it calls resize() for all children Definition at line 478 of file mathobject/spline.cc. References childExists, children, error(), maxDim, n, own, valid, and xdat. Referenced by arm(), and checkSpace(). |
|
|
used by derive to keep within spline boundaries
Definition at line 676 of file mathobject/spline.cc. References back(), fastY(), front(), start(), and stop(). Referenced by derive(). |
|
|
save spline x and y data to a file
Definition at line 325 of file mathobject/spline.cc. References save(). |
|
|
save spline x and y data to file
Definition at line 330 of file mathobject/spline.cc. Referenced by save(). |
|
|
Definition at line 408 of file mathobject/spline.cc. References setForce(). |
|
|
Definition at line 404 of file mathobject/spline.cc. References setForce(). |
|
|
new data point (y) for a spline that shares the xdata with mother and sisters
Definition at line 395 of file mathobject/spline.cc. References checkSpace(), n, own, printStatus(), and ydat. |
|
||||||||||||
|
|
Call setN() for all children. All precautions of setN are true here, too.
Definition at line 454 of file mathobject/spline.cc. References children. |
|
||||||||||||
|
Wrapper for set() that depending on wether the spline owns the xdata or not, calls the two possible set() functions Definition at line 323 of file spline.h. Referenced by generateSpline(), generateSplineXXL(), and set(). |
|
|
Definition at line 331 of file spline.h. References killChildrenWhenDying. |
|
|
Definition at line 604 of file mathobject/spline.cc. |
|
|
Set n of this spline. This routine lets you set the counter of the data points of this spline EXPLICITLY. No need to mention that this is dangerous, not nice and should be avoided. However, there are two closely related exceptions: (1) If the data points starting from some x value on are all zero, this can be useful, as by default the new y-data is always zero'd when allocated. (2) If the spline is not really initialized, but the daugther of some other spline and for the sake of simple programming it has to be accessed nevertheless (to avoid a lot of if thens), the access delivering zero, of course, then a call to SetN() WITHOUT an argument will set the counter to the n value of the mother which is assumed to contain the amount of data you wish to have controle of here setN() will return error, if n is out of maxDim range. This is a safety precaution. use resize() explicitly, if you really need to do such strange things. In general: Do not use this function easily, try set, setX, setY, ptrY etc, which all have checks, increase n if necessary and so on and so on and so on Definition at line 447 of file mathobject/spline.cc. |
|
|
set's the splines name
Definition at line 301 of file spline.h. References name. |
|
|
sets next X
|
|
||||||||||||
|
set xdat[index] to x
Definition at line 412 of file mathobject/spline.cc. References checkSpace(), error(), n, own, and xdat. Referenced by setX(). |
|
||||||||||||
|
sets ydat[index] to y
Definition at line 418 of file mathobject/spline.cc. References checkSpace(), n, and ydat. Referenced by AllSkyLensing::DlSplines::dl(), NewdatClChi2::init(), CBI2::init(), and AllSkyLensing::LensingDifference::LensingDifference(). |
|
|
the size i.e. n+1
Definition at line 308 of file spline.h. References n. Referenced by FlatSkyLensing::cllens_(), FlatSkyLensing::epsilongen_(), CrossoverField::getAlpha(), getData(), Cosmos::growthFactor(), AnalyzeThis::lymanAlphaPatMcDonaldChi2(), Arbitrary::reconstructPhi(), PlotWidget::saveToFile(), and PlotWidget::setSpline(). |
|
||||||||||||
|
smoothen the spline within k neigbouring points to the left and k to the right and 2*m*k + 1 points in this range Smoothen uses a gaussian window along the spline to smoothen out wiggles. It starts k points to the left and k to the right and in total uses m-fold more points to interpolate. In other words: k sets the range over which we average and m sets the number of points that are considered in this range. It disarms but does not arm, so it is up to you to arm() again Definition at line 1338 of file mathobject/spline.cc. |
|
||||||||||||||||
|
initialize whatever...
Definition at line 1478 of file mathobject/spline.cc. References splg, splgValid, and splini(). Referenced by splder(). |
|
|
Definition at line 615 of file mathobject/spline.cc. |
|
|
Definition at line 1517 of file mathobject/spline.cc. References splg, and splgValid. Referenced by Splder(). |
|
||||||||||||||||
|
This ist the true (well, a bit modified) NR spline interpolation, sorry for the misnomer of CMBFASTS splint which is an integration routine If "x" is out of the range xa[1] xa[n], then the boundary values will be given. Meaning:: You will not get any errormessages, if you are out of the boundary, just the closest available value Definition at line 1395 of file mathobject/spline.cc. References a, a3a, b, b3b, error(), h, h26, khi, klo, lastX, mother, n, own, sdat, splintcC, validCache, and ydat. Referenced by fastSplint(), randomY(), and stepIntegrate(). |
|
|
Return last x.
Definition at line 363 of file spline.h. References x(). |
|
|
Definition at line 361 of file spline.h. References x(). Referenced by Cosmos::a_min(), average(), AllSkyLensing::C_gl2(), checkConvolutionRange(), Cosmos::createPower(), PlotWidget::drawSpline(), isWithinBounds(), maximum(), Recombination::maxRedshift(), minimum(), AllSkyLensing::oneAngle(), safeY(), AllSkyLensing::sigma2(), CmbMainWindow::sigma8(), AnalyzeThis::sigma8(), and Cosmos::t_min(). |
|
||||||||||||
|
Definition at line 1050 of file mathobject/spline.cc. Referenced by stepIntegrate(). |
|
|
|
|
||||||||||||
|
Definition at line 1035 of file mathobject/spline.cc. |
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
convolution function for family convolution type: moDerivs Optimized convolution of several splines with S one partner spline P. Effecient in the case that several splines have the same x-data (this need not be owned by themselves). The splines S are store in the static vector convolutionVektor[] which you have to resize and fill with the Spline S. vektorConvolution() will then temporariliy make convolutionVektor[0] the mother of all other splines S. Hence, access to the splines is greatly sped up by caching of interpolation variables etc. Definition at line 775 of file mathobject/spline.cc. References checkConvolutionRange(), childExists, convolutionVektor, error(), guess, isArmed(), mother, nvar, own, xdat, and y(). Referenced by TensorIntegrator::integrate(), and ScalarIntegrator::integrate(). |
|
|
return xdat[k]
Definition at line 353 of file spline.h. References error(), mother, n, own, and xdat. Referenced by checkConvolutionRange(), FlatSkyLensing::cllens_(), convOneDim(), derive(), dump(), dumpConvolution(), FlatSkyLensing::epsilongen_(), explizit(), findZeroBetween(), flip(), generateSplineXXL(), CrossoverField::getAlpha(), getData(), NewdatClChi2::init(), CBI2::init(), integrate(), AnalyzeThis::lymanAlphaPatMcDonaldChi2(), merge(), AllSkyLensing::oneAngle(), proper(), range(), Arbitrary::reconstructPhi(), save(), PlotWidget::saveToFile(), smoothen(), Spline(), start(), stepInt(), stepIntegrate(), and stop(). |
|
|
return ydat[k]
Definition at line 481 of file spline.h. References error(), n, and ydat. Referenced by back(), AllSkyLensing::C_gl2(), convolution(), CmbCalc::dumpTransfer(), FlatSkyLensing::epsilongen_(), fitNeeds(), front(), generateSplineXXL(), getData(), getZeroArray(), getZeroList(), NewdatClChi2::init(), CBI2::init(), AnalyzeThis::lymanAlphaPatMcDonaldChi2(), AllSkyLensing::oneAngle(), operator[](), AnalyzeThis::quickWMAPNormalize(), Arbitrary::reconstructPhi(), save(), AllSkyLensing::sigma2(), Spline(), vectorConvolution2(), AllSkyLensing::xiLensed(), AllSkyLensing::xiLensed_minus(), AllSkyLensing::xiLensed_plus(), and AllSkyLensing::xiLensed_X(). |
|
|
Definition at line 218 of file spline.h. Referenced by convVektor2(), fastSplint(), generateSplineXXL(), inBetweenY(), operator()(), and splint(). |
|
|
Definition at line 219 of file spline.h. Referenced by convVektor2(), fastSplint(), generateSplineXXL(), operator()(), and splint(). |
|
|
Counter for operator() this is for perfomance monitoring.
Definition at line 201 of file spline.h. Referenced by operator()(), and printStatus(). |
|
|
Definition at line 198 of file spline.h. Referenced by arm(), disarm(), getExtrema(), isArmed(), motherKilled(), operator()(), printStatus(), randomY(), setMother(), and Spline(). |
|
|
caching these for children's use
Definition at line 218 of file spline.h. Referenced by convVektor2(), fastSplint(), generateSplineXXL(), inBetweenY(), operator()(), and splint(). |
|
|
Definition at line 219 of file spline.h. Referenced by convVektor2(), fastSplint(), generateSplineXXL(), operator()(), and splint(). |
|
|
Definition at line 224 of file spline.h. Referenced by checkConvolutionRange(), convD(), and convOneDim(). |
|
|
Definition at line 242 of file spline.h. Referenced by createChecksum(), and printStatus(). |
|
|
Definition at line 242 of file spline.h. Referenced by printStatus(). |
|
|
if the spline data is calculated if children is not empty
Definition at line 199 of file spline.h. Referenced by addChild(), arm(), disarm(), fastSplint(), removeChild(), resize(), and vectorConvolution2(). |
|
|
a map of children, if there are any
Definition at line 212 of file spline.h. Referenced by addChild(), arm(), disarm(), getChild(), kill(), printStatus(), removeChild(), resize(), setChildrensN(), and ~Spline(). |
|
|
Definition at line 277 of file spline.h. Referenced by convVektor2(), TensorIntegrator::integrate(), ScalarIntegrator::integrate(), and vectorConvolution2(). |
|
|
the result of a family convolution, if requested
Definition at line 229 of file spline.h. Referenced by convolutionResult(). |
|
|
for the specialised twin convolution, the second twin
|
|
|
for vectorConvolution this is the pointer to the actual x-data. Either taken fom the first spline in convolutionVektor or its mother
|
|
|
and a faktor for x in convolution
Definition at line 234 of file spline.h. Referenced by checkConvolutionRange(), convD(), convOneDim(), and convVektor2(). |
|
|
Definition at line 228 of file spline.h. Referenced by generatedAt(), generateSpline(), and generateSplineXXL(). |
|
|
|
|
|
set by splint and fastsplint to have faster access in subconsequent calls
Definition at line 193 of file spline.h. Referenced by arm(), convVektor2(), generateSplineXXL(), operator()(), printStatus(), and vectorConvolution2(). |
|
|
Definition at line 218 of file spline.h. Referenced by fastSplint(), inBetweenY(), and splint(). |
|
|
Definition at line 218 of file spline.h. Referenced by convVektor2(), fastSplint(), generateSplineXXL(), operator()(), and splint(). |
|
|
caching these for children's use
Definition at line 220 of file spline.h. Referenced by convVektor2(), fastSplint(), findZeroBetween(), generateSplineXXL(), inBetweenY(), operator()(), and splint(). |
|
|
Definition at line 270 of file spline.h. Referenced by setKillChildrenWhenDying(), and ~Spline(). |
|
|
Definition at line 220 of file spline.h. Referenced by convVektor2(), fastSplint(), findZeroBetween(), generateSplineXXL(), inBetweenY(), operator()(), and splint(). |
|
|
keep track of last arm-position for rearm(), if you want to use this feature...
Definition at line 206 of file spline.h. Referenced by rearm(). |
|
|
Definition at line 218 of file spline.h. Referenced by fastSplint(), operator()(), and splint(). |
|
|
Definition at line 192 of file spline.h. Referenced by add(), arm(), checkSpace(), derive(), getData(), merge(), printStatus(), ptrY(), resize(), setN(), splder(), and Spline(). |
|
|
if there is a mother, its this
Definition at line 194 of file spline.h. Referenced by arm(), error(), explizit(), inBetweenY(), merge(), motherKilled(), operator()(), printStatus(), randomY(), setMother(), setN(), Spline(), splint(), stepIntegrate(), vectorConvolution2(), and x(). |
|
|
Definition at line 189 of file spline.h. Referenced by add(), arm(), back(), checkConvolutionRange(), checkSpace(), checksum(), convOneDim(), createChecksum(), derive(), dump(), explizit(), fastSplint(), flip(), getZeroList(), indexToLeft(), indexToRight(), integrate(), last(), merge(), mul(), operator *=(), operator+=(), printStatus(), proper(), ptrY(), range(), rearm(), resize(), save(), set(), setN(), setX(), setY(), size(), smoothen(), splder(), Spline(), splint(), stepIntegrate(), stop(), x(), and y(). |
|
|
the name (useful for debugging)
Definition at line 190 of file spline.h. Referenced by dump(), expandVectorBetween(), printStatus(), proper(), setName(), and Spline(). |
|
|
The size of the convolution vector.
Definition at line 208 of file spline.h. Referenced by convVektor2(), and vectorConvolution2(). |
|
|
Definition at line 200 of file spline.h. Referenced by operator()(), and printStatus(). |
|
|
if the xdat belongs to the spline, i.e. mother ==0. Own does not say, that xdat is a valid pointer, it may be 0, if for instance, mother is killed, own will be true, but the pointer will be set to zero
Definition at line 196 of file spline.h. Referenced by arm(), checksum(), convVektor2(), createChecksum(), derive(), disarm(), error(), explizit(), fastSplint(), flip(), getData(), inBetweenY(), merge(), motherKilled(), operator()(), printStatus(), randomY(), resize(), set(), setForce(), setMother(), setN(), setX(), splder(), Spline(), splint(), stepIntegrate(), vectorConvolution2(), and x(). |
|
|
convolutions partner spline
Definition at line 232 of file spline.h. Referenced by checkConvolutionRange(), convOneDim(), and convVektor2(). |
|
|
Definition at line 195 of file spline.h. Referenced by arm(), createChecksum(), disarm(), fastSplint(), generateSplineXXL(), inBetweenY(), merge(), operator()(), printStatus(), Spline(), and splint(). |
|
|
a shift in integration
Definition at line 233 of file spline.h. Referenced by checkConvolutionRange(), convD(), convOneDim(), and convVektor2(). |
|
|
splini and splder need it...
|
|
|
derive() needs the splg[] array, which is initialized if it is not valid
|
|
|
Definition at line 202 of file spline.h. Referenced by printStatus(), and splint(). |
|
|
if the xdat pointer is valid, i.e. own or mother alive And valid
Definition at line 197 of file spline.h. Referenced by arm(), checkSpace(), derive(), merge(), motherKilled(), operator()(), printStatus(), randomY(), resize(), setMother(), and splder(). |
|
|
Definition at line 191 of file spline.h. Referenced by convVektor2(), disarm(), fastSplint(), generateSplineXXL(), operator()(), printStatus(), and splint(). |
|
|
Definition at line 200 of file spline.h. Referenced by operator()(), and printStatus(). |
|
|
If spline is compiled with ENABLE_SPLINE_WATCH, counts number of splines alive.
Definition at line 274 of file spline.h. Referenced by Spline(). |
|
|
If compiled with ENABLE_SPLINE_WATCH, tracks number of splines with that name.
Definition at line 275 of file spline.h. Referenced by printWatchMap(), and Spline(). |
|
|
Definition at line 195 of file spline.h. Referenced by arm(), checksum(), convVektor2(), createChecksum(), derive(), explizit(), flip(), generateSplineXXL(), getData(), inBetweenY(), indexToLeft(), indexToRight(), merge(), motherKilled(), operator()(), printStatus(), randomY(), resize(), set(), setMother(), setX(), splder(), Spline(), stepIntegrate(), vectorConvolution2(), and x(). |
|
|
Definition at line 195 of file spline.h. Referenced by add(), arm(), createChecksum(), derive(), dump(), explizit(), fastSplint(), generateSplineXXL(), getData(), inBetweenY(), merge(), mul(), operator *=(), operator()(), operator+=(), printStatus(), ptrY(), set(), setY(), splder(), Spline(), splint(), stepInt(), and y(). |
|
|
Definition at line 209 of file spline.h. Referenced by findZeroBetween(), and inBetweenY(). |
1.4.6