weibozhao commented on a change in pull request #24:
URL: https://github.com/apache/flink-ml/pull/24#discussion_r769356113
##########
File path: flink-ml-core/src/main/java/org/apache/flink/ml/linalg/BLAS.java
##########
@@ -52,4 +52,39 @@ public static double norm2(DenseVector x) {
public static void scal(double a, DenseVector x) {
JAVA_BLAS.dscal(x.size(), a, x.values, 1);
}
+
+ /**
+ * y = alpha * matrix * x + beta * y or y = alpha * (matrix^T) * x + beta
* y.
+ *
+ * @param matrix Dense matrix with size m x n.
+ * @param transMatrix Whether transposes matrix before multiply.
+ * @param x Dense vector with size n.
+ * @param y Dense vector with size m.
Review comment:
I have added these docs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]