1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
//------------------------------------------------------------------------------
// GB_matvec_name_set: set the user_name of a matrix/vector/scalar
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2025, All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//------------------------------------------------------------------------------
#include "get_set/GB_get_set.h"
GrB_Info GB_matvec_name_set
(
GrB_Matrix A,
char *value,
int field
)
{
if (field != GrB_NAME)
{
return (GrB_INVALID_VALUE) ;
}
return (GB_user_name_set (&(A->user_name), &(A->user_name_size), value,
false)) ;
}
|