Set printing mode.

In full bracket mode the brackets each element in the tree will be surrounded by brackets to indicate the tree structure.

In the default mode, (full bracket off) the number of brackets is minimized so (x+y)+z will be printed as x+y+z.

Namespace:  SingularSys.Jep
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
public virtual void SetMode(
	int mode,
	bool flag
)
Visual Basic (Declaration)
Public Overridable Sub SetMode ( _
	mode As Integer, _
	flag As Boolean _
)
Visual C++
public:
virtual void SetMode(
	int mode, 
	bool flag
)

Parameters

mode
Type: System..::.Int32
which flags to change, typically FULL_BRACKET
flag
Type: System..::.Boolean
whether to switch this mode on or off

See Also