Template Function Acts::VectorHelpers::theta¶
Defined in File Helpers.hpp
Function Documentation¶
-
template<typename
Derived
>
doubleActs::VectorHelpers
::
theta
(const Eigen::MatrixBase<Derived> &v) noexcept¶ Calculate the theta angle (longitudinal w.r.t.
z axis) of a vector
- Note
Will static assert that the number of rows of
v
is at least 3, or in case of dynamic size, will abort execution if that is not the case.- Return
The theta value
- Template Parameters
Derived
: Eigen derived concrete type
- Parameters
v
: Any vector like Eigen type, static or dynamic