breeze.linalg.functions.kron.scala Maven / Gradle / Ivy
package breeze.linalg
import breeze.linalg.operators.OpMulScalar
import scala.reflect.ClassTag
import breeze.storage.Zero
import breeze.generic.UFunc
/**
* Returns the Kronecker product of two matrices a and b,
* usually denoted a ⊗ b.
*/
object kron extends UFunc {
implicit def kronDM_M[V1,V2, M,RV](implicit mul : OpMulScalar.Impl2[V1, M, DenseMatrix[RV]],
asMat: M<: