MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / GxB_Matrix_iso

Function GxB_Matrix_iso

deps/GraphBLAS/Source/GxB_Matrix_iso.c:12–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "GB.h"
11
12GrB_Info GxB_Matrix_iso // return iso status of a matrix
13(
14 bool *iso, // true if the matrix is iso-valued
15 const GrB_Matrix A // matrix to query
16)
17{
18
19 //--------------------------------------------------------------------------
20 // check inputs
21 //--------------------------------------------------------------------------
22
23 GB_WHERE1 ("GxB_Matrix_iso (&iso, A)") ;
24 GB_RETURN_IF_NULL (iso) ;
25 GB_RETURN_IF_NULL_OR_FAULTY (A) ;
26
27 //--------------------------------------------------------------------------
28 // return the iso status of a matrix
29 //--------------------------------------------------------------------------
30
31 (*iso) = A->iso ;
32 #pragma omp flush
33 return (GrB_SUCCESS) ;
34}
35

Callers 1

fill_randomMethod · 0.85

Calls

no outgoing calls

Tested by 1

fill_randomMethod · 0.68