question: public void writeToLuceneStream ( IndexOutput outputStream , int k ) { toCartesian ( ) ; for ( int i = 0 ; i < k * 2 ; ++ i ) { try { outputStream . writeInt ( Float . floatToIntBits ( coordinates [ i ] ) ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } }
target:  Transforms vector to cartesian form and writes vector out in dense format, truncating the vectors to the assigned dimensionality