mxnet
Public Member Functions | List of all members
mshadow::expr::RValueExp< Container, DType > Class Template Reference

base class of all rvalues More...

#include <expression.h>

Inheritance diagram for mshadow::expr::RValueExp< Container, DType >:
Inheritance graph
Collaboration diagram for mshadow::expr::RValueExp< Container, DType >:
Collaboration graph

Public Member Functions

const TransposeExp< Container, DType > T (void) const
 transpose of a matrix More...
 
Container & operator+= (DType s)
 operator overload More...
 
Container & operator-= (DType s)
 operator overload More...
 
Container & operator*= (DType s)
 operator overload More...
 
Container & operator/= (DType s)
 operator overload More...
 
Container & __assign (DType s)
 operator overload More...
 
template<typename E , int etype>
Container & __assign (const Exp< E, DType, etype > &exp)
 we can not define container = container More...
 
Container & __assign (const Exp< Container, DType, type::kRValue > &exp)
 operator overload, assign More...
 
template<typename E , int etype>
Container & operator+= (const Exp< E, DType, etype > &exp)
 implementation of operator+= More...
 
template<typename E , int etype>
Container & operator-= (const Exp< E, DType, etype > &exp)
 implementation of operator-= More...
 
template<typename E , int etype>
Container & operator*= (const Exp< E, DType, etype > &exp)
 implementation of operator*= More...
 
template<typename E , int etype>
Container & operator/= (const Exp< E, DType, etype > &exp)
 implementation of operator/= More...
 
- Public Member Functions inherited from mshadow::expr::Exp< Container, DType, type::kRValue >
const Container & self (void) const
 
Container * ptrself (void)
 

Detailed Description

template<typename Container, typename DType>
class mshadow::expr::RValueExp< Container, DType >

base class of all rvalues

Template Parameters
Containerthe actually class of data container, e.g. Tensor1D
DataTypethe element data type of each element in the container

Member Function Documentation

template<typename Container, typename DType>
Container& mshadow::expr::RValueExp< Container, DType >::__assign ( DType  s)
inline

operator overload

template<typename Container, typename DType>
template<typename E , int etype>
Container& mshadow::expr::RValueExp< Container, DType >::__assign ( const Exp< E, DType, etype > &  exp)
inline

we can not define container = container

template<typename Container, typename DType>
Container& mshadow::expr::RValueExp< Container, DType >::__assign ( const Exp< Container, DType, type::kRValue > &  exp)
inline

operator overload, assign

template<typename Container, typename DType>
Container& mshadow::expr::RValueExp< Container, DType >::operator*= ( DType  s)
inline

operator overload

template<typename Container, typename DType>
template<typename E , int etype>
Container& mshadow::expr::RValueExp< Container, DType >::operator*= ( const Exp< E, DType, etype > &  exp)
inline

implementation of operator*=

template<typename Container, typename DType>
Container& mshadow::expr::RValueExp< Container, DType >::operator+= ( DType  s)
inline

operator overload

template<typename Container, typename DType>
template<typename E , int etype>
Container& mshadow::expr::RValueExp< Container, DType >::operator+= ( const Exp< E, DType, etype > &  exp)
inline

implementation of operator+=

template<typename Container, typename DType>
Container& mshadow::expr::RValueExp< Container, DType >::operator-= ( DType  s)
inline

operator overload

template<typename Container, typename DType>
template<typename E , int etype>
Container& mshadow::expr::RValueExp< Container, DType >::operator-= ( const Exp< E, DType, etype > &  exp)
inline

implementation of operator-=

template<typename Container, typename DType>
Container& mshadow::expr::RValueExp< Container, DType >::operator/= ( DType  s)
inline

operator overload

template<typename Container, typename DType>
template<typename E , int etype>
Container& mshadow::expr::RValueExp< Container, DType >::operator/= ( const Exp< E, DType, etype > &  exp)
inline

implementation of operator/=

template<typename Container, typename DType>
const TransposeExp<Container, DType> mshadow::expr::RValueExp< Container, DType >::T ( void  ) const
inline

transpose of a matrix

Returns
transpose of current expression

The documentation for this class was generated from the following file: