using numpy broadcasting / vectorization to build new array from other arrays using numpy broadcasting / vectorization to build new array from other arrays numpy numpy