Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sébastien Villemot
antik
Commits
e4711a69
Commit
e4711a69
authored
Nov 25, 2017
by
Liam M. Healy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for #'outer
parent
ec0b14d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
grid/tests/norm-vector-product.lisp
grid/tests/norm-vector-product.lisp
+9
-3
No files found.
grid/tests/norm-vector-product.lisp
View file @
e4711a69
;; Tests
;; Liam Healy 2009-12-28 22:33:55EST higher.lisp
;; Time-stamp: <201
2
-1
2-02 23:54:52
EST norm-vector-product.lisp>
;; Time-stamp: <201
7
-1
1-25 15:07:09
EST norm-vector-product.lisp>
;;
;; Copyright 2009, 2012 Liam M. Healy
;; Copyright 2009, 2012
, 2017
Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;;
;; This program is free software: you can redistribute it and/or modify
...
...
@@ -32,4 +32,10 @@
(
cross
#(
0.0d0
0.0d0
1.0d0
)
#(
1.0d0
0.0d0
0.0d0
)))
(
lisp-unit:assert-numerical-equal
7.0710678118654755d0
(
euclidean
#(
3.0d0
4.0d0
5.0d0
))))
(
euclidean
#(
3.0d0
4.0d0
5.0d0
)))
(
lisp-unit:assert-numerical-equal
7.0710678118654755d0
(
euclidean
#(
3.0d0
4.0d0
5.0d0
)))
(
lisp-unit:assert-numerical-equal
#2A
((
3
4
5
)
(
6
8
10
)
(
9
12
15
))
(
outer
#(
1
2
3
)
#(
3
4
5
))))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment