SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C Math Projects
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
cute_headers
Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
-
-
TinyExpr
tiny recursive descent expression parser, compiler, and evaluation engine for math expressions
-
HandmadeMath
A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
linmath.h
a lean linear math library, aimed at graphics programming. Supports vec3, vec4, mat4x4 and quaternions
-
LibTomMath
LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
-
MIRACL
MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).
-
tomsfastmath
TomsFastMath is a fast public domain, open source, large integer arithmetic library written in portable ISO C.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
The Fortran implementation is just a reference implementation. The goal of reference BLAS [0] is to provide relatively simple and easy to understand implementations which demonstrate the interface and are intended to give correct results to test against. Perhaps an exceptional Fortran compiler which doesn't yet exist could generate code which rivals hand (or automatically) tuned optimized BLAS libraries like OpenBLAS [1], MKL [2], ATLAS [3], and those based on BLIS [4], but in practice this is not observed.
Justine observed that the threading model for LLaMA makes it impractical to integrate one of these optimized BLAS libraries, so she wrote her own hand-tuned implementations following the same principles they use.
[0] https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprogra...
[1] https://github.com/OpenMathLib/OpenBLAS
[2] https://www.intel.com/content/www/us/en/developer/tools/onea...
[3] https://en.wikipedia.org/wiki/Automatically_Tuned_Linear_Alg...
[4]https://en.wikipedia.org/wiki/BLIS_(software)
If you don't like using heavy libraries such as glm, I recommend looking at HandmadeMath. It is a single file c/c++ math library for graphics programming. You can just drop it into your project. It's lightweight and will save you a lot of time implementing the math yourself. In a lot of cases, it actually uses optimized solutions to save computation time (same with the glm).
Project mention: Memory-safe, clean implementation of classic Posix "BC" calculator | news.ycombinator.com | 2024-06-07- DC to convert between bases and if you like RPN. - Calc it's better if you want to cover complex numbers: https://github.com/lcn2/calc - Qalc from libqalculate in order to solve some equations in legacy machines. It's lighter and smaller than Maxima, but not as complete. - Maxima for anything else, the biggie one. Gnuplot will work fine as a plotter for the previous tools.
Github: https://github.com/NumPower/numpower
C Math discussion
C Math related posts
-
LLaMA Now Goes Faster on CPUs
-
Assume I'm an idiot - oogabooga LLaMa.cpp??!
-
Trouble calculating projection matrix
-
Learn x86-64 assembly by writing a GUI from scratch
-
Handmade Math A simple math library for games and computer graphics
-
converting a vec4 into a mat4
-
`constexpr` what?
-
A note from our sponsor - SaaSHub
www.saashub.com | 18 Jun 2024
Index
What are some of the best open-source Math projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | OpenBLAS | 6,091 |
2 | cute_headers | 4,146 |
3 | cglm | 2,113 |
4 | zig-gamedev | 2,042 |
5 | TinyExpr | 1,523 |
6 | HandmadeMath | 1,168 |
7 | zpl | 964 |
8 | linmath.h | 890 |
9 | LibTomMath | 635 |
10 | MIRACL | 627 |
11 | calc | 328 |
12 | tomsfastmath | 205 |
13 | Apophenia | 197 |
14 | numpower | 149 |
15 | imath | 127 |
16 | quich | 66 |
17 | Mathc | 15 |
18 | polycalc | 12 |
19 | haskell-igraph | 9 |
20 | Math-Quiz | 9 |
21 | ceval | 8 |
22 | nonlinear-optimization | 7 |
23 | liir | 3 |