public static Tensor PointwiseQuotient(Tensor lhs, Tensor rhs, Tensor OUT) { if (lhs.GetRows() != rhs.GetRows() || lhs.GetCols() != rhs.GetCols()) { Debug.Log("Incompatible tensor dimensions."); } else { Eigen.PointwiseQuotient(lhs.Ptr, rhs.Ptr, OUT.Ptr); } return(OUT); }
public static Matrix PointwiseQuotient(Matrix lhs, Matrix rhs, Matrix OUT) { if (lhs.GetRows() != rhs.GetRows() || lhs.GetCols() != rhs.GetCols()) { Debug.Log("Incompatible Matrix dimensions."); } else { Eigen.PointwiseQuotient(lhs.Ptr, rhs.Ptr, OUT.Ptr); } return(OUT); }