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

Function GrB_Vector_select_Scalar

deps/GraphBLAS/Source/GrB_Vector_select.c:125–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123//------------------------------------------------------------------------------
124
125GrB_Info GrB_Vector_select_Scalar
126(
127 GrB_Vector w, // input/output vector for results
128 const GrB_Vector M, // optional mask for w, or NULL
129 const GrB_BinaryOp accum, // optional accum for Z=accum(w,T)
130 const GrB_IndexUnaryOp op, // operator to select the entries
131 const GrB_Vector u, // first input: vector u
132 const GrB_Scalar Thunk, // optional input for select operator
133 const GrB_Descriptor desc // descriptor for w and M
134)
135{
136 GB_WHERE (w, "GrB_Vector_select_Scalar (w, M, accum, op, u, thunk, desc)") ;
137 return (GB_sel (w, M, accum, op, u, Thunk, desc, Context)) ;
138}
139

Callers

nothing calls this directly

Calls 1

GB_selFunction · 0.70

Tested by

no test coverage detected