sarkit.cphd.PolyType.set_elem
- PolyType.set_elem(elem, val)
Set
elemnode using the polynomial coefficients fromval.- Parameters:
- elem
lxml.etree.Element XML element to set
- valarray_like
nvar-dimensional array of coefficients ordered so that the coefficient of the term of multi-exponent n_1, n_2, …, n_nvar is contained inval[n_1, n_2, ..., n_nvar].
- elem