uneval - Maple Help

Online Help

All Products    Maple    MapleSim


Algebraic.uneval

protect an Algebraic expression from evaluation

 

Calling Sequence

Description

Examples

Calling Sequence

Algebraic uneval() throws MapleException

Description

• 

The uneval function creates an unevaluated expression from the Maple expression represented by the current Algebraic object and returns it as an Algebraic.

• 

The current Algebraic object is unchanged by this call.

• 

For more information on unevaluated expressions, see uneval.

Examples

import com.maplesoft.openmaple.*;

import com.maplesoft.externalcall.MapleException;

class Example

{

    public static void main( String notused[] ) throws MapleException

    {

        String[] mapleArgs = { "java" };

        Engine engine = new Engine( mapleArgs, new EngineCallBacksDefault(), null, null );

        Algebraic a1 = engine.evaluate( "''a''/10:" );

        Algebraic a2 = a1.uneval();

        System.out.println( a2 );

        System.out.println( a1.eval() );

        System.out.println( a2.eval() );

    }

}

Executing this code should produce the following output.

1/10*('a')

1/10

1/10*a

See Also

ExternalCalling/Java/MapleException

OpenMaple

OpenMaple/Java/Algebraic

OpenMaple/Java/API

OpenMaple/Java/Engine/evaluate

uneval