Helios++
Helios software for LiDAR simulations
|
Util methods to interpolate functions from given DiffDesignMatrix. More...
Functions | |
template<typename A , typename B > | |
LinearPiecesFunction< A, B > | makeLinearPiecesFunction (DiffDesignMatrix< A, B > const &ddm, arma::Col< B > const &slope, arma::Col< B > const &intercept) |
Obtain a linear pieces function from given DiffDesignMatrix and known values. More... | |
template<typename A , typename B > | |
LinearPiecesFunction< A, B > | makeLinearPiecesFunction (DiffDesignMatrix< A, B > const &ddm, DesignMatrix< B > const &dm, size_t const colIdx, arma::Col< B > *intercept, arma::Col< B > *slope) |
Like DiffDesignMatrixInterpolator::makeLinearPiecesFunction but taking the vector of known values from given DesignMatrix. More... | |
template<typename A , typename B > | |
ParametricLinearPiecesFunction< A, B > | makeParametricLinearPiecesFunction (DiffDesignMatrix< A, B > const &ddm, arma::Mat< B > const &intercepts) |
Obtain a parametric linear pieces function from given DiffDesignMatrix and known values. More... | |
template<typename A , typename B > | |
ParametricLinearPiecesFunction< A, B > | makeParametricLinearPiecesFunction (DiffDesignMatrix< A, B > const &ddm, DesignMatrix< B > const &dm) |
Like DiffDesignMatrixInterpolator::makeParametricLinearPiecesFunction but taking the vector of known values from given DesignMatrix. More... | |
template<typename A , typename B > | |
FixedIterativeEulerMethod< A, B > | makeFixedIterativeEulerMethod (DiffDesignMatrix< A, B > const &ddm, arma::Col< B > const &y, Function< A, B > &dydt) |
Obtain a function representing a fixed iterative Euler method from given DiffDesignMatrix, known values and derivative function. More... | |
template<typename A , typename B > | |
FixedIterativeEulerMethod< A, B > | makeFixedIterativeEulerMethod (DiffDesignMatrix< A, B > const &ddm, DesignMatrix< B > const &dm, size_t const colIdx, arma::Col< B > *y, ClosestLesserSampleFunction< A, B > *dydt, arma::Col< B > *dydtSamples) |
Like DiffDesignMatrixInterpolator::makeFixedIterativeEulerMethod but automatically generating the vector of known values, the derivative and the samples of the derivative from given DiffDesignMatrix and DesignMatrix. More... | |
template<typename A , typename B > | |
FixedParametricIterativeEulerMethod< A, B > | makeFixedParametricIterativeEulerMethod (DiffDesignMatrix< A, B > const &ddm, arma::Mat< B > const &y, Function< A, arma::Col< B >> &dydt) |
Obtain a function representing a fixed parametric iterative Euler method from given DiffDesignMatrix, known values and parametric derivative function. More... | |
template<typename A , typename B > | |
FixedParametricIterativeEulerMethod< A, B > | makeFixedParametricIterativeEulerMethod (DiffDesignMatrix< A, B > const &ddm, DesignMatrix< B > const &dm, ParametricClosestLesserSampleFunction< A, B > *dydt) |
Like DiffDesignMatrixInterpolator::makeFixedParametricIterativeEulerMethod but automatically generating the matrix of known values, the parametric derivative and the samples of the derivative from given DiffDesignMatrix and DesignMatrix. More... | |
Util methods to interpolate functions from given DiffDesignMatrix.
FixedIterativeEulerMethod<A, B> fluxionum::DiffDesignMatrixInterpolator::makeFixedIterativeEulerMethod | ( | DiffDesignMatrix< A, B > const & | ddm, |
arma::Col< B > const & | y, | ||
Function< A, B > & | dydt | ||
) |
Obtain a function representing a fixed iterative Euler method from given DiffDesignMatrix, known values and derivative function.
ddm | The DiffDesignMatrix itself | |
[in] | y | The vector of known values such that \(y(t_i) = y_i\) |
[in] | dydt | The derivative function |
A | The time's domain |
B | The non time's domain |
FixedIterativeEulerMethod<A, B> fluxionum::DiffDesignMatrixInterpolator::makeFixedIterativeEulerMethod | ( | DiffDesignMatrix< A, B > const & | ddm, |
DesignMatrix< B > const & | dm, | ||
size_t const | colIdx, | ||
arma::Col< B > * | y, | ||
ClosestLesserSampleFunction< A, B > * | dydt, | ||
arma::Col< B > * | dydtSamples | ||
) |
Like DiffDesignMatrixInterpolator::makeFixedIterativeEulerMethod but automatically generating the vector of known values, the derivative and the samples of the derivative from given DiffDesignMatrix and DesignMatrix.
FixedParametricIterativeEulerMethod<A, B> fluxionum::DiffDesignMatrixInterpolator::makeFixedParametricIterativeEulerMethod | ( | DiffDesignMatrix< A, B > const & | ddm, |
arma::Mat< B > const & | y, | ||
Function< A, arma::Col< B >> & | dydt | ||
) |
Obtain a function representing a fixed parametric iterative Euler method from given DiffDesignMatrix, known values and parametric derivative function.
ddm | The DiffDesignMatrix itself | |
[in] | y | The matrix of known values such that \(\vec{y}(t_i) = \vec{y_i}\)a |
dydt | The parametric derivative function |
A | The time's domain |
B | The non time's domain |
FixedParametricIterativeEulerMethod<A, B> fluxionum::DiffDesignMatrixInterpolator::makeFixedParametricIterativeEulerMethod | ( | DiffDesignMatrix< A, B > const & | ddm, |
DesignMatrix< B > const & | dm, | ||
ParametricClosestLesserSampleFunction< A, B > * | dydt | ||
) |
Like DiffDesignMatrixInterpolator::makeFixedParametricIterativeEulerMethod but automatically generating the matrix of known values, the parametric derivative and the samples of the derivative from given DiffDesignMatrix and DesignMatrix.
LinearPiecesFunction<A, B> fluxionum::DiffDesignMatrixInterpolator::makeLinearPiecesFunction | ( | DiffDesignMatrix< A, B > const & | ddm, |
arma::Col< B > const & | slope, | ||
arma::Col< B > const & | intercept | ||
) |
Obtain a linear pieces function from given DiffDesignMatrix and known values.
ddm | The DiffDesignMatrix itself |
slope | The vector of known derivatives (line slopes) \(\frac{dy}{dt}(t_i)\) |
intercept | The vector of known values such that \(y(t_i) = y_i\) |
A | The time's domain |
B | The non time's domain |
LinearPiecesFunction<A, B> fluxionum::DiffDesignMatrixInterpolator::makeLinearPiecesFunction | ( | DiffDesignMatrix< A, B > const & | ddm, |
DesignMatrix< B > const & | dm, | ||
size_t const | colIdx, | ||
arma::Col< B > * | intercept, | ||
arma::Col< B > * | slope | ||
) |
Like DiffDesignMatrixInterpolator::makeLinearPiecesFunction but taking the vector of known values from given DesignMatrix.
ParametricLinearPiecesFunction<A, B> fluxionum::DiffDesignMatrixInterpolator::makeParametricLinearPiecesFunction | ( | DiffDesignMatrix< A, B > const & | ddm, |
arma::Mat< B > const & | intercepts | ||
) |
Obtain a parametric linear pieces function from given DiffDesignMatrix and known values.
ddm | The DiffDesignMatrix itself |
intercepts | The matrix of known values such that \(y_j(t_i) = y_{ij}\) |
A | The time's domain |
B | The non time's domain |
ParametricLinearPiecesFunction<A, B> fluxionum::DiffDesignMatrixInterpolator::makeParametricLinearPiecesFunction | ( | DiffDesignMatrix< A, B > const & | ddm, |
DesignMatrix< B > const & | dm | ||
) |
Like DiffDesignMatrixInterpolator::makeParametricLinearPiecesFunction but taking the vector of known values from given DesignMatrix.