v_mapSinToSelf.mapToSelf(new Sin());
double[] result_mapSinToSelf = {8.414709848078965e-01d,9.092974268256817e-01d,1.411200080598672e-01d};
assertClose("compare vectors" ,result_mapSinToSelf,v_mapSinToSelf.toArray(),normTolerance);
//octave = tan(v1)
RealVector v_mapTan = v1.map(new Tan());
double[] result_mapTan = {1.557407724654902e+00d,-2.185039863261519e+00d,-1.425465430742778e-01d};
assertClose("compare vectors" ,result_mapTan,v_mapTan.toArray(),normTolerance);
//octave = tan(v1)
RealVector v_mapTanToSelf = v1.copy();
v_mapTanToSelf.mapToSelf(new Tan());
double[] result_mapTanToSelf = {1.557407724654902e+00d,-2.185039863261519e+00d,-1.425465430742778e-01d};
assertClose("compare vectors" ,result_mapTanToSelf,v_mapTanToSelf.toArray(),normTolerance);
double[] vat_a = {0d, 0.5d, 1.0d};
OpenMapRealVector vat = new OpenMapRealVector(vat_a);