STK++ 0.9.13
STK::hidden::Traits< DiagonalGetterOperator< Lhs > > Struct Template Reference

Traits class for DiagonalGetterOperator operator. More...

#include <STK_ReshapeOperators.h>

Public Types

enum  {
  structure_ = Arrays::diagonal_ , orient_ = Lhs::orient_ , sizeRows_ = ((Lhs::sizeRows_ < Lhs::sizeCols_)) ? Lhs::sizeRows_ : Lhs::sizeCols_ , sizeCols_ = sizeRows_ ,
  storage_ = Lhs::storage_ , isValid_ , use_ = (sizeRows_ != UnknownSize) ? Arrays::useLhsSize_ : Arrays::useLhsOtherSize_ , size_ = (sizeRows_ != UnknownSize) ? sizeRows_ : sizeCols_
}
 
typedef RowOperator< DiagonalGetterOperator< Lhs > > Row
 
typedef ColOperator< DiagonalGetterOperator< Lhs > > Col
 
typedef Lhs::Type Type
 
typedef Lhs::TypeConst TypeConst
 

Detailed Description

template<typename Lhs>
struct STK::hidden::Traits< DiagonalGetterOperator< Lhs > >

Traits class for DiagonalGetterOperator operator.

Definition at line 158 of file STK_ReshapeOperators.h.

Member Typedef Documentation

◆ Col

◆ Row

◆ Type

Definition at line 181 of file STK_ReshapeOperators.h.

◆ TypeConst

template<typename Lhs >
typedef Lhs::TypeConst STK::hidden::Traits< DiagonalGetterOperator< Lhs > >::TypeConst

Definition at line 182 of file STK_ReshapeOperators.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Lhs >
anonymous enum
Enumerator
structure_ 
orient_ 
sizeRows_ 
sizeCols_ 
storage_ 
isValid_ 
use_ 
size_ 

Definition at line 160 of file STK_ReshapeOperators.h.

161 {
163 orient_ = Lhs::orient_,
164 sizeRows_ = ((Lhs::sizeRows_ < Lhs::sizeCols_)) ? Lhs::sizeRows_ : Lhs::sizeCols_,
166 storage_ = Lhs::storage_,
167 isValid_ = ( hidden::Traits<Lhs>::structure_==(int)Arrays::array2D_)
168 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::square_)
169 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::diagonal_)
170 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::lower_triangular_)
171 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::upper_triangular_)
172 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::symmetric_)
173 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::lower_symmetric_)
174 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::upper_symmetric_)
175 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::number_),
178 };
@ array2D_
general matrix/array/expression
@ number_
(1,1) matrix/vector/array/expression (like a number)
@ lower_symmetric_
lower symmetric matrix/array/expression
@ lower_triangular_
lower triangular matrix/array/expression
@ symmetric_
symmetric matrix/array/expression
@ upper_triangular_
upper triangular matrix/array/expression
@ diagonal_
diagonal matrix/array/expression
@ upper_symmetric_
upper symmetric matrix/array/expression
@ square_
square matrix/array/expression
@ useLhsOtherSize_
if true, use lhs.cols() in order to get rows() and lhs.rows() in order to get cols()
@ useLhsSize_
use lhs.rows() (resp. lhs.cols()) in order to get rows() (resp. cols())
const int UnknownSize
This value means that an integer is not known at compile-time, and that instead the value is stored i...

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