これから数列の母関数について、考えたいと思います。この際にSymPyがとても役立ちそうなので、まずは、多項式の定義、テイラー展開、多項式から各係数の取り出しの方法を確認します。 import sympy x,i = sympy.symbols('x i') sym_Sum = sympy.Sum(i * x**i, (i, 0, 10)) print(sym ...
大学で材料系の研究をしている神崎です。 「3元系状態図を作成し、適切な位置に点をプロットする」 私はこれを進捗報告スライドの作成時や、組成の分析時に行っています。 が、この作業面倒くさくないですか? この記事は、そんな面倒くさい作業を ...
SymPy is a Python library for symbolic algebra. It can interface with other Python libraries making it very powerful. On this page we demonstrate how to get started with SymPy by importing the library ...
I have covered several different software packages for doing scientific computation in Linux Journal, but I haven't spent as much time describing available libraries and the kind of work that can be ...