[][src]Crate half_matrix

Half matrix storage, Row major

This example is not tested
 ABCD
A-
B--
C---
D----

In memory representation:

This example is not tested
-|--|---|----

Indexing starts at 0.

This example is not tested
ABCD
0123

Row Major means that the first parameter of the methods is the Y axis in the matrix, and the second is the X axis.

As shown by the matrix, the row value is required to be bigger or equal to the column value.

Example

Parameters: (3, 0) = (D, A)

This example is not tested
 ABCD
A-
B--
C---
DX---

Structs

HalfMatrix

A matrix where only half of it is stored. See the lib documentation for more details.