dim-methods function

Mode Getter for Tensor

Mode Getter for Tensor

Return the vector of modes from a tensor methods

## S4 method for signature 'Tensor' dim(x)

Arguments

  • x: the Tensor instance

Returns

an integer vector of the modes associated with x

Details

dim(x)

Examples

tnsr <- rand_tensor() dim(tnsr)
  • Maintainer: Jiaxin Hu
  • License: GPL (>= 2)
  • Last published: 2023-06-18

Useful links