column_limit Class Reference#
|
Reference API
|
gko::matrix::Hybrid< ValueType, IndexType >::column_limit Class Reference
#include <ginkgo/core/matrix/hybrid.hpp>
Inheritance diagram for gko::matrix::Hybrid< ValueType, IndexType >::column_limit:
Public Member Functions | |
| column_limit (size_type num_column=0) | |
| size_type | compute_ell_num_stored_elements_per_row (array< size_type > *row_nnz) const override |
| auto | get_num_columns () const |
Public Member Functions inherited from gko::matrix::Hybrid< ValueType, IndexType >::strategy_type | |
| strategy_type () | |
| void | compute_hybrid_config (const array< size_type > &row_nnz, size_type *ell_num_stored_elements_per_row, size_type *coo_nnz) |
| size_type | get_ell_num_stored_elements_per_row () const noexcept |
| size_type | get_coo_nnz () const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from gko::matrix::Hybrid< ValueType, IndexType >::strategy_type | |
| size_type | compute_coo_nnz (const array< size_type > &row_nnz) const |
Detailed Description
template<typename ValueType = default_precision, typename IndexType = int32>
class gko::matrix::Hybrid< ValueType, IndexType >::column_limit
class gko::matrix::Hybrid< ValueType, IndexType >::column_limit
column_limit is a strategy_type which decides the number of stored elements per row of the ell part by specifying the number of columns.
Constructor & Destructor Documentation
◆ column_limit()
template<typename ValueType = default_precision, typename IndexType = int32>
|
inlineexplicit |
Creates a column_limit strategy.
- Parameters
-
num_column the specified number of columns of the ell part
Member Function Documentation
◆ compute_ell_num_stored_elements_per_row()
template<typename ValueType = default_precision, typename IndexType = int32>
|
inlineoverridevirtual |
Computes the number of stored elements per row of the ell part.
- Parameters
-
row_nnz the number of nonzeros of each row
- Returns
- the number of stored elements per row of the ell part
Implements gko::matrix::Hybrid< ValueType, IndexType >::strategy_type.
◆ get_num_columns()
template<typename ValueType = default_precision, typename IndexType = int32>
|
inline |
Get the number of columns limit
- Returns
- the number of columns limit
The documentation for this class was generated from the following file:
- ginkgo/core/matrix/hybrid.hpp
Generated by
Public Member Functions inherited from