All Projects → ziglibs → zlm

ziglibs / zlm

Licence: MIT license
Zig linear mathemathics

Programming Languages

Zig
133 projects
AMPL
153 projects

Projects that are alternatives of or similar to zlm

zero-graphics
Application framework based on OpenGL ES 2.0. Runs on desktop machines, Android phones and the web
Stars: ✭ 72 (+7.46%)
Mutual labels:  ziglang, zig-package
zig-opengl
OpenGL binding generator based on the opengl registry
Stars: ✭ 29 (-56.72%)
Mutual labels:  ziglang, zig-package
mach-glfw
Ziggified GLFW bindings with 100% API coverage, zero-fuss installation, cross compilation, and more.
Stars: ✭ 186 (+177.61%)
Mutual labels:  ziglang, zig-package
SDL.zig
A shallow wrapper around SDL that provides object API and error handling
Stars: ✭ 102 (+52.24%)
Mutual labels:  ziglang, zig-package
ansi-term
Zig library for dealing with ANSI terminals
Stars: ✭ 25 (-62.69%)
Mutual labels:  ziglang, zig-package
pyGameMath
Math library for game programming in python.
Stars: ✭ 20 (-70.15%)
Mutual labels:  linear-algebra, game-math
qml zig
QML bindings for the Zig programming language
Stars: ✭ 25 (-62.69%)
Mutual labels:  ziglang, zig-package
IUPforZig
IUP (Portable User Interface Toolkit) bindings for the Zig language.
Stars: ✭ 56 (-16.42%)
Mutual labels:  ziglang, zig-package
zetaframe
lightweight zig game framework.
Stars: ✭ 14 (-79.1%)
Mutual labels:  ziglang, zig-package
zalgebra
Linear algebra library for games and real-time graphics.
Stars: ✭ 129 (+92.54%)
Mutual labels:  linear-algebra, ziglang
zig-args
Simple-to-use argument parser with struct-based config
Stars: ✭ 106 (+58.21%)
Mutual labels:  ziglang, zig-package
JUDI.jl
Julia Devito inversion.
Stars: ✭ 71 (+5.97%)
Mutual labels:  linear-algebra
NAGPythonExamples
Examples and demos showing how to call functions from the NAG Library for Python
Stars: ✭ 46 (-31.34%)
Mutual labels:  linear-algebra
mathcore
Advanced .NET math library (.NET Standard).
Stars: ✭ 24 (-64.18%)
Mutual labels:  linear-algebra
linalg
Linear algebra library based on LAPACK
Stars: ✭ 42 (-37.31%)
Mutual labels:  linear-algebra
pressio
Model reduction for linear and nonlinear dynamical systems: core C++ library
Stars: ✭ 35 (-47.76%)
Mutual labels:  linear-algebra
flatorize
Generate fast implementations of mathematical expressions. Inclues a linear algebra library.
Stars: ✭ 18 (-73.13%)
Mutual labels:  linear-algebra
NumNet
Numpy style scientific programming package
Stars: ✭ 17 (-74.63%)
Mutual labels:  linear-algebra
CNCC-2019
Computational Neuroscience Crash Course (CNCC 2019)
Stars: ✭ 26 (-61.19%)
Mutual labels:  linear-algebra
PyArmadillo
PyArmadillo: an alternative approach to linear algebra in Python
Stars: ✭ 58 (-13.43%)
Mutual labels:  linear-algebra

zlm

Zig linear mathemathics library.

Current provides the following types:

  • Vec2
  • Vec3
  • Vec4
  • Mat2
  • Mat3
  • Mat4

The library is currently built around the OpenGL coordinate system and is fully generic on the basic data type.

Example

const math = @import("zlm");

// Use this namespace to get access to a Vec3 with f16 fields instead of f32
const math_f16 = math.SpecializeOn(f16);

/// Accelerate the given velocity `v` by `a` over `t`.
fn accelerate(v: math.Vec3, a: math.Vec3, t: f32) math.Vec3 {
  return v.add(a.scale(t));
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].