tmean: Determines the mean of a 3D tensor along mode 2

View source: R/tmean.R

tmeanR Documentation

Determines the mean of a 3D tensor along mode 2

Description

Determines the mean of a 3D tensor along mode 2

Usage

tmean(tnsr)

Arguments

tnsr

a 3D tensor of dimensions n1,n2,n3

Value

S3 tensor class object

Author(s)

Kyle Caudle

Randy Hoover

Jackson Cates

Everett Sandbo

References

M. E. Kilmer, C. D. Martin, and L. Perrone, “A third-order generalization of the matrix svd as a product of third-order tensors,” Tufts University, Department of Computer Science, Tech. Rep. TR-2008-4, 2008

K. Braman, "Third-order tensors as linear operators on a space of matrices", Linear Algebra and its Applications, vol. 433, no. 7, pp. 1241-1253, 2010.

Examples

tnsr <- t_rand(modes=c(3,4,5))
tmean(tnsr)

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