You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/math.arc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@
77
77
(rec key-val-lis))))
78
78
79
79
(def matrix-minor (mat indices (o table? t))
80
-
"creates the minor the the element of mat with the indices specified, i.e. if the indices are (i j k ...) then it is the matrix which excludes elements in the ith row or jth column or kth depth etc"
80
+
"creates the minor element of mat with the indices specified, i.e. if the indices are (i j k ...) then it is the matrix which excludes elements in the ith row or jth column or kth depth etc"
81
81
(if (acons mat) (zap mat-to-table mat))
82
82
(= indices (firstn (len mat!dims) indices))
83
83
(let ans (mat-to-table:init-matrix (map [- _ 1] mat!dims) 0)
using gaussian elimination and returns a list of x's (N.B. not efficient for large sparce matrices)"
136
+
using gaussian elimination and returns a list of x's (N.B. not efficient for large sparse matrices)"
137
137
(zap flat rhs)
138
-
(if (acons mat) (zap mat-to-table mat)) ;assumes if using list-of-lists representation of matrices you arent worried about efficiency and so wont mind inline conversion
138
+
(if (acons mat) (zap mat-to-table mat)) ;assumes if using list-of-lists representation of matrices you aren't worried about efficiency and so won't mind inline conversion
0 commit comments