From b150e4f89559939a0e41f1e4efdf212f289bc29c Mon Sep 17 00:00:00 2001 From: Shiva Huang Date: Thu, 19 Dec 2019 18:14:18 +0800 Subject: [PATCH] Update usage of `mul` in README and playground should to `elmul`. --- README.md | 2 +- Surge.playground/Contents.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f7200cc..9a0e7c4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/Surge.playground/Contents.swift b/Surge.playground/Contents.swift index d3ad976..aa07252 100644 --- a/Surge.playground/Contents.swift +++ b/Surge.playground/Contents.swift @@ -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