Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Symmetric diagonal storage for a dense matrix. More...
#include <Stokhos_SymmetricDiagonalSpec.hpp>
Public Types | |
typedef unsigned | size_type |
Public Member Functions | |
KOKKOS_INLINE_FUNCTION unsigned | dimension () const |
Dimension of vector block. More... | |
KOKKOS_INLINE_FUNCTION unsigned | matrix_offset (const unsigned row, const unsigned column) const |
Storage location for the (row,column) entry. More... | |
KOKKOS_INLINE_FUNCTION unsigned | matrix_size () const |
Storage size for block coefficients. More... | |
SymmetricDiagonalSpec () | |
SymmetricDiagonalSpec (const SymmetricDiagonalSpec &rhs) | |
SymmetricDiagonalSpec & | operator= (const SymmetricDiagonalSpec &rhs) |
SymmetricDiagonalSpec (const unsigned dim) | |
Private Attributes | |
unsigned | m_dimension |
Symmetric diagonal storage for a dense matrix.
Block storage size = dimension * ( dimension + 1 ) / 2
Given block_dim then total_diagonal_count = 1 + dimension / 2
If dimension is even then the last diagonal is only half length.
{ a11 , a22 , a33 , a44 , a55 , ... } { a12 , a23 , a34 , a45 , a56 , ... } { a13 , a24 , a35 , a46 , a57 , ... }
Definition at line 31 of file Stokhos_SymmetricDiagonalSpec.hpp.
typedef unsigned Stokhos::SymmetricDiagonalSpec< ExecutionSpace >::size_type |
Definition at line 34 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Definition at line 64 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Definition at line 67 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inlineexplicit |
Definition at line 75 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Dimension of vector block.
Definition at line 38 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Storage location for the (row,column) entry.
Definition at line 42 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Storage size for block coefficients.
Definition at line 61 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Definition at line 71 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
private |
Definition at line 79 of file Stokhos_SymmetricDiagonalSpec.hpp.