operator * method
Multiply two arrays
Examples
var a1 = Array([2.0, 2.0, 2.0]);
var a2 = Array([2.0, 2.0, 2.0]);
print(a1 * a2);
/* output:
Array([4.0, 4.0, 4.0])
*/
Implementation
Array operator *(Array b) {
_checkArray(b);
var c = Array.fixed(length);
for (var i = 0; i < length; i++) {
c[i] = this[i] * b[i];
}
return c;
}