Ask Your Question
0

hold and limit

asked 2026-05-03 20:09:11 +0200

updated 2026-05-09 16:59:46 +0200

FrédéricC gravatar image

Hello, good afternoon.

Its possible to suprees limits from evaluate like integrate and sum? I had tryed in many ways, but always get errors.

```python
limite = limit(f(x), x=0, hold=true)
show(limite)
```

```
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[14], line 1
----> 1 limite = limit(f(x), x=Integer(0), hold=true)
      2 show(limite)

File ~/bin/miniconda3/envs/sage/lib/python3.14/site-packages/sage/symbolic/function.pyx:411, in sage.symbolic.function.Function.__call__()
    409         return NotImplemented
    410 
--> 411 def __call__(self, *args, bint coerce=True, bint hold=False):
    412     """
    413     Evaluates this function at the given arguments.

TypeError: __call__() got an unexpected keyword argument 'x'
```
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2026-05-10 14:59:00 +0200

eric_g gravatar image

It seems that the option hold is not implemented for limit, as you can see in the documentation returned by limit?.

Side remark regarding your example: if the option had been implemented, it would have been hold=True, not hold=true.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2026-05-03 20:09:11 +0200

Seen: 55 times

Last updated: May 10