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

Specialization for lower_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::lower_triangular_ >

Specialization for lower_triangular_.

Definition at line 98 of file STK_AssignSelector.h.

Member Function Documentation

◆ isAllowed()

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

Definition at line 101 of file STK_AssignSelector.h.

102 { return true;}

◆ resize() [1/2]

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

Definition at line 107 of file STK_AssignSelector.h.

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

◆ resize() [2/2]

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

Definition at line 103 of file STK_AssignSelector.h.

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

◆ shift() [1/2]

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

Definition at line 109 of file STK_AssignSelector.h.

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

◆ shift() [2/2]

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

Definition at line 105 of file STK_AssignSelector.h.

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

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