Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mathematical Functions #8

Open
aiverson opened this issue Mar 19, 2019 · 2 comments
Open

Mathematical Functions #8

aiverson opened this issue Mar 19, 2019 · 2 comments

Comments

@aiverson
Copy link
Collaborator

Should Terra implementation of mathematical operations be included in the stdlib?

For example, quicksand has an automatic differentiation library that looks generally useful. Should that be part of the stdlib?

What about Geometric Algebra Multivectors, an FFT, Linear Algebra operators, etc.?

Basically, should any fairly general and reusable mathematical routine that isn't extremely niche be here, should there be a supplementary math library, or should they be left in separate projects?

@Qix-
Copy link

Qix- commented Mar 19, 2019

My vote is separate projects. FFT is not something where its implementation may vary between platforms, for example. A simple maths library perhaps, to the extent that most other languages offer (trig functions, etc.)

@aiverson
Copy link
Collaborator Author

I don't think that the implementation varies between platforms is the only reason, or even the main reason to put something in the standard library. The standard library should be high quality implementations of basic operations that almost every project will need. After thinking about it for a bit longer, these mathematical operations should be separate libraries, but we need to figure out how to depend on a library conveniently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants