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

Function GrB_Matrix_clear

deps/GraphBLAS/Source/GrB_Matrix_clear.c:16–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include "GB.h"
15
16GrB_Info GrB_Matrix_clear // clear a matrix of all entries;
17( // type and dimensions remain unchanged
18 GrB_Matrix A // matrix to clear
19)
20{
21
22 //--------------------------------------------------------------------------
23 // check inputs
24 //--------------------------------------------------------------------------
25
26 GB_WHERE (A, "GrB_Matrix_clear (A)") ;
27 GB_RETURN_IF_NULL_OR_FAULTY (A) ;
28
29 //--------------------------------------------------------------------------
30 // clear the matrix
31 //--------------------------------------------------------------------------
32
33 return (GB_clear (A, Context)) ;
34}
35

Callers 11

RG_Matrix_clearFunction · 0.85
_copyMatrixFunction · 0.85
RG_Matrix_sync_deletionsFunction · 0.85
RG_Matrix_sync_additionsFunction · 0.85
_populate_filter_matrixFunction · 0.85
_populate_filter_matrixFunction · 0.85
clearMethod · 0.85
mexFunctionFunction · 0.85
mexFunctionFunction · 0.85
mexFunctionFunction · 0.85
mexFunctionFunction · 0.85

Calls 1

GB_clearFunction · 0.85

Tested by 1

clearMethod · 0.68