Main MRPT website > C++ reference
MRPT logo
Public Types

ProductReturnType< Lhs, Rhs, ProductType > Class Template Reference


Detailed Description

template<typename Lhs, typename Rhs, int ProductType>
class 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 162 of file Product.h.

#include <src/Core/Product.h>

List of all members.

Public Types

typedef GeneralProduct< Lhs,
Rhs, ProductType > 
Type

Member Typedef Documentation

template<typename Lhs, typename Rhs, int ProductType>
typedef GeneralProduct<Lhs, Rhs, ProductType> ProductReturnType< Lhs, Rhs, ProductType >::Type

Definition at line 168 of file Product.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011