diff options
Diffstat (limited to 'Linear_Algebra_by_Jim_Hefferon/CH4/EX1.4')
-rw-r--r-- | Linear_Algebra_by_Jim_Hefferon/CH4/EX1.4/Ex4_1_4.R | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Linear_Algebra_by_Jim_Hefferon/CH4/EX1.4/Ex4_1_4.R b/Linear_Algebra_by_Jim_Hefferon/CH4/EX1.4/Ex4_1_4.R new file mode 100644 index 00000000..c42d8991 --- /dev/null +++ b/Linear_Algebra_by_Jim_Hefferon/CH4/EX1.4/Ex4_1_4.R @@ -0,0 +1,14 @@ +#Example 1.4,chapter 4,Section III. Laplace's Formula,page 354
+#package used matlib v0.9.1 and pracma
+#Github reposiory of matlib :https://github.com/friendly/matlib
+
+#installation and loading library
+#install.packages("matlib")
+library("matlib")
+
+#program
+T <- matrix(c(1,4,7,2,5,8,3,6,9),ncol = 3)
+T12 <- cofactor(T,1,2)
+T22 <- cofactor(T,2,2)
+T12
+T22
|