-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from scicloj/linalg1
linear algebra intro - draft
- Loading branch information
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
;; # Intro to Linear Algebra - DRAFT 🛠 | ||
|
||
;; In this tutorial, we introduce basic linear algebra concepts | ||
;; and the way they can be computed using [Fastmath](https://github.com/generateme/fastmath). | ||
|
||
;; For additional backgrounds, see | ||
;; [Introduction to Applied Linear Algebra – Vectors, Matrices, and Least Squares](https://web.stanford.edu/~boyd/vmls/) | ||
;; by Stephen Boyd & Lieven Vandenberghe, Cambridge University Press, UK, 2018. | ||
|
||
(ns noj-book.linear-algebra-intro | ||
(:require [fastmath.vector :as vec])) | ||
|
||
;; ## Addition | ||
|
||
(vec/add [1 9] | ||
[0 -3]) | ||
|
||
;; ## Scalar multiplication | ||
|
||
(vec/mult [1 9] | ||
1000) |