@@ -249,21 +249,21 @@ Base.@propagate_inbounds function Base.getindex(ps::PureState{T, N}, x::Vararg{I
249249 return @inbounds prod (getindex (ps. tensors[n], x[n]) for n in 1 : N)
250250end
251251
252- FrankWolfe . fast_dot (A:: Array , ps:: PureState ) = conj (FrankWolfe . fast_dot (ps, A))
252+ LA . dot (A:: Array , ps:: PureState ) = conj (LA . dot (ps, A))
253253
254- function FrankWolfe . fast_dot (ps:: PureState{T, 2} , A:: Array{T, 2} ) where {T <: Real }
254+ function LA . dot (ps:: PureState{T, 2} , A:: Array{T, 2} ) where {T <: Real }
255255 LA. mul! (ps. lmo. tmp, A, ps. tensors[2 ])
256256 return LA. dot (ps. tensors[1 ], ps. lmo. tmp)
257257end
258258
259- function FrankWolfe . fast_dot (ps:: PureState{T, N} , A:: Array{T, N} ) where {T <: Real } where {N}
259+ function LA . dot (ps:: PureState{T, N} , A:: Array{T, N} ) where {T <: Real } where {N}
260260 return LA. dot (ps, A)
261261end
262262
263- function FrankWolfe . fast_dot (ps1:: PureState{T, 2} , ps2:: PureState{T, 2} ) where {T <: Real }
263+ function LA . dot (ps1:: PureState{T, 2} , ps2:: PureState{T, 2} ) where {T <: Real }
264264 return LA. dot (ps1. tensors[1 ], ps2. tensors[1 ]) * LA. dot (ps1. tensors[2 ], ps2. tensors[2 ])
265265end
266266
267- function FrankWolfe . fast_dot (ps1:: PureState{T, N} , ps2:: PureState{T, N} ) where {T <: Real , N}
267+ function LA . dot (ps1:: PureState{T, N} , ps2:: PureState{T, N} ) where {T <: Real , N}
268268 return prod (LA. dot (ps1. tensors[n], ps2. tensors[n]) for n in 1 : N)
269269end
0 commit comments