ProductReturnType< Lhs, Rhs, ProductMode > Class Template Reference

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

#include <Product.h>

List of all members.

Public Types

typedef ei_nested< Lhs,
Rhs::ColsAtCompileTime >::type 
LhsNested
typedef ei_nested< Rhs,
Lhs::RowsAtCompileTime >::type 
RhsNested
typedef Product< LhsNested,
RhsNested, ProductMode > 
Type

Detailed Description

template<typename Lhs, typename Rhs, int ProductMode>
class ProductReturnType< Lhs, Rhs, ProductMode >

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

Parameters:
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 ei_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 or DiagonalProduct should never be used directly.

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

Definition at line 56 of file Product.h.


Member Typedef Documentation

template<typename Lhs, typename Rhs, int ProductMode>
typedef ei_nested<Lhs,Rhs::ColsAtCompileTime>::type ProductReturnType< Lhs, Rhs, ProductMode >::LhsNested

Definition at line 58 of file Product.h.

template<typename Lhs, typename Rhs, int ProductMode>
typedef ei_nested<Rhs,Lhs::RowsAtCompileTime>::type ProductReturnType< Lhs, Rhs, ProductMode >::RhsNested

Definition at line 59 of file Product.h.

template<typename Lhs, typename Rhs, int ProductMode>
typedef Product<LhsNested, RhsNested, ProductMode> ProductReturnType< Lhs, Rhs, ProductMode >::Type

Definition at line 61 of file Product.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:18 2013