sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.29k stars 445 forks source link

Adding more utility functions to the calculus functional.py file #37058

Open ParamThakkar123 opened 7 months ago

ParamThakkar123 commented 7 months ago

Problem Description

I think that there should be extra utility functions for calculus

Proposed Solution

We can add more utility functions in calculus in the functional.py file for more features and functions that we can use for mathematics

Alternatives Considered

I have added 3 utility functions to the functional.py file

Additional Information

No response

Is there an existing issue for this?

mantepse commented 7 months ago

Hi @ParamThakkar123! I do not see the need for these functions. Can you explain how this might improve the user experience? For example, I do not see any difference between the existing function taylor and your proposed taylor_terms.

Two other things:

ParamThakkar123 commented 7 months ago

Hello @mantepse , Actually the functions that I have added would make the not the user experience better but the user accessibility. User can have access to more utility functions to perform on a particular function.

mantepse commented 7 months ago

I don't understand. What is the difference between your proposed taylor_terms function and the function taylor?

ParamThakkar123 commented 7 months ago

They were the same. I didn't notice the difference. Sorry for that. I have removed the taylor_terms functions and pushed the changes in my PR #37059

mantepse commented 7 months ago

As far as I can tell, the same is true for the other two functions.