diff options
author | Alberto Ruiz <aruiz@um.es> | 2016-01-09 19:37:27 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2016-01-09 19:37:27 +0100 |
commit | 8519dc68fc3d020982e89dc502d7d7f81f6efcaf (patch) | |
tree | 2635a881f1baec92130d926625ae977757fc5561 /packages/base/src/Numeric/LinearAlgebra/Static.hs | |
parent | 742b5a8d0aa1af58d0343d52c02deda949e57a49 (diff) | |
parent | 273de57881fd5cf3092816ddeb45b026612adeae (diff) |
Merge pull request #168 from mstksg/master
changed zipWith to zipWithVector to match Numeric.LinearAlgebra.Devel and avoid conflicts
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra/Static.hs')
-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 | ||