WPILibC++ 2024.3.2
|
Scaling operator. More...
Public Types | |
typedef std::complex< RealScalar > | ComplexScalar |
Public Member Functions | |
MatrixExponentialScalingOp (int squarings) | |
Constructor. More... | |
const RealScalar | operator() (const RealScalar &x) const |
Scale a matrix coefficient. More... | |
const ComplexScalar | operator() (const ComplexScalar &x) const |
Scale a matrix coefficient. More... | |
Scaling operator.
This struct is used by CwiseUnaryOp to scale a matrix by \( 2^{-s} \).
typedef std::complex<RealScalar> Eigen::internal::MatrixExponentialScalingOp< RealScalar >::ComplexScalar |
|
inline |
Constructor.
[in] | squarings | The integer \( s \) in this document. |
|
inline |
Scale a matrix coefficient.
[in,out] | x | The scalar to be scaled, becoming \( 2^{-s} x \). |
|
inline |
Scale a matrix coefficient.
[in,out] | x | The scalar to be scaled, becoming \( 2^{-s} x \). |