array_index: Array Index

Description Usage Arguments

View source: R/utils.r

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


tensorr documentation built on May 2, 2019, 3:26 a.m.