在 Python 中集成一个 Hermite 系列
2024-08-18
38
步骤
import numpy as np from numpy.polynomial import hermite as H
c = np.array([1,2,3])
print("Our Array...\n",c)
print("\nDimensions of our Array...\n",c.ndim)
print("\nDatatype of our Array object...\n",c.dtype)
print("\nShape of our Array object...\n",c.shape)
print("\nResult...\n",H.hermint(c))
例
输出
Our Array... [1 2 3] Dimensions of our Array... 1 Datatype of our Array object... int64 Shape of our Array object... (3,) Result... [1. 0.5 0.5 0.5]更新于:2个月前
赞一波!2
相关文章
- 【说站】python列表的数据类型分析
- 【说站】Python SymPy求极值
- 【说站】python列表如何结合数组使用
- 【说站】python使用f格式化字符串
- 【说站】python函数符号sympy的用法
- 【说站】python format的格式化操作
- 【说站】python无法识别命令的解决
- 【说站】python str.zfill填充字符串
- 【说站】python中str()函数转换字符串
- 【说站】python如何创建操作页面
- 【说站】Python代码中编译是什么
- 【说站】Python找回文子串的方法
- 【说站】python如何读取全部的文件
- 【说站】Python中Exchange发邮件
- 【说站】python导入类的不同方式
- 【说站】python json保存数据的方法
- 【说站】python编写函数的注意点
- 【说站】python使用as指定别名
- 【说站】python函数中返回值的作用
- 【说站】python在函数中传递实参
文章评论
评论问答