diff options
Diffstat (limited to 'Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.a')
-rw-r--r-- | Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.a/Ex2_2.5A.r | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.a/Ex2_2.5A.r b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.a/Ex2_2.5A.r new file mode 100644 index 00000000..73cd5729 --- /dev/null +++ b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.a/Ex2_2.5A.r @@ -0,0 +1,6 @@ +# Example : 2.5A Chapter : 2.5 Pageno : 87 +# Inverse of difference matrix is Sum matrix +A<-matrix(c(1,-1,0,0,1,-1,0,0,1),ncol=3) +A1<-solve(A) +print("Inverse of the difference matrix is singular ") +print(A1) |