#include <GCVSPLUtil.h>
In most cases, you should use the SplineFitter class rather than invoking this class directly. For details, see Woltring, H.J. (1986), A FORTRAN package for generalized, cross-validatory spline smoothing and differentiation. Advances in Engineering Software 8(2):104-113.
Static Public Member Functions | |
template<int K> | |
static void | gcvspl (const Vector &x, const Vector_< Vec< K > > &y, const Vector &wx, Vec< K > wy, int m, int md, Real val, Vector_< Vec< K > > &c, Vector &wk, int &ier) |
template<int K> | |
static Vec< K > | splder (int derivOrder, int degree, Real t, const Vector &x, const Vector_< Vec< K > > &coeff) |
void gcvspl | ( | const Vector & | x, | |
const Vector_< Vec< K > > & | y, | |||
const Vector & | wx, | |||
Vec< K > | wy, | |||
int | m, | |||
int | md, | |||
Real | val, | |||
Vector_< Vec< K > > & | c, | |||
Vector & | wk, | |||
int & | ier | |||
) | [inline, static] |
References c, gcvspl_(), MatrixBase::hasContiguousData(), fkinkryx::i, k, m, n, VectorBase::resize(), SimTK_APIARGCHECK_ALWAYS, VectorBase::size(), and y.
Referenced by SplineFitter::fitForSmoothingParameter(), SplineFitter::fitFromDOF(), SplineFitter::fitFromErrorVariance(), and SplineFitter::fitFromGCV().
Vec< K > splder | ( | int | derivOrder, | |
int | degree, | |||
Real | t, | |||
const Vector & | x, | |||
const Vector_< Vec< K > > & | coeff | |||
) | [inline, static] |
References MatrixBase::hasContiguousData(), fkinkryx::i, m, n, VectorBase::size(), and splder_().
Referenced by Spline::SplineImpl::getDerivative(), and Spline::SplineImpl::getValue().