Learn R Programming

TensorTools (version 1.0.0)

t_rand: Create a random tensor

Description

Generate a Tensor with specified modes whose entries are iid normal(0,1).

Usage

t_rand(modes = c(3, 4, 5))

Value

an S3 Tensor object

Arguments

modes,

the 3 modes of the output Tensor

Author

Kyle Caudle

Randy Hoover

Jackson Cates

Everett Sandbo

References

Imported from rTensor2 package version 2.0.0.

Examples

Run this code
 t_rand(c(4,4,4))

Run the code above in your browser using DataLab