Skip to content

Class muda::DeviceBCOOVector

template <typename T, int N>

ClassList > muda > DeviceBCOOVector

Inherits the following classes: muda::DeviceDoubletVector

Public Types

Type Name
typedef Eigen::Matrix< T, N, 1 > SegmentVector

Public Types inherited from muda::DeviceDoubletVector

See muda::DeviceDoubletVector

Type Name
typedef std::conditional_t< N==1, T, Eigen::Vector< T, N > > ValueT

Public Static Attributes inherited from muda::DeviceDoubletVector

See muda::DeviceDoubletVector

Type Name
bool IsSegmentVector = = (N > 1)

Public Functions

Type Name
DeviceBCOOVector () = default
DeviceBCOOVector (const DeviceBCOOVector &) = default
DeviceBCOOVector (DeviceBCOOVector &&) = default
auto non_zeros () const
DeviceBCOOVector & operator= (const DeviceBCOOVector &) = default
DeviceBCOOVector & operator= (DeviceBCOOVector &&) = default
~DeviceBCOOVector () = default

Public Functions inherited from muda::DeviceDoubletVector

See muda::DeviceDoubletVector

Type Name
DeviceDoubletVector () = default
void clear ()
auto count () const
auto cview () const
auto cviewer () const
auto doublet_capacity () const
auto doublet_count () const
auto indices ()
auto indices () const
void reserve_doublets (size_t nonzero_count)
void reshape (int num_segment)
void resize (int num_segment, size_t nonzero_count)
void resize_doublets (size_t nonzero_count)
auto values ()
auto values () const
auto view ()
auto view () const
auto viewer ()
auto viewer () const
~DeviceDoubletVector () = default

Protected Attributes inherited from muda::DeviceDoubletVector

See muda::DeviceDoubletVector

Type Name
int m_count = = 0
muda::DeviceBuffer< int > m_indices
muda::DeviceBuffer< ValueT > m_values

Public Types Documentation

typedef SegmentVector

using muda::DeviceBCOOVector< T, N >::SegmentVector =  Eigen::Matrix<T, N, 1>;

Public Functions Documentation

function DeviceBCOOVector [1/3]

muda::DeviceBCOOVector::DeviceBCOOVector () = default

function DeviceBCOOVector [2/3]

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

function DeviceBCOOVector [3/3]

muda::DeviceBCOOVector::DeviceBCOOVector (
    DeviceBCOOVector &&
) = default

function non_zeros

inline auto muda::DeviceBCOOVector::non_zeros () const

function operator=

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

function operator=

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

function ~DeviceBCOOVector

muda::DeviceBCOOVector::~DeviceBCOOVector () = default

Friends Documentation

friend MatrixFormatConverter< T, N >

class muda::DeviceBCOOVector::MatrixFormatConverter< T, N > (
    details::MatrixFormatConverter < T, N >
) 


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