C++ C# python 中常用数学计算函数对比 1.求x 的n次幂。 C++ #include<cmath> f=pow(x,n) C# f=Math.Pow(x,n) python import numpy as np f=np.pow(x,n)