mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-11 22:22:21 +08:00
comment
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user