Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

initialize-methods

Initializes a Tensor instance


Description

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

Usage

## 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

Tools for Tensor Analysis and Decomposition

v1.4.8
GPL (>= 2)
Authors
James Li and Jacob Bien and Martin Wells
Initial release
2021-05-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.