C Math

Open-source C projects categorized as Math

Top 23 C Math Projects

  • OpenBLAS

    OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

  • Project mention: LLaMA Now Goes Faster on CPUs | news.ycombinator.com | 2024-03-31

    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)

  • 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.

    InfluxDB logo
  • cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

  • cglm

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

  • zig-gamedev

    Main monorepo for @zig-gamedev libs and example applications

  • 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.

  • Project mention: Trouble calculating projection matrix | /r/GraphicsProgramming | 2023-06-20

    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).

  • zpl

    📐 Pushing the boundaries of simplicity

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • 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).

  • calc

    C-style arbitrary precision calculator

  • 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.

  • tomsfastmath

    TomsFastMath is a fast public domain, open source, large integer arithmetic library written in portable ISO C.

  • Apophenia

    A C library for statistical and scientific computing

  • numpower

    PHP extension for efficient scientific computing and array manipulation with GPU support

  • Project mention: NumPower Was Recently Released for PHP | /r/learnmachinelearning | 2023-07-28

    Github: https://github.com/NumPower/numpower

  • imath

    Arbitrary precision integer and rational arithmetic library (by creachadair)

  • quich

    Just an advanced terminal calculator.

  • Mathc

    A simple and clean, glsl like, math (linear algebra) header only library for C.

  • polycalc

    🧮 Polynomial Calculator

  • haskell-igraph

    Haskell bindings to igraph library.

  • Math-Quiz

    Solve 20 simple math questions and see how accurate/fast you are!

  • ceval

    A C/C++ library for parsing and evaluation of arithmetic expressions.

  • nonlinear-optimization

    Various iterative algorithms for optimization of nonlinear functions.

  • liir

    liir is a simple REPL (Read, eval, print and loop) written in C

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Math discussion

Log in or Post with

C Math related posts

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

Sponsored
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.
www.influxdata.com