Skip to content

Class muda::DeviceTripletMatrix

template <typename T, int N>

ClassList > muda > DeviceTripletMatrix

Inherited by the following classes: muda::DeviceBCOOMatrix, muda::DeviceBCOOMatrix

Public Types

Type Name
typedef Eigen::Matrix< T, N, N > BlockMatrix

Public Functions

Type Name
DeviceTripletMatrix () = default
DeviceTripletMatrix (const DeviceTripletMatrix &) = default
DeviceTripletMatrix (DeviceTripletMatrix &&) = default
auto block_col_indices ()
auto block_col_indices () const
auto block_cols () const
auto block_row_indices ()
auto block_row_indices () const
auto block_rows () const
auto block_values ()
auto block_values () const
void clear ()
auto cview () const
auto cviewer () const
operator CTripletMatrixView< T, N > () const
operator TripletMatrixView< T, N > ()
DeviceTripletMatrix & operator= (const DeviceTripletMatrix &) = default
DeviceTripletMatrix & operator= (DeviceTripletMatrix &&) = default
void reserve_triplets (size_t nonzero_count)
void reshape (int row, int col)
void resize (int row, int col, size_t nonzero_count)
void resize_triplets (size_t nonzero_count)
auto triplet_capacity () const
auto triplet_count () const
auto view ()
auto view () const
auto viewer ()
~DeviceTripletMatrix () = default

Public Static Functions

Type Name
constexpr int block_dim ()

Protected Attributes

Type Name
DeviceBuffer< int > m_block_col_indices
int m_block_cols = = 0
DeviceBuffer< int > m_block_row_indices
int m_block_rows = = 0
DeviceBuffer< BlockMatrix > m_block_values

Public Types Documentation

typedef BlockMatrix

using muda::DeviceTripletMatrix< T, N >::BlockMatrix =  Eigen::Matrix<T, N, N>;

Public Functions Documentation

function DeviceTripletMatrix [1/3]

muda::DeviceTripletMatrix::DeviceTripletMatrix () = default

function DeviceTripletMatrix [2/3]

muda::DeviceTripletMatrix::DeviceTripletMatrix (
    const DeviceTripletMatrix &
) = default

function DeviceTripletMatrix [3/3]

muda::DeviceTripletMatrix::DeviceTripletMatrix (
    DeviceTripletMatrix &&
) = default

function block_col_indices [1/2]

inline auto muda::DeviceTripletMatrix::block_col_indices () 

function block_col_indices [2/2]

inline auto muda::DeviceTripletMatrix::block_col_indices () const

function block_cols

inline auto muda::DeviceTripletMatrix::block_cols () const

function block_row_indices [1/2]

inline auto muda::DeviceTripletMatrix::block_row_indices () 

function block_row_indices [2/2]

inline auto muda::DeviceTripletMatrix::block_row_indices () const

function block_rows

inline auto muda::DeviceTripletMatrix::block_rows () const

function block_values [1/2]

inline auto muda::DeviceTripletMatrix::block_values () 

function block_values [2/2]

inline auto muda::DeviceTripletMatrix::block_values () const

function clear

inline void muda::DeviceTripletMatrix::clear () 

function cview

inline auto muda::DeviceTripletMatrix::cview () const

function cviewer

inline auto muda::DeviceTripletMatrix::cviewer () const

function operator CTripletMatrixView< T, N >

inline muda::DeviceTripletMatrix::operator CTripletMatrixView< T, N > () const

function operator TripletMatrixView< T, N >

inline muda::DeviceTripletMatrix::operator TripletMatrixView< T, N > () 

function operator=

DeviceTripletMatrix & muda::DeviceTripletMatrix::operator= (
    const DeviceTripletMatrix &
) = default

function operator=

DeviceTripletMatrix & muda::DeviceTripletMatrix::operator= (
    DeviceTripletMatrix &&
) = default

function reserve_triplets

inline void muda::DeviceTripletMatrix::reserve_triplets (
    size_t nonzero_count
) 

function reshape

inline void muda::DeviceTripletMatrix::reshape (
    int row,
    int col
) 

function resize

inline void muda::DeviceTripletMatrix::resize (
    int row,
    int col,
    size_t nonzero_count
) 

function resize_triplets

inline void muda::DeviceTripletMatrix::resize_triplets (
    size_t nonzero_count
) 

function triplet_capacity

inline auto muda::DeviceTripletMatrix::triplet_capacity () const

function triplet_count

inline auto muda::DeviceTripletMatrix::triplet_count () const

function view [1/2]

inline auto muda::DeviceTripletMatrix::view () 

function view [2/2]

inline auto muda::DeviceTripletMatrix::view () const

function viewer

inline auto muda::DeviceTripletMatrix::viewer () 

function ~DeviceTripletMatrix

muda::DeviceTripletMatrix::~DeviceTripletMatrix () = default

Public Static Functions Documentation

function block_dim

static inline constexpr int muda::DeviceTripletMatrix::block_dim () 

Protected Attributes Documentation

variable m_block_col_indices

DeviceBuffer<int> muda::DeviceTripletMatrix< T, N >::m_block_col_indices;

variable m_block_cols

int muda::DeviceTripletMatrix< T, N >::m_block_cols;

variable m_block_row_indices

DeviceBuffer<int> muda::DeviceTripletMatrix< T, N >::m_block_row_indices;

variable m_block_rows

int muda::DeviceTripletMatrix< T, N >::m_block_rows;

variable m_block_values

DeviceBuffer<BlockMatrix> muda::DeviceTripletMatrix< T, N >::m_block_values;

Friends Documentation

friend MatrixFormatConverter

template<typename U, int M>
class muda::DeviceTripletMatrix::MatrixFormatConverter (
    details::MatrixFormatConverter
) 


The documentation for this class was generated from the following file src/muda/ext/linear_system/device_triplet_matrix.h