graphmath alternatives and similar packages
Based on the "Algorithms and Data structures" category.
Alternatively, view graphmath alternatives based on common mentions on social networks and blogs.
-
matrex
A blazing fast matrix library for Elixir/Erlang with C implementation using CBLAS. -
simple_bayes
A Naive Bayes machine learning implementation in Elixir. -
exconstructor
An Elixir library for generating struct constructors that handle external data with ease. -
erlang-algorithms
Implementations of popular data structures and algorithms -
remodel
:necktie: An Elixir presenter package used to transform map structures. "ActiveModel::Serializer for Elixir" -
aja
Extension of the Elixir standard library focused on data stuctures, data manipulation and performance -
MapDiff
Calculates the difference between two (nested) maps, and returns a map representing the patch of changes. -
parallel_stream
A parallelized stream implementation for Elixir -
merkle_tree
:evergreen_tree: Merkle Tree implementation in pure Elixir -
bloomex
:hibiscus: A pure Elixir implementation of Scalable Bloom Filters -
DeepMerge
Deep (recursive) merge for maps, keywords and others in Elixir -
the_fuzz
String metrics and phonetic algorithms for Elixir (e.g. Dice/Sorensen, Hamming, Jaccard, Jaro, Jaro-Winkler, Levenshtein, Metaphone, N-Gram, NYSIIS, Overlap, Ratcliff/Obershelp, Refined NYSIIS, Refined Soundex, Soundex, Weighted Levenshtein) -
exmatrix
Elixir library implementing a parallel matrix multiplication algorithm and other utilities for working with matrices. Used for benchmarking computationally intensive concurrent code. -
ecto_materialized_path
Tree structure & hierarchy for ecto models -
dataframe
Package providing functionality similar to Python's Pandas or R's data.frame() -
Conrex
An Elixir implementation of the CONREC algorithm for topographic or isochrone maps. -
murmur
:speech_balloon: An implementation of the non-cryptographic hash Murmur3 -
bitmap
Bitmap implementation in Elixir using binaries and integers. Fast space efficient data structure for lookups -
Closure Table
Closure Table for Elixir - a simple solution for storing and manipulating complex hierarchies. -
paratize
Elixir library providing some handy parallel processing facilities that supports configuring number of workers and timeout.
Free Global Payroll designed for tech teams
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of graphmath or a related project?
README
What is graphmath?
Graphmath is a library for handling common 2D and 3D operations, usually with an eye towards vector arithmetic for graphics and simulation.
It's designed to be comfortable to use, reasonably fast, and something which will benefit game developers and graphics programmers, though it may also be useful for robotocists and anyone attempting large-scale simluations which exist in R2 or R3.
Features
- Support for vectors in R2 and R3.
- Support for 3x3 and 4x4 matrices.
- Support for quaternions
- Addition, subtraction
- Element-wise multiplication
- Scalar multiplication
- Inner-products (dot product)
- Cross products
- Projection
- Normalization
- Comparison
- Rotation
- Linear interpolation
- Matrix inversion
- Tuples are used to represent vectors and matrices (faster than lists or structs)
Installation
This package is available from the hex package manager.
Just add it to your mix.exs
file like so:
def project do
[app: myapp,
version: "x.y.z",
elixir: "~> 1.0",
description: "description",
package: ...,
deps: [
...,
{:graphmath, "~> 1.0.2" },
...
] ]
end
Conventions in library
All mathematics are done in a right-handed coordinate system--that is to say, +Z is the cross-product of +X with +Y.
All operations are accompanied by tests and documentation.
Contributing
Issues
- Open an issue on Github.
For developers
Fork this project on Github.
Open an issue for your proposed changes.
Add tests for your new functionality, if applicable.
Add documentation for your functionality, if applicable. NO DOCS -> NO MERGE.
Submit a pull request.
Bask in the glory of having helped create content on one of the best platforms ever devised.
For non-developers
- Buy me a beer if you see me at ElixirConf.
Wishlist
C/SIMD native extensions (probably want to live in a different, API-compatible library).
Left-handed coordinate system support (don't care enough right now, but some interop would appreciate it).
Functions to convert to packed 32-bit and 64-bit float byte arrays.
License
This project is put into the public domain under the unlicense.
If you can't use that, consider it under the WTFPL.
If you can't use that, fine--use the new BSD license.
Contributors
- Chris Ertel
- Ivan Miranda
- Matthew Philyaw
*Note that all licence references and agreements mentioned in the graphmath README section above
are relevant to that project's source code only.