Beispiel #1
0
def load_multprec_system():
    """
    Returns the polynomials stored in the system container
    with arbitrary multiprecision complex coefficients.
    """
    from phcpy.phcpy2c3 import py2c_syscon_number_of_multprec_polynomials
    from phcpy.phcpy2c3 import py2c_syscon_load_multprec_polynomial
    dim = py2c_syscon_number_of_multprec_polynomials()
    result = []
    for ind in range(1, dim + 1):
        result.append(py2c_syscon_load_multprec_polynomial(ind))
    return result
Beispiel #2
0
def load_multprec_system():
    """
    Returns the polynomials stored in the system container
    with arbitrary multiprecision complex coefficients.
    """
    from phcpy.phcpy2c3 import py2c_syscon_number_of_multprec_polynomials
    from phcpy.phcpy2c3 import py2c_syscon_load_multprec_polynomial
    dim = py2c_syscon_number_of_multprec_polynomials()
    result = []
    for ind in range(1, dim+1):
        result.append(py2c_syscon_load_multprec_polynomial(ind))
    return result