Ginkgo Generated from branch based on main. Ginkgo version 1.11.0
A numerical linear algebra library targeting many-core architectures
Loading...
Searching...
No Matches
gko::matrix::Csr< ValueType, IndexType >::scale_add_reuse_info Class Reference

Class describing the internal lookup structures created by scale_add_reuse to recompute a sparse matrix-matrix sum with updated values. More...

#include <ginkgo/core/matrix/csr.hpp>

Public Member Functions

 scale_add_reuse_info (const scale_add_reuse_info &)=delete
 scale_add_reuse_info (scale_add_reuse_info &&) noexcept
scale_add_reuse_info & operator= (const scale_add_reuse_info &)=delete
scale_add_reuse_info & operator= (scale_add_reuse_info &&) noexcept
void update_values (ptr_param< const Dense< value_type > > scale1, ptr_param< const Csr > mtx1, ptr_param< const Dense< value_type > > scale2, ptr_param< const Csr > mtx2, ptr_param< Csr > out) const
 Recomputes the sparse matrix-matrix sum out = scale1 * mtx1 + scale2 * mtx2 when only the values of mtx1, scale1, mtx2, scale2 changed, but the sparsity patterns of mtx1, mtx2 and out are unchanged.

Friends

class Csr

Detailed Description

template<typename ValueType = default_precision, typename IndexType = int32>
class gko::matrix::Csr< ValueType, IndexType >::scale_add_reuse_info

Class describing the internal lookup structures created by scale_add_reuse to recompute a sparse matrix-matrix sum with updated values.


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