Update usage of `mul` in README and playground should to `elmul`.

This commit is contained in:
Shiva Huang 2019-12-19 18:14:18 +08:00 committed by Vincent Esche
parent b9777a8d0c
commit b150e4f895
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ import Surge
let a = [1.0, 3.0, 5.0, 7.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

View File

@ -29,7 +29,7 @@ let sum = Surge.sum(n)
let a = [1.0, 3.0, 5.0, 7.0]
let b = [2.0, 4.0, 6.0, 8.0]
let product = mul(a, b)
let product = elmul(a, b)
// MARK: - Matrix