Ask Your Question

Revision history [back]

How to access variables from libsingular?

I have some Sage code that works using the expect interface, and I'm trying to port it to libsingular.

The Singular function in question (absFactorize) returns a ring with an associated variable. In the expect interface, we setring the returned ring, then evaluate the variable name, i.e:

    R = norm_f._singular_().absFactorize()

    singular.setring(R)
    L = singular('absolute_factors')

Anybody know how to do this with libsingular?