Template Class COO
Defined in File coo.h
Inheritance Relationships
Base Type
public sparsebase::utils::IdentifiableImplementation< COO< IDType, NNZType, ValueType >, FormatOrderTwo< IDType, NNZType, ValueType > >
(Template Class IdentifiableImplementation)
Class Documentation
-
template<typename IDType, typename NNZType, typename ValueType>
class sparsebase::format::COO : public sparsebase::utils::IdentifiableImplementation<COO<IDType, NNZType, ValueType>, FormatOrderTwo<IDType, NNZType, ValueType>> Coordinate List Sparse Data Format.
Coordinate List format keeps 3 arrays row, col, vals. The i-th element is at the coordinate row[i], col[i] in the matrix. The value for the i-th element is vals[i].
N. Sato and W. F. Tinney, “Techniques for Exploiting the Sparsity or the
Network Admittance Matrix,” in IEEE Transactions on Power Apparatus and Systems, vol. 82, no. 69, pp. 944-950, Dec. 1963, doi: 10.1109/TPAS.1963.291477.
- tparam IDType
type used for the dimensions
- tparam NNZType
type used for non-zeros and the number of non-zeros
- tparam ValueType
type used for the stored values