You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GTPSA plays a lot of clever tricks to speed things up, and certain monomials may contain garbage when not "in use" . So checking if the monomial is garbage must be performed (and returned as 0 if it is garbage)
This can be done using mad_bit_tst given the order of the monomial and nz in the tpsa:
if (!mad_bit_tst(a->nz,o)) return 0.0
The text was updated successfully, but these errors were encountered:
GTPSA plays a lot of clever tricks to speed things up, and certain monomials may contain garbage when not "in use" . So checking if the monomial is garbage must be performed (and returned as 0 if it is garbage)
This can be done using
mad_bit_tst
given the order of the monomial andnz
in the tpsa:if (!mad_bit_tst(a->nz,o)) return 0.0
The text was updated successfully, but these errors were encountered: