[][src]Crate const_alg

const-alg

This is an experimental linear algebra library that is backed by arrays!

The syntax for an matrix is just,

let m = Matrix(
     [[0, 1, 2],
      [3, 4, 5]]
);

For a 2x3 matrix! This will work with any number of rows and columns!

Modules

iter

Structs

Matrix

Matrix represents an N x M matrix stored in row-major order

Traits

ForBoth

Calls a function eagerly on all elements of two matricies

ForEach

Calls a function eagerly on all elements of a matrix

Map

Maps the matrix eagerly with the given function

ZipWith

Zips the matrix eagerly with the given function

Type Definitions

SquareMatrix

A Square Matrix represents an N x N matrix stored in row-major order