Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Vector-products/Lingo/vector-products.lingo
Normal file
11
Task/Vector-products/Lingo/vector-products.lingo
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
a = vector(1,2,3)
|
||||
b = vector(4,5,6)
|
||||
|
||||
put a * b
|
||||
-- 32.0000
|
||||
|
||||
put a.dot(b)
|
||||
-- 32.0000
|
||||
|
||||
put a.cross(b)
|
||||
-- vector( -3.0000, 6.0000, -3.0000 )
|
||||
Loading…
Add table
Add a link
Reference in a new issue