Skip to content

Commit

Permalink
Adjust docs on mean, varWeighted. (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjio authored Nov 6, 2019
1 parent 3d7d66d commit be90acd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ArrayFire/Statistics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import ArrayFire.Internal.Types

-- | Calculates 'mean' of 'Array' along user-specified dimension.
--
-- >>> mean 0 ( vector @Int 10 [1..] )
-- >>> mean ( vector @Int 10 [1..] ) 0
-- ArrayFire Array
-- [1 1 1 1]
-- 5.5000
Expand Down Expand Up @@ -95,7 +95,7 @@ var arr (fromIntegral . fromEnum -> b) d =

-- | Calculates 'varWeighted' of 'Array' along user-specified dimension.
--
-- >>> varWeighted 0 ( vector @Int 10 [1..] ) ( vector @Int 10 [1..] )
-- >>> varWeighted ( vector @Int 10 [1..] ) ( vector @Int 10 [1..] ) 0
-- ArrayFire Array
-- [1 1 1 1]
-- 5.5000
Expand Down

0 comments on commit be90acd

Please sign in to comment.