We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2b9e1 commit 2bdedc1Copy full SHA for 2bdedc1
stdlib/LinearAlgebra/src/generic.jl
@@ -908,10 +908,10 @@ dot(x::Number, y::Number) = conj(x) * y
908
dot(x, y)
909
x ⋅ y
910
911
-Compute the dot product between two arrays of the same size as if they were
912
-vectors. For complex arrays, the elements of the first array are conjugated.
+Compute the dot product between two arrays with the same [`axes`](@ref) as if they
+were vectors. For complex arrays, the elements of the first array are conjugated.
913
This is the classical dot product for vectors and the Hilbert-Schmidt dot
914
-product `tr(x' * y)` for matrices. When the arrays have equal sizes, calling
+product `tr(x' * y)` for matrices. When the arrays have equal axes, calling
915
`dot` is semantically equivalent to `sum(dot(vx,vy) for (vx,vy) in zip(x, y))`.
916
917
# Examples
0 commit comments