public function add($addend)
{
if ($addend instanceof NumArray) {
$addend = $addend->getData();
}
$this->data = Map::mapArray($this->data, $addend, function ($data1, $data2) {
return $data1 + $data2;
});
$this->shape = Shape::getShape($this->data);
$this->flushCache();
return $this;
}