Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lud

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)

Rfast2

A Collection of Efficient and Extremely Fast R Functions II

v0.0.9
GPL (>= 2.0)
Authors
Manos Papadakis, Michail Tsagris, Stefanos Fafalios and Marios Dimitriadis.
Initial release
2021-03-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.