DPsim
Loading...
Searching...
No Matches
DPsim::cuda::CudaMatrix< ValueType, IndexType > Struct Template Reference
Collaboration diagram for DPsim::cuda::CudaMatrix< ValueType, IndexType >:
[legend]

Public Member Functions

 CudaMatrix (const Eigen::SparseMatrix< ValueType, Eigen::RowMajor > &mat, int dim)
 

Public Attributes

const int dim
 
const int non_zero
 
cuda::Vector< IndexType > row
 
cuda::Vector< IndexType > col
 
cuda::Vector< ValueType > val
 

Friends

std::ostream & operator<< (std::ostream &os, const DPsim::cuda::CudaMatrix< ValueType, IndexType > &mat)
 

Detailed Description

template<typename ValueType, typename IndexType>
struct DPsim::cuda::CudaMatrix< ValueType, IndexType >

Definition at line 136 of file CudaUtility.h.

Constructor & Destructor Documentation

◆ CudaMatrix()

template<typename ValueType, typename IndexType>
DPsim::cuda::CudaMatrix< ValueType, IndexType >::CudaMatrix ( const Eigen::SparseMatrix< ValueType, Eigen::RowMajor > & mat,
int dim )
inline

Definition at line 138 of file CudaUtility.h.

Friends And Related Symbol Documentation

◆ operator<<

template<typename ValueType, typename IndexType>
std::ostream & operator<< ( std::ostream & os,
const DPsim::cuda::CudaMatrix< ValueType, IndexType > & mat )
friend

Definition at line 162 of file CudaUtility.h.

Member Data Documentation

◆ col

template<typename ValueType, typename IndexType>
cuda::Vector<IndexType> DPsim::cuda::CudaMatrix< ValueType, IndexType >::col

Definition at line 159 of file CudaUtility.h.

◆ dim

template<typename ValueType, typename IndexType>
const int DPsim::cuda::CudaMatrix< ValueType, IndexType >::dim

Definition at line 156 of file CudaUtility.h.

◆ non_zero

template<typename ValueType, typename IndexType>
const int DPsim::cuda::CudaMatrix< ValueType, IndexType >::non_zero

Definition at line 157 of file CudaUtility.h.

◆ row

template<typename ValueType, typename IndexType>
cuda::Vector<IndexType> DPsim::cuda::CudaMatrix< ValueType, IndexType >::row

Definition at line 158 of file CudaUtility.h.

◆ val

template<typename ValueType, typename IndexType>
cuda::Vector<ValueType> DPsim::cuda::CudaMatrix< ValueType, IndexType >::val

Definition at line 160 of file CudaUtility.h.


The documentation for this struct was generated from the following file: