diff options
author | Justin Le <justin@jle.im> | 2016-01-07 20:14:51 -0800 |
---|---|---|
committer | Justin Le <justin@jle.im> | 2016-01-07 20:14:55 -0800 |
commit | 273de57881fd5cf3092816ddeb45b026612adeae (patch) | |
tree | 2635a881f1baec92130d926625ae977757fc5561 /packages | |
parent | 1fb68521db98ca2bfe1748c82e48b8845c3252d2 (diff) |
changed zipWith to zipWithVector to match Numeric.LinearAlgebra.Devel
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base/src/Numeric/LinearAlgebra/Static.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Static.hs b/packages/base/src/Numeric/LinearAlgebra/Static.hs index 9a2bdc8..720b011 100644 --- a/packages/base/src/Numeric/LinearAlgebra/Static.hs +++ b/packages/base/src/Numeric/LinearAlgebra/Static.hs | |||
@@ -526,7 +526,7 @@ class Domain field vec mat | mat -> vec field, vec -> mat field, field -> mat ve | |||
526 | dvmap :: forall n. KnownNat n => (field -> field) -> vec n -> vec n | 526 | dvmap :: forall n. KnownNat n => (field -> field) -> vec n -> vec n |
527 | dmmap :: forall n m. (KnownNat m, KnownNat n) => (field -> field) -> mat n m -> mat n m | 527 | dmmap :: forall n m. (KnownNat m, KnownNat n) => (field -> field) -> mat n m -> mat n m |
528 | outer :: forall n m. (KnownNat m, KnownNat n) => vec n -> vec m -> mat n m | 528 | outer :: forall n m. (KnownNat m, KnownNat n) => vec n -> vec m -> mat n m |
529 | zipWith :: forall n. KnownNat n => (field -> field -> field) -> vec n -> vec n -> vec n | 529 | zipWithVector :: forall n. KnownNat n => (field -> field -> field) -> vec n -> vec n -> vec n |
530 | 530 | ||
531 | 531 | ||
532 | instance Domain ℝ R L | 532 | instance Domain ℝ R L |
@@ -539,7 +539,7 @@ instance Domain ℝ R L | |||
539 | dvmap = mapR | 539 | dvmap = mapR |
540 | dmmap = mapL | 540 | dmmap = mapL |
541 | outer = outerR | 541 | outer = outerR |
542 | zipWith = zipWithR | 542 | zipWithVector = zipWithR |
543 | 543 | ||
544 | instance Domain ℂ C M | 544 | instance Domain ℂ C M |
545 | where | 545 | where |
@@ -551,7 +551,7 @@ instance Domain ℂ C M | |||
551 | dvmap = mapC | 551 | dvmap = mapC |
552 | dmmap = mapM' | 552 | dmmap = mapM' |
553 | outer = outerC | 553 | outer = outerC |
554 | zipWith = zipWithC | 554 | zipWithVector = zipWithC |
555 | 555 | ||
556 | -------------------------------------------------------------------------------- | 556 | -------------------------------------------------------------------------------- |
557 | 557 | ||