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

Function Complex_finalize

deps/GraphBLAS/Demo/Source/usercomplex.c:944–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

942// GrB_*_free functions silently do nothing if asked to free bulit-in objects.
943
944GrB_Info Complex_finalize ( )
945{
946
947 //--------------------------------------------------------------------------
948 // free the Complex plus-times semiring
949 //--------------------------------------------------------------------------
950
951 GrB_Semiring_free (&Complex_plus_times) ;
952
953 //--------------------------------------------------------------------------
954 // free the Complex monoids
955 //--------------------------------------------------------------------------
956
957 GrB_Monoid_free (&Complex_plus_monoid ) ;
958 GrB_Monoid_free (&Complex_times_monoid) ;
959
960 //--------------------------------------------------------------------------
961 // free the Complex binary operators, CxC->complex
962 //--------------------------------------------------------------------------
963
964 GrB_BinaryOp_free (&Complex_first ) ;
965 GrB_BinaryOp_free (&Complex_second) ;
966 GrB_BinaryOp_free (&Complex_pair ) ;
967 GrB_BinaryOp_free (&Complex_min ) ;
968 GrB_BinaryOp_free (&Complex_max ) ;
969 GrB_BinaryOp_free (&Complex_plus ) ;
970 GrB_BinaryOp_free (&Complex_minus ) ;
971 GrB_BinaryOp_free (&Complex_rminus) ;
972 GrB_BinaryOp_free (&Complex_times ) ;
973 GrB_BinaryOp_free (&Complex_div ) ;
974 GrB_BinaryOp_free (&Complex_rdiv ) ;
975
976 GrB_BinaryOp_free (&Complex_iseq) ;
977 GrB_BinaryOp_free (&Complex_isne) ;
978 GrB_BinaryOp_free (&Complex_isgt) ;
979 GrB_BinaryOp_free (&Complex_islt) ;
980 GrB_BinaryOp_free (&Complex_isge) ;
981 GrB_BinaryOp_free (&Complex_isle) ;
982
983 GrB_BinaryOp_free (&Complex_or) ;
984 GrB_BinaryOp_free (&Complex_and) ;
985 GrB_BinaryOp_free (&Complex_xor) ;
986
987 //--------------------------------------------------------------------------
988 // free the Complex binary operators, CxC -> bool
989 //--------------------------------------------------------------------------
990
991 GrB_BinaryOp_free (&Complex_eq) ;
992 GrB_BinaryOp_free (&Complex_ne) ;
993 GrB_BinaryOp_free (&Complex_gt) ;
994 GrB_BinaryOp_free (&Complex_lt) ;
995 GrB_BinaryOp_free (&Complex_ge) ;
996 GrB_BinaryOp_free (&Complex_le) ;
997
998 //--------------------------------------------------------------------------
999 // free the Complex binary operator, double x double -> complex
1000 //--------------------------------------------------------------------------
1001

Callers 3

mainFunction · 0.85
GB_mx_put_globalFunction · 0.85
mexFunctionFunction · 0.85

Calls 5

GrB_Semiring_freeFunction · 0.85
GrB_Monoid_freeFunction · 0.85
GrB_BinaryOp_freeFunction · 0.85
GrB_UnaryOp_freeFunction · 0.85
GrB_Type_freeFunction · 0.85

Tested by

no test coverage detected