operator + method
Sum two arrays
Examples
var n = Array([1, 2, 3]);
var n2 = Array([1, 2, 3]);
print(n + n2);
/* output:
Array([2.0, 4.0, 6.0])
*/
Implementation
@override
Array operator +(List<double> b) {
_checkArray(b);
var c = Array.fixed(length);
for (var i = 0; i < length; i++) {
c[i] = this[i] + b[i];
}
return c;
}