Fix vector subtraction
This commit is contained in:
parent
1b361971bc
commit
aef33279ca
|
@ -369,7 +369,7 @@ fn sub {
|
||||||
(x as :number) -> x
|
(x as :number) -> x
|
||||||
(x as :number, y as :number) -> base :sub (x, y)
|
(x as :number, y as :number) -> base :sub (x, y)
|
||||||
(x, y, ...zs) -> fold (base :sub, zs, base :sub (x, y))
|
(x, y, ...zs) -> fold (base :sub, zs, base :sub (x, y))
|
||||||
((x1, y1), (x2, y2)) -> (base :sub (x1, x2), base :sub (x2, y2))
|
((x1, y1), (x2, y2)) -> (base :sub (x1, x2), base :sub (y1, y2))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn mult {
|
fn mult {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user