MatMatElemOp

final class MatMatElemOp[OP <: ScalarOp, @specialized(Int, Long, Double) A, @specialized(Int, Long, Double) B, @specialized(Int, Long, Double) C](op: BinOp[OP, A, B, C])(implicit evidence$2: ScalarTag[C]) extends BinOp[OP, Mat[A], Mat[B], Mat[C]]

Binary element-wise operation on two Mats

Broadcasts according to the following rules (same as numpy). If any of the pairs of dimensions are the same, or one of the pair is size 1, then the dimensions are compatible. If the compatible dimension is size 1, then it is virtually expanded to match the size of the corresponding dimension of the other operand.

trait BinOp[OP, Mat[A], Mat[B], Mat[C]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(v1: Mat[A], v2: Mat[B]): Mat[C]