Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Public Member Functions
Kokkos::DefaultCrsMatrix< Scalar, Ordinal, Node > Class Template Reference

Default implementation of CRS sparse matrix, using generic kernels and suitable for host-based nodes. More...

#include <Kokkos_DefaultSparseOps.hpp>

Inheritance diagram for Kokkos::DefaultCrsMatrix< Scalar, Ordinal, Node >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void setValues (const ArrayRCP< const Scalar > &vals)
 Submit the matrix values.

Detailed Description

template<class Scalar, class Ordinal, class Node>
class Kokkos::DefaultCrsMatrix< Scalar, Ordinal, Node >

Default implementation of CRS sparse matrix, using generic kernels and suitable for host-based nodes.

Definition at line 191 of file Kokkos_DefaultSparseOps.hpp.


Member Function Documentation

template<class Scalar , class Ordinal , class Node >
void Kokkos::DefaultCrsMatrix< Scalar, Ordinal, Node >::setValues ( const ArrayRCP< const Scalar > &  vals) [virtual]

Submit the matrix values.

Must be congruous with the associated graph.

This is used by Tpetra.

Implements Kokkos::CrsMatrixBase< Scalar, Ordinal, Node >.

Definition at line 310 of file Kokkos_DefaultSparseOps.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends