i was wondering if anyone has an elegant idea to split an array A with real numbers into 2 Arrays A_positive and A_negative with, which should contain all positive/negative