This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
version 1.0.0
license Apache
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-09-03 19:32:20 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

Modules

README

Elm Numeric

A matrix library for Elm, written in pure elm! This library aims to be a reasonably complete suite of linear algebra tools.

Some highlights of this library include generic sized matrices, inverses, transposes, LU decomposition and more!

It's very easy to get started.

     import Matrix as Mt

     identity = Mt.eye 3 -- make a 3x3 identity matrix
     identity |> Mt.debugPrint -- view the matrix in the repl
     identity |> Mt.toString -- view the matrix as a formatted string with newlines

     -- return the matrix as a list of lists:
     -- [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
     identity |> Mt.to2DList

     -- return the matrix as a flat list
     -- [1, 0, 0, 0, 1, 0, 0, 0, 1]
     identity |> Mt.toFlatList

     -- multiply a matrix [[1, 1, 1], [2, 2, 2], [3, 3, 3]] and a column vector [4, 5, 6]
     a = Mt.mat [[1, 1, 1], [2, 2, 2], [3, 3, 3]]
     b = vec [4, 5, 6]
     result = Mt.mul a b

Check the documentation for the full list of features.

TODO: I would appreciate any help!

  • Interop with webgl
  • Interop with plotting, such as elm-visualization
  • Create LaTeX strings
  • Make it faster!