You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to get the outer product of a sparse vector and a dense vector by themselves fails. For instance:
vala= breeze.linalg.DenseVector.zeros[Double](250)
valb= breeze.linalg.SparseVector.zeros[Double](300)
a * b.t
<console>:28:error: could not find implicit value for parameter op: breeze.linalg.operators.OpMulMatrix.Impl2[breeze.linalg.DenseVector[Double],breeze.linalg.Transpose[breeze.linalg.SparseVector[Double]],That]
a * b.t
However, this works perfectly fine when the sparse vector is converted to a dense vector first:
This is probably due to the ambiguity of this operation. Would you expect to have a Dense matrix or a Sparse Matrix ?
@dlwh Any idea on that ? Would it be better to left it unimplemented ? Calculate a Sparse Matrix ? I might have some free time to implement it if there is a decision taken
On Mon, May 18, 2020 at 5:43 AM Louis FRULEUX ***@***.***> wrote:
This is probably due to the ambiguity of this operation. Would you expect
to have a Dense matrix or a Sparse Matrix ?
@dlwh <https://github.com/dlwh> Any idea on that ? Would it be better to
left it unimplemented ? Calculate a Sparse Matrix ? I might have some free
time to implement it if there is a decision taken
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#779 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACLINWGZNJLXVKJNUTLHDRSEUQRANCNFSM4MYGK2LA>
.
Attempting to get the outer product of a sparse vector and a dense vector by themselves fails. For instance:
However, this works perfectly fine when the sparse vector is converted to a dense vector first:
The text was updated successfully, but these errors were encountered: