Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::ublas::scalar_value< T > Class Template Reference

#include <expression_types.hpp>

Inheritance diagram for boost::numeric::ublas::scalar_value< T >:
Collaboration diagram for boost::numeric::ublas::scalar_value< T >:

Public Types

typedef T value_type
 
typedef const value_typeconst_reference
 
typedef boost::mpl::if_
< boost::is_const< T >
, const_reference, value_type & >
::type 
reference
 
typedef const scalar_reference
< const self_type
const_closure_type
 
typedef scalar_reference
< self_type
closure_type
 
typedef scalar_value< Texpression_type
 
typedef scalar_tag type_category
 

Public Member Functions

BOOST_UBLAS_INLINE scalar_value ()
 
BOOST_UBLAS_INLINE scalar_value (const value_type &t)
 
BOOST_UBLAS_INLINE operator value_type () const
 
BOOST_UBLAS_INLINE scalar_valueoperator= (const scalar_value &s)
 
template<class AE >
BOOST_UBLAS_INLINE scalar_valueoperator= (const scalar_expression< AE > &ae)
 
BOOST_UBLAS_INLINE bool same_closure (const scalar_value &sv) const
 
BOOST_UBLAS_INLINE const
expression_type
operator() () const
 
BOOST_UBLAS_INLINE
expression_type
operator() ()
 

Member Typedef Documentation

template<class T >
typedef const value_type& boost::numeric::ublas::scalar_value< T >::const_reference
template<class T >
typedef boost::mpl::if_<boost::is_const<T>, const_reference, value_type &>::type boost::numeric::ublas::scalar_value< T >::reference
template<class T >
typedef T boost::numeric::ublas::scalar_value< T >::value_type

Constructor & Destructor Documentation

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::scalar_value< T >::scalar_value ( )
inline
template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::scalar_value< T >::scalar_value ( const value_type t)
inline

Member Function Documentation

template<class T >
BOOST_UBLAS_INLINE boost::numeric::ublas::scalar_value< T >::operator value_type ( ) const
inline
BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::scalar_expression< scalar_value< T > >::operator() ( ) const
inlineinherited
BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::scalar_expression< scalar_value< T > >::operator() ( )
inlineinherited
template<class T >
BOOST_UBLAS_INLINE scalar_value& boost::numeric::ublas::scalar_value< T >::operator= ( const scalar_value< T > &  s)
inline
template<class T >
template<class AE >
BOOST_UBLAS_INLINE scalar_value& boost::numeric::ublas::scalar_value< T >::operator= ( const scalar_expression< AE > &  ae)
inline
template<class T >
BOOST_UBLAS_INLINE bool boost::numeric::ublas::scalar_value< T >::same_closure ( const scalar_value< T > &  sv) const
inline

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