v_mapCoshToSelf.mapToSelf(new Cosh());
double[] result_mapCoshToSelf = {1.543080634815244e+00d,3.762195691083631e+00d, 1.006766199577777e+01d};
assertClose("compare vectors" ,result_mapCoshToSelf,v_mapCoshToSelf.toArray(),normTolerance);
//octave = sinh(v1)
RealVector v_mapSinh = v1.map(new Sinh());
double[] result_mapSinh = {1.175201193643801e+00d,3.626860407847019e+00d, 1.001787492740990e+01d};
assertClose("compare vectors" ,result_mapSinh,v_mapSinh.toArray(),normTolerance);
//octave = sinh(v1)
RealVector v_mapSinhToSelf = v1.copy();
v_mapSinhToSelf.mapToSelf(new Sinh());
double[] result_mapSinhToSelf = {1.175201193643801e+00d,3.626860407847019e+00d, 1.001787492740990e+01d};
assertClose("compare vectors" ,result_mapSinhToSelf,v_mapSinhToSelf.toArray(),normTolerance);
//octave = tanh(v1)
RealVector v_mapTanh = v1.map(new Tanh());