CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
funct::Sum< PowerStruct< CosStruct< A >, Numerical< 2 > >, PowerStruct< SinStruct< A >, Numerical< 2 > > > Struct Template Reference

#include <SimplifyTrigonometric.h>

Public Types

typedef Sum< typename Sin2< A >::type, typename Cos2< A >::type >::type type
 

Static Public Member Functions

static type combine (const typename Cos2< A >::type &_1, const typename Sin2< A >::type &_2)
 

Detailed Description

template<typename A>
struct funct::Sum< PowerStruct< CosStruct< A >, Numerical< 2 > >, PowerStruct< SinStruct< A >, Numerical< 2 > > >

Definition at line 133 of file SimplifyTrigonometric.h.

Member Typedef Documentation

template<typename A >
typedef Sum< typename Sin2< A >::type , typename Cos2< A >::type >::type funct::Sum< PowerStruct< CosStruct< A >, Numerical< 2 > >, PowerStruct< SinStruct< A >, Numerical< 2 > > >::type

Definition at line 135 of file SimplifyTrigonometric.h.

Member Function Documentation

template<typename A >
static type funct::Sum< PowerStruct< CosStruct< A >, Numerical< 2 > >, PowerStruct< SinStruct< A >, Numerical< 2 > > >::combine ( const typename Cos2< A >::type _1,
const typename Sin2< A >::type _2 
)
inlinestatic

Definition at line 136 of file SimplifyTrigonometric.h.

137  { return Sum<SIN2(A), COS2(A)>::combine(_2, _1); }
static type combine(const A &a, const B &b)
Definition: Sum.h:28