sarkit.crsd.Poly2dType.parse_elem

Poly2dType.parse_elem(elem)

Returns an array of coefficients describing the polynomial encoded in elem.

Parameters:
elemlxml.etree.Element

XML element to parse

Returns:
coefsndarray

nvar-dimensional array of coefficients ordered so that the coefficient of the term of multi-exponent n_1, n_2, …, n_nvar is contained in val[n_1, n_2, ..., n_nvar].