MCPcopy Create free account
hub / github.com/Singular/Singular / id_Add

Function id_Add

libpolys/polys/simpleideals.cc:905–913  ·  view source on GitHub ↗

h1 + h2

Source from the content-addressed store, hash-verified

903
904/// h1 + h2
905ideal id_Add (ideal h1,ideal h2, const ring r)
906{
907 id_Test(h1, r);
908 id_Test(h2, r);
909
910 ideal result = id_SimpleAdd(h1,h2,r);
911 id_Compactify(result,r);
912 return result;
913}
914
915/// h1 * h2
916/// one h_i must be an ideal (with at least one column)

Callers 2

id_sfmonFunction · 0.85
idAddFunction · 0.85

Calls 2

id_SimpleAddFunction · 0.85
id_CompactifyFunction · 0.85

Tested by

no test coverage detected