ndim

property ComplexVector.ndim

As for numpy.ndarray