public static Tensor <T> operator *(Tensor <T> left, Tensor <T> right) { if (left.Shape != right.Shape) { throw new ShapeMismatchException(nameof(right)); } T[] result = SimdOps <T> .Multiply(left.InternalArray, right.InternalArray); return(FromRef(left.Shape, result)); }
public static Tensor <T> operator *(Tensor <T> left, T right) { T[] result = SimdOps <T> .Multiply(left.InternalArray, right); return(FromRef(left.Shape, result)); }