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

Method writeArray

Singular/dyn_modules/python/interpreter_support.cc:285–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 }
284 }
285 void writeArray(const NumpyArrayType& f)
286 {
287 if(id->typ=MATRIX_CMD)
288 {
289 matrix m=matrixFromArray(f);
290 id_Delete((ideal*) &id->data.umatrix,currRing);
291 id->data.umatrix=m;
292 }
293 }
294 void writeRing(const Ring& r)
295 {
296 if(id->typ=RING_CMD)

Callers

nothing calls this directly

Calls 2

matrixFromArrayFunction · 0.85
id_DeleteFunction · 0.85

Tested by

no test coverage detected