WPILibC++ 2024.3.2
Eigen::internal::MatrixExponentialScalingOp< RealScalar > Struct Template Reference

Scaling operator. More...

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/eigen/include/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h>

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...
 

Detailed Description

template<typename RealScalar>
struct Eigen::internal::MatrixExponentialScalingOp< RealScalar >

Scaling operator.

This struct is used by CwiseUnaryOp to scale a matrix by \( 2^{-s} \).

Member Typedef Documentation

◆ ComplexScalar

template<typename RealScalar >
typedef std::complex<RealScalar> Eigen::internal::MatrixExponentialScalingOp< RealScalar >::ComplexScalar

Constructor & Destructor Documentation

◆ MatrixExponentialScalingOp()

template<typename RealScalar >
Eigen::internal::MatrixExponentialScalingOp< RealScalar >::MatrixExponentialScalingOp ( int  squarings)
inline

Constructor.

Parameters
[in]squaringsThe integer \( s \) in this document.

Member Function Documentation

◆ operator()() [1/2]

template<typename RealScalar >
const ComplexScalar Eigen::internal::MatrixExponentialScalingOp< RealScalar >::operator() ( const ComplexScalar x) const
inline

Scale a matrix coefficient.

Parameters
[in,out]xThe scalar to be scaled, becoming \( 2^{-s} x \).

◆ operator()() [2/2]

template<typename RealScalar >
const RealScalar Eigen::internal::MatrixExponentialScalingOp< RealScalar >::operator() ( const RealScalar &  x) const
inline

Scale a matrix coefficient.

Parameters
[in,out]xThe scalar to be scaled, becoming \( 2^{-s} x \).

The documentation for this struct was generated from the following file: