Annex v0.2.1 Annex.Data.List2D View Source

List2D is a 2 dimensional list of lists of floats.

Link to this section Summary

Functions

Given flat data and a valid 2-D shape (in the form of {rows, columns}) or a 2D list of lists of floats and a valid 2-D shapereturns a list of lists, a 2-D list of lists of floats.

Returns true for a list of lists of floats.

The shape of a List2D can be calculated thus

The shape of a List2D can be calculated thus

Link to this section Types

Link to this type

t() View Source
t() :: [[float(), ...], ...]

Link to this section Functions

Given flat data and a valid 2-D shape (in the form of {rows, columns}) or a 2D list of lists of floats and a valid 2-D shapereturns a list of lists, a 2-D list of lists of floats.

Returns true for a list of lists of floats.

The shape of a List2D can be calculated thus:

rows is the number of elements in the outermost list. columns is the count of the elements of the first row.

The shape of a List2D can be calculated thus:

rows is the number of elements in the outermost list. columns is the count of the elements of the first row.

Link to this function

transpose(data) View Source
transpose(t()) :: t()