|
farm-ng-core
|
#include <group_accessors.h>
Public Types | |
| using | Scalar = TScalar |
| using | Imag = Scalar |
| using | Impl = ComplexImpl< Scalar > |
| using | Params = Eigen::Vector< Scalar, kNumParams > |
| template<class TCompatibleScalar > | |
| using | ComplexReturn = Complex< typename Eigen::ScalarBinaryOpTraits< Scalar, TCompatibleScalar >::ReturnType > |
Public Member Functions | |
| Complex () | |
| Complex (Complex const &)=default | |
| auto | operator= (Complex const &) -> Complex &=default |
| auto | params () const -> Params const & |
| void | setParams (Params const ¶ms) |
| auto | real () -> Scalar & |
| auto | real () const -> Scalar const & |
| auto | imag () -> Scalar & |
| auto | imag () const -> Scalar const & |
| template<class TCompatibleScalar > | |
| auto | operator+ (Complex< TCompatibleScalar > const &other) const -> ComplexReturn< TCompatibleScalar > |
| template<class TCompatibleScalar > | |
| auto | operator* (Complex< TCompatibleScalar > const &other) const -> ComplexReturn< TCompatibleScalar > |
| auto | conjugate () const -> Complex |
| auto | inverse () const -> Complex |
| auto | norm () const -> Scalar |
| auto | squaredNorm () const -> Scalar |
Static Public Member Functions | |
| static auto | zero () -> Complex |
| static auto | one () -> Complex |
| static auto | fromParams (Params const ¶ms) -> Complex |
Static Public Attributes | |
| static constexpr int | kNumParams = 2 |
| using sophus::Complex< TScalar >::ComplexReturn = Complex<typename Eigen::ScalarBinaryOpTraits<Scalar, TCompatibleScalar>:: ReturnType> |
| using sophus::Complex< TScalar >::Imag = Scalar |
| using sophus::Complex< TScalar >::Impl = ComplexImpl<Scalar> |
| using sophus::Complex< TScalar >::Params = Eigen::Vector<Scalar, kNumParams> |
| using sophus::Complex< TScalar >::Scalar = TScalar |
|
inline |
|
default |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
staticconstexpr |