GE: Gaussian elimination

Description Usage Arguments Details Value

View source: R/GE.R

Description

Gaussian elimination with partial pivoting.

Usage

1
GE(A)

Arguments

A

An n by p matrix. n must be greater than or equal to p.

Details

This function performs Gaussian elimination to the input matrix and returns the locations of pivoting elements.

Value

The output is a vector of length n.

idx

A vector of length n. The first p elements are the indices of the pivoting elements, ordered accoridng to columns, and the rest n-p elements are the remaining indices from 1 to n.


Renvlp documentation built on Feb. 28, 2019, 1:04 a.m.