summaryrefslogtreecommitdiff
path: root/Linear_Algebra_by_Jim_Hefferon/CH1/EX2.12
diff options
context:
space:
mode:
Diffstat (limited to 'Linear_Algebra_by_Jim_Hefferon/CH1/EX2.12')
-rw-r--r--Linear_Algebra_by_Jim_Hefferon/CH1/EX2.12/Ex1_2_12.R7
1 files changed, 7 insertions, 0 deletions
diff --git a/Linear_Algebra_by_Jim_Hefferon/CH1/EX2.12/Ex1_2_12.R b/Linear_Algebra_by_Jim_Hefferon/CH1/EX2.12/Ex1_2_12.R
new file mode 100644
index 00000000..5c8f03e6
--- /dev/null
+++ b/Linear_Algebra_by_Jim_Hefferon/CH1/EX2.12/Ex1_2_12.R
@@ -0,0 +1,7 @@
+#Example 2.12,section 1.2,chapter 1,page 18.
+#vector addition
+a <- c(2,3,1)
+b <- c(3,-1,4)
+a+b
+c <- c(1,4,-1,-3)
+7*c \ No newline at end of file