ls_rank: Function returns the rank of a linear system Ax = b and...

View source: R/ls_rank.R

ls_rankR Documentation

Function returns the rank of a linear system Ax = b and determines if the system has a unique solution, an infinite number of solutions, or no solution.

Description

Function returns the rank of a linear system Ax = b and determines if the system has a unique solution, an infinite number of solutions, or no solution.

Usage

ls_rank(A, b)

Arguments

A

A numeric matrix or data frame that represents a system of equations.

b

A numeric vector or matrix that represents the constant values b in Ax = b.

Value

Function returns a named list with the ranks of both A and the augmented matrix A|b, and whether the solution is "unique", "infinite", or "none".


deandevl/RmatrixPkg documentation built on March 11, 2023, 2:39 a.m.