math genie calculator
Project description
math_genie_calc
math_genie_calc是一款专注于科学计算的 Python 应用,为用户提供便捷、准确的各类数学运算功能,涵盖了基础运算到复杂三角函数等多种计算需求,适合学生、科研人员以及任何需要进行数学计算的场景使用。
主要功能
基础运算
-
加法:实现两个及多个数字的相加运算,支持整数、浮点数等多种数值类型。
-
减法:进行数字间的减法操作,可处理正数与负数的运算。
-
乘法:完成数字的乘法计算,包括多位数相乘。
-
除法:支持除法运算,同时会对除数为 0 的情况进行处理,避免程序错误。
三角函数计算
-
提供正弦(sin)、余弦(cos)、正切(tan)函数的计算,输入参数为弧度值。
-
支持余切(cot)、正割(sec)、余割(csc)函数的计算,通过相应三角函数的倒数推导得出,同样以弧度为输入单位。
其他运算
-
幂运算:能够计算一个数的任意次幂,包括整数幂、小数幂等。
-
平方根:可对非负数字进行平方根计算,返回精确的结果。
-
阶乘:计算非负整数的阶乘,0 的阶乘为 1,对于较大的整数也能准确处理。
安装方法
你可以通过 PyPI 来安装math_genie_calc,使用以下命令:
pip install math_genie_calc
使用示例
npx @modelcontextprotocol/inspector uvx math_genie_calc
MCP 服务器配置
{
"mcpServers": {
"math_genie_calc": {
"command": "uvx",
"args": [
"math_genie_calc@latest"
]
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file math_genie_calc-0.1.5-py3-none-any.whl.
File metadata
- Download URL: math_genie_calc-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba9327ac68ea7d79bccd37308d4f2d31f493c2b78fadee1adcf8bf1d5ff3490
|
|
| MD5 |
183711f5905a20cbf22913cf5f1af0ed
|
|
| BLAKE2b-256 |
df9e11c314be70eaeea109d82a2eecc0d1b3775d0e0e7da8042ac7dc05a7dfef
|