Skip to content

Class muda::DeviceDoubletVector

template <typename T, int N>

ClassList > muda > DeviceDoubletVector

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

Public Types

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

Public Static Attributes

Type Name
bool IsSegmentVector = = (N > 1)

Public Functions

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

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

Public Types Documentation

typedef ValueT

using muda::DeviceDoubletVector< T, N >::ValueT =  std::conditional_t<N == 1, T, Eigen::Vector<T, N>>;

Public Static Attributes Documentation

variable IsSegmentVector

bool muda::DeviceDoubletVector< T, N >::IsSegmentVector;

Public Functions Documentation

function DeviceDoubletVector

muda::DeviceDoubletVector::DeviceDoubletVector () = default

function clear

inline void muda::DeviceDoubletVector::clear () 

function count

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

function cview

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

function cviewer

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

function doublet_capacity

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

function doublet_count

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

function indices [1/2]

inline auto muda::DeviceDoubletVector::indices () 

function indices [2/2]

inline auto muda::DeviceDoubletVector::indices () 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 values [1/2]

inline auto muda::DeviceDoubletVector::values () 

function values [2/2]

inline auto muda::DeviceDoubletVector::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_count

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

variable m_indices

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

variable m_values

muda::DeviceBuffer<ValueT> muda::DeviceDoubletVector< T, N >::m_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