Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
antik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Villemot
antik
Commits
e4711a69
Commit
e4711a69
authored
7 years ago
by
Liam M. Healy
Browse files
Options
Downloads
Patches
Plain Diff
Add test for #'outer
parent
ec0b14d7
Branches
Branches containing commit
Tags
QL-2017-11
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
grid/tests/norm-vector-product.lisp
+9
-3
9 additions, 3 deletions
grid/tests/norm-vector-product.lisp
with
9 additions
and
3 deletions
grid/tests/norm-vector-product.lisp
+
9
−
3
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
))))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment