Skip to content

Commit b7940b7

Browse files
committed
Adjust BLAS docs.
1 parent 22a0f74 commit b7940b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ArrayFire/BLAS.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ dot arr1 arr2 prop1 prop2 =
8989
op2 arr1 arr2 (\p a b -> af_dot p a b (toMatProp prop1) (toMatProp prop2))
9090

9191
-- | Scalar dot product between two vectors. Also referred to as the inner product. Returns the result as a host scalar.
92+
--
9293
-- >>> dotAll (vector @Double 10 [1..]) (vector @Double 10 [1..]) None None
9394
-- 385.0 :+ 0.0
9495
dotAll
@@ -109,6 +110,7 @@ dotAll arr1 arr2 prop1 prop2 = do
109110
real :+ imag
110111

111112
-- | Transposes a matrix.
113+
--
112114
-- >>> matrix @Double (2,3) [[2,3,4],[4,5,6]]
113115
-- ArrayFire Array
114116
-- [2 3 1 1]

0 commit comments

Comments
 (0)