Export (0) Print
Expand All

Rational.UnaryNegation Operator

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Negates a specified rational number.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public static Rational operator -(
	Rational rat
)

Parameters

rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational value.

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
The result of the rat parameter multiplied by negative one (-1).

Show:
© 2014 Microsoft