PPL Java Language Interface 2.0
parma_polyhedra_library.Linear_Expression_Unary_Minus Class Reference

The negation of a linear expression. More...

Inheritance diagram for parma_polyhedra_library.Linear_Expression_Unary_Minus:

Public Member Functions

 Linear_Expression_Unary_Minus (Linear_Expression x)
 Builds an object that represents the negation of the copy x.
Linear_Expression argument ()
 Returns the value that this negates.
Linear_Expression_Unary_Minus clone ()
 Builds a copy of this.
Public Member Functions inherited from parma_polyhedra_library.Linear_Expression
Linear_Expression sum (Linear_Expression y)
 Returns the sum of this and y.
Linear_Expression subtract (Linear_Expression y)
 Returns the difference of this and y.
Linear_Expression times (Coefficient c)
 Returns the product of this times c.
Linear_Expression unary_minus ()
 Returns the negation of this.
native String ascii_dump ()
 Returns an ascii formatted internal representation of this.
native String toString ()
 Returns a string representation of this.
native boolean is_zero ()
 Returns true if and only if this is $0$.
native boolean all_homogeneous_terms_are_zero ()
 Returns true if and only if all the homogeneous terms of this are $0$.

Protected Attributes

Linear_Expression arg
 The value that this negates.

Detailed Description

The negation of a linear expression.

Constructor & Destructor Documentation

◆ Linear_Expression_Unary_Minus()

parma_polyhedra_library.Linear_Expression_Unary_Minus.Linear_Expression_Unary_Minus ( Linear_Expression x)
inline

Builds an object that represents the negation of the copy x.

Parameters
xThe source value used to initialize this object.

Member Function Documentation

◆ argument()

Linear_Expression parma_polyhedra_library.Linear_Expression_Unary_Minus.argument ( )
inline

Returns the value that this negates.

Returns
The value that this negates.

◆ clone()

Linear_Expression_Unary_Minus parma_polyhedra_library.Linear_Expression_Unary_Minus.clone ( )
inline

Builds a copy of this.

Returns
A newly allocated copy of this node and its owned subtree; ownership passes to the caller.

Reimplemented from parma_polyhedra_library.Linear_Expression.


The documentation for this class was generated from the following file:
  • Linear_Expression_Unary_Minus.java