public static DoubleMatrix expi(DoubleMatrix x) { 
		/*# mapfct('Math.exp') #*/
//RJPP-BEGIN------------------------------------------------------------
	   for (int i = 0; i < x.length; i++)
	      x.put(i, (double) Math.exp(x.get(i)));
	   return x;
//RJPP-END--------------------------------------------------------------
	}
public static DoubleMatrix expi ( DoubleMatrix x ) { for ( int i = 0 ; i < x . length ; i ++ ) x . put ( i , ( double ) Math . exp ( x . get ( i ) ) ) ; return x ; }
Applies the <i>exponential</i> function element-wise on this
matrix. Note that this is an in-place operation.
@see MatrixFunctions#exp(DoubleMatrix)
@return this matrix