'Converts the given distributed multivector to a 1D array.
Parameters
distr_vec : Elemental distributed multivector.
Returns
NumPy 1D array.'

@staticmethod
def local_vec(distr_vec):

    height = distr_vec.Height()
    local_vec = np.zeros(height)
    for i in range(local_vec.size):
        local_vec[i] = distr_vec.Get(i, 0)
    return local_vec
