BUG DESCRIPTION:
----------------
kron() misses mapping .*. for sparse matrices:
--> m = 0:2;
--> kron(sparse(m), m)
in builtin kron
Function not defined for given argument type(s),
check arguments or define function %sp_kron for overloading.
--> kron(m, sparse(m))
in builtin kron
Function not defined for given argument type(s),
check arguments or define function %s_kron for overloading.
--> kron(sparse(m), sparse(m))
in builtin kron
Function not defined for given argument type(s),
check arguments or define function %sp_kron for overloading.
Yet,
--> sparse(m) .*. m
ans =
( 1, 9) sparse matrix
( 1, 5) 1.
( 1, 6) 2.
( 1, 8) 2.
( 1, 9) 4.
--> m .*. sparse(m)
ans =
( 1, 9) sparse matrix
( 1, 5) 1.
( 1, 6) 2.
( 1, 8) 2.
( 1, 9) 4.
--> sparse(m) .*. sparse(m)
ans =
( 1, 9) sparse matrix
( 1, 5) 1.
( 1, 6) 2.
( 1, 8) 2.
( 1, 9) 4.
ERROR LOG:
----------
See above
HOW TO REPRODUCE THE BUG:
-------------------------
kron(sparse(m), m)
kron(sparse(m), sparse(m))
kron(m, sparse(m))
OTHER INFORMATION:
------------------
Why keeping kron() duplicating .*. ??!