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

Local sparse graph in compressed sparse row format; suitable for host-based Kokkos Nodes. More...

#include <Kokkos_AltSparseOps.hpp>

List of all members.

Public Member Functions

bool isEmpty () const
 Whether the graph is empty.
bool hasEmptyRows () const
 Whether the graph has empty rows.

Detailed Description

template<class Ordinal, class Node>
class Kokkos::AltCrsGraph< Ordinal, Node >

Local sparse graph in compressed sparse row format; suitable for host-based Kokkos Nodes.

Definition at line 626 of file Kokkos_AltSparseOps.hpp.


Member Function Documentation

template<class Ordinal, class Node>
bool Kokkos::AltCrsGraph< Ordinal, Node >::isEmpty ( ) const [inline]

Whether the graph is empty.

"Empty" means either that the graph has no rows (the number of rows is zero), or that the graph has no stored entries.

Definition at line 663 of file Kokkos_AltSparseOps.hpp.

template<class Ordinal, class Node>
bool Kokkos::AltCrsGraph< Ordinal, Node >::hasEmptyRows ( ) const [inline]

Whether the graph has empty rows.

An empty graph (see isEmpty()) trivially has empty rows. Otherwise, the graph has empty rows if one or more rows contains no stored entries.

Definition at line 672 of file Kokkos_AltSparseOps.hpp.


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