public double [ ] toNativeArray ( ) { final double [ ] arr = new double [ getNumImplicitEntries ( ) ] ; iterate ( new FnIntDoubleToVoid ( ) { @ Override public void call ( int idx , double val ) { arr [ idx ] = val ; } } ) ; return arr ; }
Gets a NEW array containing all the elements in this vector .