Update usage of `mul` in README and playground should to `elmul`.
This commit is contained in:
parent
b9777a8d0c
commit
b150e4f895
|
@ -109,7 +109,7 @@ import Surge
|
||||||
let a = [1.0, 3.0, 5.0, 7.0]
|
let a = [1.0, 3.0, 5.0, 7.0]
|
||||||
let b = [2.0, 4.0, 6.0, 8.0]
|
let b = [2.0, 4.0, 6.0, 8.0]
|
||||||
|
|
||||||
let product = Surge.mul(a, b) // [2.0, 12.0, 30.0, 56.0]
|
let product = Surge.elmul(a, b) // [2.0, 12.0, 30.0, 56.0]
|
||||||
```
|
```
|
||||||
|
|
||||||
# Inventory
|
# Inventory
|
||||||
|
|
|
@ -29,7 +29,7 @@ let sum = Surge.sum(n)
|
||||||
|
|
||||||
let a = [1.0, 3.0, 5.0, 7.0]
|
let a = [1.0, 3.0, 5.0, 7.0]
|
||||||
let b = [2.0, 4.0, 6.0, 8.0]
|
let b = [2.0, 4.0, 6.0, 8.0]
|
||||||
let product = mul(a, b)
|
let product = elmul(a, b)
|
||||||
|
|
||||||
// MARK: - Matrix
|
// MARK: - Matrix
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue