1 //------------------------------------------------------------------------------ 2 // GB_bitmap_AxB_saxpy: compute C=A*B, C<M>=A*B, or C<!M>=A*B; C bitmap or full 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_AXB_BITMAP_SAXPY_H 11 #define GB_AXB_BITMAP_SAXPY_H 12 #include "GB_mxm.h" 13 14 GB_PUBLIC // for testing only 15 GrB_Info GB_bitmap_AxB_saxpy // C = A*B where C is bitmap or full 16 ( 17 GrB_Matrix C, // output matrix, static header 18 const int C_sparsity, 19 const GrB_Matrix M, // optional mask matrix 20 const bool Mask_comp, // if true, use !M 21 const bool Mask_struct, // if true, use the only structure of M 22 const GrB_Matrix A, // input matrix A 23 const GrB_Matrix B, // input matrix B 24 const GrB_Semiring semiring, // semiring that defines C=A*B 25 const bool flipxy, // if true, do z=fmult(b,a) vs fmult(a,b) 26 bool *mask_applied, // mask always applied if present 27 GB_Context Context 28 ) ; 29 30 #endif 31