initialize-methods: Initializes a Tensor instance

Description Usage Arguments See Also

Description

Not designed to be called by the user. Use as.tensor instead.

Usage

1
2
3
## S4 method for signature 'Tensor'
initialize(.Object, num_modes = NULL, modes = NULL,
  data = NULL)

Arguments

.Object

the tensor object

num_modes

number of modes of the tensor

modes

modes of the tensor

data

can be vector, matrix, or array

See Also

as.tensor


rTensor documentation built on May 15, 2021, 9:06 a.m.