systemEq: Solve a System of Equations

View source: R/systemEq.R

systemEqR Documentation

Solve a System of Equations

Description

Solve a system of equations if it has a unique solution; output an error message otherwise

Usage

systemEq(A, y)

Arguments

A

matrix A in Ax=y

y

output vector in Ax=y

Value

the unique solution x to Ax=y

Examples

systemEq(matrix(c(1:3,2,4,4),3),c(3,6,7))

smallstuff documentation built on May 29, 2024, 2:19 a.m.