Skip to content

Class muda::DeviceDoubletVector

template <typename T, int N>

ClassList > muda > DeviceDoubletVector

Inherited by the following classes: muda::DeviceBCOOVector

Public Types

Type Name
typedef Eigen::Vector< T, N > SegmentVector

Public Functions

Type Name
DeviceDoubletVector () = default
void clear ()
auto doublet_capacity () const
auto doublet_count () 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 segment_count () const
auto segment_indices ()
auto segment_indices () const
auto segment_values ()
auto segment_values () const
auto view ()
auto view () const
auto viewer ()
auto viewer () const
~DeviceDoubletVector () = default

Protected Attributes

Type Name
int m_segment_count = = 0
muda::DeviceBuffer< int > m_segment_indices
muda::DeviceBuffer< SegmentVector > m_segment_values

Public Types Documentation

typedef SegmentVector

using muda::DeviceDoubletVector< T, N >::SegmentVector =  Eigen::Vector<T, N>;

Public Functions Documentation

function DeviceDoubletVector

muda::DeviceDoubletVector::DeviceDoubletVector () = default

function clear

inline void muda::DeviceDoubletVector::clear () 

function doublet_capacity

inline auto muda::DeviceDoubletVector::doublet_capacity () const

function doublet_count

inline auto muda::DeviceDoubletVector::doublet_count () const

function reserve_doublets

inline void muda::DeviceDoubletVector::reserve_doublets (
    size_t nonzero_count
) 

function reshape

inline void muda::DeviceDoubletVector::reshape (
    int num_segment
) 

function resize

inline void muda::DeviceDoubletVector::resize (
    int num_segment,
    size_t nonzero_count
) 

function resize_doublets

inline void muda::DeviceDoubletVector::resize_doublets (
    size_t nonzero_count
) 

function segment_count

inline auto muda::DeviceDoubletVector::segment_count () const

function segment_indices [1/2]

inline auto muda::DeviceDoubletVector::segment_indices () 

function segment_indices [2/2]

inline auto muda::DeviceDoubletVector::segment_indices () const

function segment_values [1/2]

inline auto muda::DeviceDoubletVector::segment_values () 

function segment_values [2/2]

inline auto muda::DeviceDoubletVector::segment_values () const

function view [1/2]

inline auto muda::DeviceDoubletVector::view () 

function view [2/2]

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

function viewer [1/2]

inline auto muda::DeviceDoubletVector::viewer () 

function viewer [2/2]

inline auto muda::DeviceDoubletVector::viewer () const

function ~DeviceDoubletVector

muda::DeviceDoubletVector::~DeviceDoubletVector () = default

Protected Attributes Documentation

variable m_segment_count

int muda::DeviceDoubletVector< T, N >::m_segment_count;

variable m_segment_indices

muda::DeviceBuffer<int> muda::DeviceDoubletVector< T, N >::m_segment_indices;

variable m_segment_values

muda::DeviceBuffer<SegmentVector> muda::DeviceDoubletVector< T, N >::m_segment_values;

Friends Documentation

friend MatrixFormatConverter

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


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