t_rand: Create a random tensor

t_randR Documentation

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

Arguments

modes

the 3 modes of the output Tensor

Value

an S3 Tensor object

Author(s)

Kyle Caudle

Randy Hoover

Jackson Cates

Everett Sandbo

References

Imported from rTensor2 package version 2.0.0.

Examples

 t_rand(c(4,4,4))

TensorTools documentation built on Oct. 18, 2024, 1:07 a.m.