double[] cbrt_a = {-2.0d, 0.0d, 2.0d};
OpenMapRealVector cbrt_v = new OpenMapRealVector(cbrt_a);
//octave = ???
RealVector v_mapCbrt = cbrt_v.map(new Cbrt());
double[] result_mapCbrt = {-1.2599210498948732d,0d,1.2599210498948732d};
assertClose("compare vectors" ,result_mapCbrt,v_mapCbrt.toArray(),normTolerance);
//octave = ???
RealVector v_mapCbrtToSelf = cbrt_v.copy();
v_mapCbrtToSelf.mapToSelf(new Cbrt());
double[] result_mapCbrtToSelf = {-1.2599210498948732d,0d,1.2599210498948732d};
assertClose("compare vectors" ,result_mapCbrtToSelf,v_mapCbrtToSelf.toArray(),normTolerance);
double[] ceil_a = {-1.1d, 0.9d, 1.1d};
OpenMapRealVector ceil_v = new OpenMapRealVector(ceil_a);