transpose: Transpose of a matrix

View source: R/matrix.R

Transpose of a matrixR Documentation

Transpose of a matrix

Description

Transpose of a matrix.

Usage

transpose(x)

Arguments

x

A numerical square matrix with data.

Value

The transposed matrix.

Author(s)

Manos Papadakis

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.

References

Gilbert Strang (2006). Linear Algebra and its Applications (4th edition).

See Also

nth, colMaxs, colMins, colrange

Examples

x <- matrix( rnorm(500 * 500), ncol = 500, nrow=500 )
system.time( transpose(x) )
system.time( t(x)  )

x<-NULL

Rfast documentation built on Feb. 16, 2023, 5:09 p.m.