grmap routine 2

The Maple command simplify with the option symbolic is used to simplify square roots of squares, exponentials of logarithms, etc. We would like to express u^t as a simpler exponential.

The sintaxis of grmap for simplify/symbolic closely follows the syntaxis of a Maple command with two arguments: the mpl_object and the option symbolic

[> simplify( mpl_object, symbolic);

> mpl_object:=1/sqrt(exp(2*x));

> simplify(mpl_object, symbolic);

or using %

[> simplify(%, symbolic);

> 1/sqrt(exp(2*x);

> simplify(%, symbolic);

This becomes:

[> grmap ( GRTensor_object,  simplify, 'x', symbolic);

or

[> grmap( _ , simplify, 'x', symbolic);