LinkedMatrix: Initializes either a ColumnLinkedMatrix or RowLinkedMatrix instance of certain dimensions with a configurable number and type of nodes.

Description

Initializes either a ColumnLinkedMatrix or RowLinkedMatrix instance of certain dimensions with a configurable number and type of nodes.

Usage

1
LinkedMatrix(nrow, ncol, nNodes, linkedBy, nodeInitializer, ...)

Arguments

nrow

The number of rows.

ncol

The number of columns.

nNodes

The number of nodes.

linkedBy

Whether the matrix is linked by rows or columns.

nodeInitializer

The name of a function or a function with four parameters nodeIndex, ncol, nrow, and ... that initializes each node by returning a matrix-like object Pre-defined node initializers include matrixNodeInitializer to initialize matrices and ffNodeInitializer to initialize ff objects.

...

Additional arguments passed into nodeInitializer.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.