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 63 of file Stokhos_SymmetricDiagonalSpec.hpp.
typedef unsigned Stokhos::SymmetricDiagonalSpec< ExecutionSpace >::size_type |
Definition at line 66 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Definition at line 96 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Definition at line 99 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inlineexplicit |
Definition at line 107 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Dimension of vector block.
Definition at line 70 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Storage location for the (row,column) entry.
Definition at line 74 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Storage size for block coefficients.
Definition at line 93 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
inline |
Definition at line 103 of file Stokhos_SymmetricDiagonalSpec.hpp.
|
private |
Definition at line 111 of file Stokhos_SymmetricDiagonalSpec.hpp.