Allen-ISD-Computer-Science / REPO_AutomaticDifferentiation_2024

Given some input equation, provide a numerical derivative at a given point. The user have a standard text input for the equation and point and the algorithm will provide the numerical derivative along with the steps the algorithm took to derive it. This algorithm will be able to differentiate trigonometric function, logarithmic, and exponentials.
GNU General Public License v3.0
1 stars 0 forks source link

Task: Negative functions #28

Closed aryanjverma closed 7 months ago

aryanjverma commented 9 months ago

Create a function/functions that convert equations in the form "-function()" to readible tokens for the algorithm. #27

aryanjverma commented 9 months ago

Issue resolved with 1a030b6, where I added a while loop to convert characters in the form "-function()" to a statement in terms of -1, the function, and the operations attached to the function. Modified a function to test whether a string is a function, and added another function to test if a function is in the form "-function()". Additionally, modified the shunting yard algorithm to accept functions..

KarthikPeravali commented 7 months ago

Tested for negative numbers (passed) 26e352a16c81260742bb8a74bd8df2ced725adf5