This commit is contained in:
JeonSeongBae 2017-11-27 13:46:35 +09:00
parent 8f78e59555
commit d82dec93f2

View File

@ -121,10 +121,10 @@ public class Matrix {
} }
/** /**
* Returns this matrix scaled by a factor. That is, computes sA where s is a * Returns this matrix divided by a factor. That is, computes sA where s is a
* constant and A is a matrix (this object). * constant and A is a matrix (this object).
* *
* @param scalar : value to scale by * @param scalar : value to divide by
* @return A new matrix scaled by the scalar value * @return A new matrix scaled by the scalar value
*/ */
public Matrix divide(int scalar) { public Matrix divide(int scalar) {