Public Types

pow< T, exponent > Struct Template Reference

Metafunction returning the power of an expression. Tries to balance the generated expression tree. More...

#include <integrate.hpp>

Public Types

typedef ct_binary_expr
< typename pow< T, exponent/2 >
::type, op_mult
< default_numeric_type >
, typename pow< T, exponent-exponent/2 >
::type
type

Detailed Description

template<typename T, long exponent>
struct viennamath::result_of::pow< T, exponent >

Metafunction returning the power of an expression. Tries to balance the generated expression tree.


Member Typedef Documentation

typedef ct_binary_expr< typename pow<T, exponent / 2>::type, op_mult<default_numeric_type>, typename pow<T, exponent - exponent / 2>::type> type

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