question: public ComplexVector generateHermitianRandomVector ( int dimension , Random random ) { ComplexVector randomVector = new ComplexVector ( dimension , Mode . HERMITIAN ) ; float [ ] coordinates = randomVector . getCoordinates ( ) ; for ( int d = 0 ; d < coordinates . length ; d ++ ) coordinates [ d ] = ( float ) ( random . nextFloat ( ) - 0.5 ) / ( float ) coordinates . length ; return randomVector ; }
target:  Generates a basic dense vector in Cartesian form. This is used in the hermitian mode, though, hence the name.