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());
double[] result_mapTanh = {7.615941559557649e-01d,9.640275800758169e-01d,9.950547536867305e-01d};
assertClose("compare vectors" ,result_mapTanh,v_mapTanh.toArray(),normTolerance);
//octave = tanh(v1)
RealVector v_mapTanhToSelf = v1.copy();
v_mapTanhToSelf.mapToSelf(new Tanh());
double[] result_mapTanhToSelf = {7.615941559557649e-01d,9.640275800758169e-01d,9.950547536867305e-01d};
assertClose("compare vectors" ,result_mapTanhToSelf,v_mapTanhToSelf.toArray(),normTolerance);
//octave = cos(v1)
RealVector v_mapCos = v1.map(new Cos());