index {LinkedMatrix}R Documentation

Maps Each Column or Row Index of a Linked Matrix to the Column or Row Index of Its Corresponding Node

Description

If j for ColumnLinkedMatrix or i for RowLinkedMatrix is passed, it will only generate entries for the given indices. sort, which is set by default, determines whether j or i should be sorted before building the index.

Usage

index(x, ...)

Arguments

x

Either a ColumnLinkedMatrix or a RowLinkedMatrix object.

...

Additional arguments (see Details).

Value

A matrix.

See Also

ColumnLinkedMatrix-class, RowLinkedMatrix-class, and LinkedMatrix-class for more information on the ColumnLinkedMatrix, RowLinkedMatrix, and LinkedMatrix classes.


[Package LinkedMatrix version 1.4.0 Index]