Returns a new vector that is the result of multiplying each value in this by its corresponding value in b @param b the vector to pairwise multiply by @return the result of the pairwise multiplication of b onto the values of this
(Vec b)
| 179 | * values of {@code this} |
| 180 | */ |
| 181 | public Vec pairwiseMultiply(Vec b) |
| 182 | { |
| 183 | Vec toRet = this.getThisSide(b); |
| 184 | toRet.mutablePairwiseMultiply(b); |
| 185 | return toRet; |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * Returns a new vector that is the result of {@code this * c} |