Why do the routines in array_utils raise an exception if I add two arrays and array 2 is larger than array 1, but I can easily add array 2 and array 1, centering array 1 at position (0,0)? In this case also only a subset of array 2 is used, so why not just use the subset of array 2 that overlaps array 1 if array 2 is larger than array 1?
Why do the routines in
array_utils
raise an exception if I add two arrays and array 2 is larger than array 1, but I can easily add array 2 and array 1, centering array 1 at position(0,0)
? In this case also only a subset of array 2 is used, so why not just use the subset of array 2 that overlaps array 1 if array 2 is larger than array 1?