Optional
output into which the result should be placed if needed. In can be the same as array1 in order to have in-place modification
output into which the result should be placed if needed. In can be the same as array1 in order to have in-place modification