polynomials.py 文件源码

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

项目:PyRBF 作者: srowe12 项目源码 文件源码
def NumCoefficients(self):
        """
        There are (n+d) choose n coefficients where n is the degree of the polynomial and d is the dimension
        :return: Return the number of coefficients corresponding to the polynomial given the degree and dimension
        """
        return nchoosek(self.degree + self.dimension, self.degree, exact=True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号