STK++ 0.9.13
STK::hidden::FunctorTraits< Derived, Functor > Struct Template Reference

, Utility class that will select the type of operator to apply. More...

#include <STK_ExprBaseFunctors.h>

Public Types

enum  { isVector_ }
 
typedef FunctorSelector< Derived, Functor,(bool) isVector_ >::ColOp ColOp
 
typedef FunctorSelector< Derived, Functor,(bool) isVector_ >::ColWeightedOp ColWeightedOp
 
typedef FunctorSelector< Derived, Functor,(bool) isVector_ >::RowOp RowOp
 
typedef FunctorSelector< Derived, Functor,(bool) isVector_ >::RowWeightedOp RowWeightedOp
 
typedef ColOp::Row Row
 
typedef RowOp::Col Col
 

Detailed Description

template<typename Derived, template< class > class Functor>
struct STK::hidden::FunctorTraits< Derived, Functor >

, Utility class that will select the type of operator to apply.

Utility class that will select the type of operator to apply.

The result can be either a number if the data are in a vector or a point, or a vector if the data are in a matrix

Definition at line 106 of file STK_ExprBaseFunctors.h.

Member Typedef Documentation

◆ Col

template<typename Derived , template< class > class Functor>
typedef RowOp::Col STK::hidden::FunctorTraits< Derived, Functor >::Col

Definition at line 122 of file STK_ExprBaseFunctors.h.

◆ ColOp

template<typename Derived , template< class > class Functor>
typedef FunctorSelector<Derived,Functor,(bool)isVector_>::ColOp STK::hidden::FunctorTraits< Derived, Functor >::ColOp

Definition at line 116 of file STK_ExprBaseFunctors.h.

◆ ColWeightedOp

template<typename Derived , template< class > class Functor>
typedef FunctorSelector<Derived,Functor,(bool)isVector_>::ColWeightedOp STK::hidden::FunctorTraits< Derived, Functor >::ColWeightedOp

Definition at line 117 of file STK_ExprBaseFunctors.h.

◆ Row

template<typename Derived , template< class > class Functor>
typedef ColOp::Row STK::hidden::FunctorTraits< Derived, Functor >::Row

Definition at line 121 of file STK_ExprBaseFunctors.h.

◆ RowOp

template<typename Derived , template< class > class Functor>
typedef FunctorSelector<Derived,Functor,(bool)isVector_>::RowOp STK::hidden::FunctorTraits< Derived, Functor >::RowOp

Definition at line 118 of file STK_ExprBaseFunctors.h.

◆ RowWeightedOp

template<typename Derived , template< class > class Functor>
typedef FunctorSelector<Derived,Functor,(bool)isVector_>::RowWeightedOp STK::hidden::FunctorTraits< Derived, Functor >::RowWeightedOp

Definition at line 119 of file STK_ExprBaseFunctors.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Derived , template< class > class Functor>
anonymous enum
Enumerator
isVector_ 

Definition at line 108 of file STK_ExprBaseFunctors.h.

109 {
110 isVector_ = ( Derived::structure_ == int(Arrays::vector_)
111 || Derived::structure_ == int(Arrays::point_)
112 || Derived::structure_ == int(Arrays::number_)
113 )
114 };
@ number_
(1,1) matrix/vector/array/expression (like a number)
@ point_
row oriented vector/array/expression
@ vector_
column oriented vector/array/expression

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