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
Public Functions Documentation
function DeviceDoubletVector
function clear
function count
function cview
function cviewer
function doublet_capacity
function doublet_count
function indices [1/2]
function indices [2/2]
function reserve_doublets
function reshape
function resize
function resize_doublets
function values [1/2]
function values [2/2]
function view [1/2]
function view [2/2]
function viewer [1/2]
function viewer [2/2]
function ~DeviceDoubletVector
Protected Attributes Documentation
variable m_count
variable m_indices
variable 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