ndarray
NumPy-friendly multidimensional arrays in C++
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ndarray::detail::ComplexExtractor< Array_ > Struct Template Reference

Public Types

typedef ExpressionTraits< Array_ >::Element ComplexElement
 
typedef boost::remove_const< ComplexElement >::type ComplexValue
 
typedef ExpressionTraits< Array_ >::ND ND
 
typedef ComplexValue::value_type RealValue
 
typedef boost::mpl::if_< boost::is_const< ComplexElement >, RealValueconst, RealValue >::type RealElement
 
typedef ArrayRef< RealElement, ND::value, 0 > Result
 
typedef detail::ArrayAccess< ResultAccess
 
typedef Vector< Size, ND::value > Index
 

Public Member Functions

 BOOST_STATIC_ASSERT (boost::is_complex< ComplexValue >::value)
 

Static Public Member Functions

static Result apply (Array_ const &array, Offset offset)
 

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