Public Member Functions | Public Attributes | List of all members
mshadow::expr::ScalarExp< DType > Struct Template Reference

scalar expression More...

#include <expression.h>

Inheritance diagram for mshadow::expr::ScalarExp< DType >:
Inheritance graph
Collaboration diagram for mshadow::expr::ScalarExp< DType >:
Collaboration graph

Public Member Functions

 ScalarExp (DType scalar)
 implicit constructor, MUST NOT BE explicit More...
- Public Member Functions inherited from mshadow::expr::Exp< ScalarExp< DType >, DType, type::kMapper >
const ScalarExp< DType > & self (void) const
ScalarExp< DType > * ptrself (void)

Public Attributes

DType scalar_
 scalar value More...

Detailed Description

template<typename DType>
struct mshadow::expr::ScalarExp< DType >

scalar expression

Template Parameters
DTypethe data type of the scalar

Constructor & Destructor Documentation

template<typename DType>
mshadow::expr::ScalarExp< DType >::ScalarExp ( DType  scalar)

implicit constructor, MUST NOT BE explicit

Member Data Documentation

template<typename DType>
DType mshadow::expr::ScalarExp< DType >::scalar_

scalar value

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