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)

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

    InfluxDB logo
  • 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

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

    WorkOS 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: Calc: C-style arbitrary precision calculator | news.ycombinator.com | 2024-04-10
  • 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 library 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 related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com