STK++ 0.9.13
STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ > Struct Template Reference

Specialization for upper_triangular_. More...

#include <STK_AssignSelector.h>

Static Public Member Functions

static bool isAllowed (Derived const &array, Range const &I, Range const &J)
 
static bool resize (Derived const &array, Range const &I, Range const &J)
 
static bool shift (Derived const &array, int beginRow, int beginCol)
 
static bool resize (Derived const &array, Range const &I)
 
static bool shift (Derived const &array, int begin)
 

Detailed Description

template<class Derived>
struct STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ >

Specialization for upper_triangular_.

Definition at line 80 of file STK_AssignSelector.h.

Member Function Documentation

◆ isAllowed()

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ >::isAllowed ( Derived const array,
Range const I,
Range const J 
)
inlinestatic

Definition at line 83 of file STK_AssignSelector.h.

84 { return true;}

◆ resize() [1/2]

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ >::resize ( Derived const array,
Range const I 
)
inlinestatic

Definition at line 89 of file STK_AssignSelector.h.

90 { return (array.rows() != I || array.cols() != I);}

◆ resize() [2/2]

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ >::resize ( Derived const array,
Range const I,
Range const J 
)
inlinestatic

Definition at line 85 of file STK_AssignSelector.h.

86 { return (array.rows() != I || array.cols() != J);}

◆ shift() [1/2]

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ >::shift ( Derived const array,
int  begin 
)
inlinestatic

Definition at line 91 of file STK_AssignSelector.h.

92 { return (array.beginRows() != begin || array.beginCols() != begin);}

◆ shift() [2/2]

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::upper_triangular_ >::shift ( Derived const array,
int  beginRow,
int  beginCol 
)
inlinestatic

Definition at line 87 of file STK_AssignSelector.h.

88 { return (array.beginRows() != beginRow || array.beginCols() != beginCol);}

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