Returns a new vector that is the result of this - c @param c the constant to subtract @return the result of this - c
(double c)
| 155 | * @return the result of {@code this - c} |
| 156 | */ |
| 157 | public Vec subtract(double c) |
| 158 | { |
| 159 | return add(-c); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Returns a new vector that is the result of {@code this - b} |