Template Function Acts::visit_measurement¶
Defined in File MeasurementHelpers.hpp
Function Documentation¶
-
template<typename
L
, typenameA
, typenameB
>
autoActs
::
visit_measurement
(A &¶m, B &&cov, size_t dim, L &&lambda)¶ Dispatch a lambda call on an overallocated parameter vector and covariance matrix, based on a runtime dimension value.
Inside the lambda call, the vector and matrix will have fixed dimensions, but will still point back to the originally given overallocated values.
- Note
No requirements on
A
andB
are made, to enable a single overload for both const and non-const matrices/vectors.- Template Parameters
L
: The lambda typeA
: The parameter vector typeB
: The covariance matrix type
- Parameters
param
: The parameter vectorcov
: The covariance matrixdim
: The actual dimension as a runtime valuelambda
: The lambda to call with the statically sized subsets