Component-wise complex operations on ndarrays