Linear Algebra for Data Science in R
Eric Eager
Data Scientist at Pro Football Focus
If $A$ is an $n$ by $n$ square matrix, then the following conditions are equivalent and imply a unique solution to $$A\vec{x} = \vec{b}:$$
print(A)
Computing the Inverse of $A$ (if it Exists)
solve(A)
Computing the Determinant of $A$
det(A)
[,1] [,2]
[1,] 1 -2
[2,] 0 4
[,1] [,2]
[1,] 1 0.50
[2,] 0 0.25
4
Linear Algebra for Data Science in R