Eigne Matrix Class Library

Dependents:   Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more

Embed: (wiki syntax)

« Back to documentation index

ProductReturnType< Lhs, Rhs, ProductType > Class Template Reference

ProductReturnType< Lhs, Rhs, ProductType > Class Template Reference
[Core module]

Helper class to get the correct and optimized returned type of operator*. More...

#include <GeneralProduct.h>

Inherited by LazyProductReturnType< Lhs, Rhs >.


Detailed Description

template<typename Lhs, typename Rhs, int ProductType>
class Eigen::ProductReturnType< Lhs, Rhs, ProductType >

Helper class to get the correct and optimized returned type of operator*.

Parameters:
Lhsthe type of the left-hand side
Rhsthe type of the right-hand side
ProductModethe type of the product (determined automatically by internal::product_mode)

This class defines the typename Type representing the optimized product expression between two matrix expressions. In practice, using ProductReturnType<Lhs,Rhs>::Type is the recommended way to define the result type of a function returning an expression which involve a matrix product. The class Product should never be used directly.

See also:
class Product, MatrixBase::operator*(const MatrixBase<OtherDerived>&)

Definition at line 149 of file GeneralProduct.h.