Helper class to get the correct and optimized returned type of operator*. More...
#include <Product.h>
Public Types | |
typedef GeneralProduct< Lhs, Rhs, ProductType > | Type |
Helper class to get the correct and optimized returned type of operator*.
Lhs | the type of the left-hand side |
Rhs | the type of the right-hand side |
ProductMode | the 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.
typedef GeneralProduct<Lhs, Rhs, ProductType> ProductReturnType< Lhs, Rhs, ProductType >::Type |