+ 2
I'm not sure where you took that syntax from. Why not check the library documentation first? https://www.rubydoc.info/gems/symbolic/0.3.8 There are some examples how you can use it. Like: x = var :name => 'x' expr = x**2 + 3 * x + 2 puts expr The "integrals" is listed under TODO section, it means it's not implemented yet. Try to stick with features that actually exist. :)
1st Jun 2023, 2:07 PM
Tibor Santa
Tibor Santa - avatar
+ 1
<Unforgettable/> I had no idea that ChatGPT is now being trained on code that is yet to be written by the library author in the future... Skynet is truly coming to get us đŸ€Ł Maybe you should ask it to make a pull request and implement the integral function 😅
1st Jun 2023, 3:44 PM
Tibor Santa
Tibor Santa - avatar