STK++ 0.9.13
STK::hidden::ProductTraits< Lhs, Rhs, Arrays::upper_triangular_, Arrays::upper_triangular_ > Struct Template Reference

#include <STK_ProductDispatcher.h>

Public Types

enum  { structure_ = Arrays::upper_triangular_ , sizeRows_ = Traits<Lhs>::sizeRows_ , sizeCols_ = Traits<Rhs>::sizeCols_ }
 
typedef hidden::Promote< typenameLhs::Type, typenameRhs::Type >::result_type Type
 
typedef RemoveConst< Type >::Type constTypeConst
 
typedef If< storage_==int(Arrays::dense_), Array2DUpperTriangular< Type >, SArray2DUpperTriangular< Type > >::Result Allocator
 

Detailed Description

template<typename Lhs, typename Rhs>
struct STK::hidden::ProductTraits< Lhs, Rhs, Arrays::upper_triangular_, Arrays::upper_triangular_ >

Definition at line 359 of file STK_ProductDispatcher.h.

Member Typedef Documentation

◆ Allocator

◆ Type

template<typename Lhs , typename Rhs >
typedef hidden::Promote<typenameLhs::Type,typenameRhs::Type>::result_type STK::hidden::ProductTraits< Lhs, Rhs, Arrays::upper_triangular_, Arrays::upper_triangular_ >::Type

Definition at line 376 of file STK_ProductDispatcher.h.

◆ TypeConst

Member Enumeration Documentation

◆ anonymous enum

Enumerator
structure_ 
sizeRows_ 
sizeCols_ 

Definition at line 361 of file STK_ProductDispatcher.h.

362 {
364 sizeRows_ = Traits<Lhs>::sizeRows_,
365 sizeCols_ = Traits<Rhs>::sizeCols_,
366 // use rhs orientation by default, otherwise orientation of the panel size
367 orient_ = ( Traits<Lhs>::sizeRows_ == UnknownSize || Traits<Rhs>::sizeCols_ == UnknownSize)
368 ? Traits<Rhs>::orient_
369 : int(Traits<Lhs>::sizeRows_) > int(Traits<Rhs>::sizeCols_)
370 ? int(Traits<Lhs>::orient_) : int(Traits<Rhs>::orient_),
371 storage_ = ( Traits<Lhs>::storage_ == int(Arrays::dense_)) || (Traits<Rhs>::storage_ == int(Arrays::dense_))
372 ? int(Arrays::dense_) : int(Arrays::sparse_)
373 , useForRows_ = Arrays::useLhsSize_
374 , useForCols_ = Arrays::useRhsSize_
375 };
@ sparse_
sparse matrix/vector/array/expression
@ dense_
dense matrix/vector/array/expression
@ upper_triangular_
upper triangular matrix/array/expression
@ useLhsSize_
use lhs.rows() (resp. lhs.cols()) in order to get rows() (resp. cols())
@ useRhsSize_
use rhs.rows() (resp. rhs.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: