array_index: Array Index

Description Usage Arguments

Description

Convert a vector of linear indices to a a matrix of array indices. Each linear index will map to a column in the matrix.

Usage

1
array_index(x, dims)

Arguments

x

vector of linear indices

dims

dimensions


zamorarr/tensorr documentation built on May 4, 2019, 9:08 p.m.