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

Traits class for DiagonalGetterAccessor operator. More...

#include <STK_ReshapeAccessors.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< DiagonalGetterAccessor< Lhs > > Row
 
typedef ColOperator< DiagonalGetterAccessor< Lhs > > Col
 
typedef Lhs::Type Type
 
typedef Lhs::TypeConst TypeConst
 

Detailed Description

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

Traits class for DiagonalGetterAccessor operator.

Definition at line 171 of file STK_ReshapeAccessors.h.

Member Typedef Documentation

◆ Col

◆ Row

◆ Type

Definition at line 194 of file STK_ReshapeAccessors.h.

◆ TypeConst

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

Definition at line 195 of file STK_ReshapeAccessors.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 173 of file STK_ReshapeAccessors.h.

174 {
176 orient_ = Lhs::orient_,
177 sizeRows_ = ((Lhs::sizeRows_ < Lhs::sizeCols_)) ? Lhs::sizeRows_ : Lhs::sizeCols_,
179 storage_ = Lhs::storage_,
180 isValid_ = ( hidden::Traits<Lhs>::structure_==(int)Arrays::array2D_)
181 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::square_)
182 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::diagonal_)
183 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::lower_triangular_)
184 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::upper_triangular_)
185 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::symmetric_)
186 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::lower_symmetric_)
187 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::upper_symmetric_)
188 ||(hidden::Traits<Lhs>::structure_==(int)Arrays::number_),
191 };
@ 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: