Mutates this = c This method should be overloaded for a serious implementation. @param c the constant to multiply by
(double c)
| 381 | * @param c the constant to multiply by |
| 382 | */ |
| 383 | public void mutableMultiply(double c) |
| 384 | { |
| 385 | for(int i = 0; i < length(); i++) |
| 386 | set(i, get(i)*c); |
| 387 | } |
| 388 | |
| 389 | /** |
| 390 | * Mutates {@code this} by dividing each value by the value in {@code b} |