sarkit.sidd.PolyCoef2dType.parse_elem
- PolyCoef2dType.parse_elem(elem)
Returns an array of coefficients describing the polynomial encoded in
elem.- Parameters:
- elem
lxml.etree.Element XML element to parse
- elem
- Returns:
- coefs
ndarray 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].
- coefs