相关疑难解决方法(0)

错误:function()至少需要n个参数(给定n)

我正在尝试使用SymPy来获取残留物,在这种情况下是余切函数.我有一个integrate()函数:

import sympy as sy
import numpy as np

def integrate(f, z, gamma, t, lower, upper, exact=True):
    '''
    Integrate f(z) along the contour gamma(t): [lower, upper] --> C

    INPUTS:
    f - A SymPy expression. Should represent a function from C to C.
    z - A SymPy symbol. Should be the variable of f.
    gamma - A SymPy expression. Should represent a function from [lower, upper] to C.
    t - A SymPy symbol. Should be the variable of gamma.
    lower - …
Run Code Online (Sandbox Code Playgroud)

python arguments sympy

8
推荐指数
1
解决办法
6248
查看次数

标签 统计

arguments ×1

python ×1

sympy ×1