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. Learn more →
Top 23 C Math Projects
-
cute_headers
Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
-
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.
-
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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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).
Github: https://github.com/NumPower/numpower
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 - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source Math projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | OpenBLAS | 5,952 |
2 | cute_headers | 4,105 |
3 | cglm | 2,043 |
4 | zig-gamedev | 1,976 |
5 | TinyExpr | 1,496 |
6 | HandmadeMath | 1,137 |
7 | zpl | 960 |
8 | linmath.h | 883 |
9 | LibTomMath | 629 |
10 | MIRACL | 611 |
11 | calc | 316 |
12 | tomsfastmath | 203 |
13 | Apophenia | 197 |
14 | numpower | 146 |
15 | imath | 123 |
16 | quich | 67 |
17 | Mathc | 15 |
18 | polycalc | 12 |
19 | haskell-igraph | 9 |
20 | Math-Quiz | 9 |
21 | ceval | 8 |
22 | nonlinear-optimization | 7 |
23 | liir | 3 |
Sponsored