dim-methods: Mode Getter for Tensor

dim-methodsR Documentation

Mode Getter for Tensor

Description

Return the vector of modes from a tensor

Usage

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

Arguments

x

the Tensor instance

Details

dim(x)

Value

an integer vector of the modes associated with x

Examples

tnsr <- rand_tensor()
dim(tnsr)

dTBM documentation built on July 9, 2023, 7:56 p.m.

Related to dim-methods in dTBM...