cyqlone develop
Fast, parallel and vectorized solver for linear systems with optimal control structure.
Loading...
Searching...
No Matches
cyqlone::SparseMatrix Struct Reference

#include <cyqlone/sparse.hpp>

Detailed Description

A sparse matrix in COO format.

Definition at line 26 of file sparse.hpp.

Public Member Functions

auto iter_coo () const

Public Attributes

const std::vector< index_t > row_indices
const std::vector< index_t > col_indices
const std::vector< real_t > values
const SparseCOO< index_t > sparsity

Member Function Documentation

◆ iter_coo()

auto cyqlone::SparseMatrix::iter_coo ( ) const
inlinenodiscard

Definition at line 31 of file sparse.hpp.

Member Data Documentation

◆ row_indices

const std::vector<index_t> cyqlone::SparseMatrix::row_indices

Definition at line 27 of file sparse.hpp.

◆ col_indices

const std::vector<index_t> cyqlone::SparseMatrix::col_indices

Definition at line 27 of file sparse.hpp.

◆ values

const std::vector<real_t> cyqlone::SparseMatrix::values

Definition at line 28 of file sparse.hpp.

◆ sparsity

const SparseCOO<index_t> cyqlone::SparseMatrix::sparsity

Definition at line 29 of file sparse.hpp.


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