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

Function GrB_Matrix_nrows

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

Source from the content-addressed store, hash-verified

10#include "GB.h"
11
12GrB_Info GrB_Matrix_nrows // get the number of rows of a matrix
13(
14 GrB_Index *nrows, // matrix has nrows rows
15 const GrB_Matrix A // matrix to query
16)
17{
18
19 //--------------------------------------------------------------------------
20 // check inputs
21 //--------------------------------------------------------------------------
22
23 GB_WHERE1 ("GrB_Matrix_nrows (&nrows, A)") ;
24 GB_RETURN_IF_NULL (nrows) ;
25 GB_RETURN_IF_NULL_OR_FAULTY (A) ;
26
27 //--------------------------------------------------------------------------
28 // get the number of rows
29 //--------------------------------------------------------------------------
30
31 (*nrows) = GB_NROWS (A) ;
32 #pragma omp flush
33 return (GrB_SUCCESS) ;
34}
35

Callers 15

AR_SHORTEST_PATHFunction · 0.85
RG_Matrix_nrowsFunction · 0.85
RG_Matrix_checkBoundsFunction · 0.85
RG_Matrix_sync_additionsFunction · 0.85
RG_Matrix_exportFunction · 0.85
PagerankFunction · 0.85
_print_matrixFunction · 0.85
_compare_matricesFunction · 0.85
ASSERT_GrB_Matrices_EQFunction · 0.85
mexFunctionFunction · 0.85

Calls

no outgoing calls

Tested by 6

_print_matrixFunction · 0.68
_compare_matricesFunction · 0.68
ASSERT_GrB_Matrices_EQFunction · 0.68