units.py 文件源码

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

项目:pytac 作者: willrogers 项目源码 文件源码
def __init__(self, coef, post_eng_to_phys=unit_function, pre_phys_to_eng=unit_function):
        """Linear interpolation for converting between physics and engineering units.

        Args:
            coef (array_like): The polynomial's coefficients, in decreasing powers.
        """
        super(self.__class__, self).__init__(post_eng_to_phys, pre_phys_to_eng)
        self.p = numpy.poly1d(coef)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号