1 //------------------------------------------------------------------------------ 2 // GB_accum_mask.h: definitions for GB_accum_mask 3 //------------------------------------------------------------------------------ 4 5 // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 6 // SPDX-License-Identifier: Apache-2.0 7 8 //------------------------------------------------------------------------------ 9 10 #ifndef GB_ACCUM_MASK_H 11 #define GB_ACCUM_MASK_H 12 13 #include "GB.h" 14 15 GrB_Info GB_accum_mask // C<M> = accum (C,T) 16 ( 17 GrB_Matrix C, // input/output matrix for results 18 const GrB_Matrix M_in, // optional mask for C, unused if NULL 19 const GrB_Matrix MT_in, // MT=M' if computed already in the caller 20 const GrB_BinaryOp accum, // optional accum for Z=accum(C,results) 21 GrB_Matrix *Thandle, // results of computation, freed when done 22 const bool C_replace, // if true, clear C first 23 const bool Mask_comp, // if true, complement the mask 24 const bool Mask_struct, // if true, use the only structure of M 25 GB_Context Context 26 ) ; 27 28 #endif 29 30