ProjectionPhase.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:qepcad 作者: fme-mmt 项目源码 文件源码
def proj1(poly_set, x):
    p_out = []
    # F is a polynomial in A
    for F in poly_set:
        if degree(F, x) > 1:
            R = reducta(F, x)
            for G in R:
                if degree(G, x) > 0:
                    H = diff(G, x)
                    psc_1 = PSC(G, H, x)
                    if len(psc_1):
                        if degree(G) == 2:
                            p_out.append(poly(psc_1[0]))
                        else:
                            for aux in psc_1[0:degree(G) - 2]:
                                p_out.append(poly(aux))
    return p_out
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号