Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Looking for Lua Calculus library
Started by sporkfin Mar 16 2020 07:04 PM

- - - - -
4 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 809 posts
  • Corona SDK

Does anyone know of a Calculus Lua library?  I'm hoping some grad student developed this and shared it with the world or some scientist made one at some point and posted it somewhere.

 

It would be great not to have to reinvent the wheel.



[TOPIC: post.html]
#2

pixec

[GLOBAL: userInfoPane.html]
pixec
  • Contributor

  • 207 posts
  • Corona SDK

what kind of calculus?

[TOPIC: post.html]
#3

StarCrunch

[GLOBAL: userInfoPane.html]
StarCrunch
  • Contributor

  • 846 posts
  • Corona SDK

thenumbernine lists differentation in this project, though I have no idea how library-ish it is. Looks a bit heavyweight.

 

A lighter treatment of the same is here.

 

Another I'm aware of, albeit in C++, is ExprTk. I assume the library as a whole is quite large, but if you only cared about about the differentation / integration parts, it might not be so bad.



[TOPIC: post.html]
#4

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 809 posts
  • Corona SDK

@StarCrunch Thanks, there are some uses things there

 

@pixec   I think I'm most interested in seeing how other people have structured solving complex math - particularly when you are doing calculations within calculations with math processes that aren't defined in the regular math module.

 

-- Convergent series

-- Chain Rule

-- Binomial coefficient

-- curve sketching

-- Quadratic stuff

-- various principles named after people

 

Since I don't have an organized library for this I'm running loops within loops within loops. . . I guess it's turning into a library but it feels like reinventing the wheel.



[TOPIC: post.html]
#5

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 809 posts
  • Corona SDK

I'm also doing a lot of calculations by hand and using them to populate tables but this only work because the number of calculated items is small and knowable for now.




[topic_controls]
[/topic_controls]