Split the matrix in lower, upper triangular and diagonal {Rfast2} | R Documentation |
Split the matrix in lower, upper triangular and diagonal
Description
Split the matrix in lower, upper triangular and diagonal.
Usage
lud(x)
Arguments
x |
A matrix with data. |
Value
A list with 3 fields:
lower |
The lower triangular of argument "x". |
upper |
The upper triangular of argument "x". |
diagonal |
The diagonal elements. |
Author(s)
Manos Papadakis.
R implementation and documentation: Manos Papadakis papadakm95@gmail.com.
See Also
Examples
x <- matrix(runif(10*10),10,10)
b<-lud(x)
[Package Rfast2 version 0.1.5.2 Index]