All Projects → jkolb → Swiftish

jkolb / Swiftish

Licence: MIT license
A fully generic Swift vector & matrix library

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Swiftish

GenericTensor
The only library allowing to create Tensors (matrices extension) with custom types
Stars: ✭ 42 (+147.06%)
Mutual labels:  vector, matrix, generic
sparse
Sparse matrix formats for linear algebra supporting scientific and machine learning applications
Stars: ✭ 136 (+700%)
Mutual labels:  vector, matrix
matrixgl
Yet another matrix library for WebGL
Stars: ✭ 25 (+47.06%)
Mutual labels:  vector, matrix
LinAlg
实现一个线性代数库,为Python写扩展。《程序猿的数学3 线性代数》读后笔记
Stars: ✭ 17 (+0%)
Mutual labels:  vector, matrix
Blasjs
Pure Javascript manually written 👌 implementation of BLAS, Many numerical software applications use BLAS computations, including Armadillo, LAPACK, LINPACK, GNU Octave, Mathematica, MATLAB, NumPy, R, and Julia.
Stars: ✭ 241 (+1317.65%)
Mutual labels:  vector, matrix
PyGLM
Fast OpenGL Mathematics (GLM) for Python
Stars: ✭ 167 (+882.35%)
Mutual labels:  vector, matrix
SCNMathExtensions
Math extensions for SCNVector3, SCNQuaternion, SCNMatrix4
Stars: ✭ 32 (+88.24%)
Mutual labels:  vector, matrix
glm
OpenGL Mathematics (GLM)
Stars: ✭ 6,667 (+39117.65%)
Mutual labels:  vector, matrix
MatrixLib
Lightweight header-only matrix library (C++) for numerical optimization and machine learning. Contact me if there is an exciting opportunity.
Stars: ✭ 35 (+105.88%)
Mutual labels:  matrix, matrix-library
Tensor
A library and extension that provides objects for scientific computing in PHP.
Stars: ✭ 146 (+758.82%)
Mutual labels:  vector, matrix
Nalgebra
Linear algebra library for Rust.
Stars: ✭ 2,433 (+14211.76%)
Mutual labels:  vector, matrix
matlib
Matrix Functions for Teaching and Learning Linear Algebra and Multivariate Statistics, http://friendly.github.io/matlib/
Stars: ✭ 55 (+223.53%)
Mutual labels:  vector, matrix
Sc
Common libraries and data structures for C.
Stars: ✭ 161 (+847.06%)
Mutual labels:  vector, generic
elm-3d-camera
Camera type for doing 3D rendering in Elm
Stars: ✭ 12 (-29.41%)
Mutual labels:  vector, matrix
Math Php
Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Stars: ✭ 2,009 (+11717.65%)
Mutual labels:  vector, matrix
Hlslpp
Math library using hlsl syntax with SSE/NEON support
Stars: ✭ 153 (+800%)
Mutual labels:  vector, matrix
Node Sylvester
🐱 Sylvester is a vector, matrix, and geometry library for JavaScript, that runs in the browser and on the server.
Stars: ✭ 144 (+747.06%)
Mutual labels:  vector, matrix
Matrixstats
R package: Methods that Apply to Rows and Columns of Matrices (and to Vectors)
Stars: ✭ 151 (+788.24%)
Mutual labels:  vector, matrix
Mathematics for Machine Learning
Learn mathematics behind machine learning and explore different mathematics in machine learning.
Stars: ✭ 28 (+64.71%)
Mutual labels:  vector, matrix
vec-la-fp
↗️ A tiny (functional) 2d linear algebra library
Stars: ✭ 21 (+23.53%)
Mutual labels:  vector, matrix

Swiftish

A fully generic Swift vector & matrix library

Carthage compatible

Changelog

Version 4.2.0

  • Default conformance to Hashable
  • Conversion between different types of IntVectors
  • Common aliases for x, y, z, w. For example r, g, b, a.

Version 4.1.0

  • Added IntVector 2, 3, and 4
  • Added bitwise shifts to IntVector
  • Added overflow and underflow operators to IntVector
  • Added conversion initializers between Int and Float vectors

Version 4.0.0

  • Simplified API by removing Integer support, most useful functions require trigonometry or not truncating division.
  • Made functions follow Swift conventions better by making them static methods on the type instead of global functions.
  • Removed the Angle type as it made things more complicated than the benefits it may have provided.
  • Removed the Rectangle type as it was not used in any algorithms and was mostly desinged for use with Integers which were removed.

Version 3.1.2

  • zubco Make sure Float80 is only compiled for Intel

Version 3.1.1

  • zubco added Bounds2 & Bounds3 contains(point:) and intersection(other:) methods.

Version 3.1.0

  • Fix Vector3 xAxis
  • Turn Vector3 axis methods into static properties
  • Simplify Transform3 matrix & inverseMatrix methods to not use conditionals

Version 3.0.0

  • Updated for Swift 4

Version 2.0.0

  • Updated for Swift 3
  • Swift Package Manager support
  • Geometry and intersection tests

Version 1.0.2

  • Forgot to make typealias public
  • Fixed approx to always use <=

Version 1.0.1

  • Started adding tests
  • Added some aliases for common sizes and element types
  • Tightened up the Arithmetic protocols
  • Implemented approximately equal function and operator
  • Made Vector & Matrix classes conform to Printable
  • Verified that a switch statement is the best way to implement subscripting
  • Now have access to the rows of a Matrix

Contact

Justin Kolb
@nabobnick

License

Swiftish is available under the MIT license. See the LICENSE file for more info.

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