|
| | RCFNum (Context ctx, string value) |
| | Create an RCF numeral from a rational string.
|
| |
| | RCFNum (Context ctx, int value) |
| | Create an RCF numeral from a small integer.
|
| |
| RCFNum | Add (RCFNum other) |
| | Add two RCF numerals.
|
| |
| RCFNum | Sub (RCFNum other) |
| | Subtract two RCF numerals.
|
| |
| RCFNum | Mul (RCFNum other) |
| | Multiply two RCF numerals.
|
| |
| RCFNum | Div (RCFNum other) |
| | Divide two RCF numerals.
|
| |
| RCFNum | Neg () |
| | Negate this RCF numeral.
|
| |
| RCFNum | Inv () |
| | Compute the multiplicative inverse.
|
| |
| RCFNum | Power (uint k) |
| | Raise this RCF numeral to a power.
|
| |
| bool | Lt (RCFNum other) |
| | Check if this RCF numeral is less than another.
|
| |
| bool | Gt (RCFNum other) |
| | Check if this RCF numeral is greater than another.
|
| |
| bool | Le (RCFNum other) |
| | Check if this RCF numeral is less than or equal to another.
|
| |
| bool | Ge (RCFNum other) |
| | Check if this RCF numeral is greater than or equal to another.
|
| |
| bool | Eq (RCFNum other) |
| | Check if this RCF numeral is equal to another.
|
| |
| bool | Neq (RCFNum other) |
| | Check if this RCF numeral is not equal to another.
|
| |
| bool | IsRational () |
| | Check if this RCF numeral is a rational number.
|
| |
| bool | IsAlgebraic () |
| | Check if this RCF numeral is an algebraic number.
|
| |
| bool | IsInfinitesimal () |
| | Check if this RCF numeral is an infinitesimal.
|
| |
| bool | IsTranscendental () |
| | Check if this RCF numeral is a transcendental number.
|
| |
| string | ToString (bool compact) |
| | Convert this RCF numeral to a string.
|
| |
| override string | ToString () |
| | Convert this RCF numeral to a string (non-compact).
|
| |
| string | ToDecimal (uint precision) |
| | Convert this RCF numeral to a decimal string.
|
| |
| override bool | Equals (object obj) |
| | Override Equals for proper equality semantics.
|
| |
| override int | GetHashCode () |
| | Override GetHashCode for proper equality semantics.
|
| |
| void | Dispose () |
| | Disposes of the underlying native Z3 object.
|
| |
|
| static RCFNum | MkPi (Context ctx) |
| | Create an RCF numeral representing pi.
|
| |
| static RCFNum | MkE (Context ctx) |
| | Create an RCF numeral representing e (Euler's constant).
|
| |
| static RCFNum | MkInfinitesimal (Context ctx) |
| | Create an RCF numeral representing an infinitesimal.
|
| |
| static RCFNum[] | MkRoots (Context ctx, RCFNum[] coefficients) |
| | Find roots of a polynomial.
|
| |
| static RCFNum | operator+ (RCFNum a, RCFNum b) |
| | Operator overload for addition.
|
| |
| static RCFNum | operator- (RCFNum a, RCFNum b) |
| | Operator overload for subtraction.
|
| |
| static RCFNum | operator* (RCFNum a, RCFNum b) |
| | Operator overload for multiplication.
|
| |
| static RCFNum | operator/ (RCFNum a, RCFNum b) |
| | Operator overload for division.
|
| |
| static RCFNum | operator- (RCFNum a) |
| | Operator overload for negation.
|
| |
| static bool | operator< (RCFNum a, RCFNum b) |
| | Operator overload for less than.
|
| |
| static bool | operator> (RCFNum a, RCFNum b) |
| | Operator overload for greater than.
|
| |
| static bool | operator<= (RCFNum a, RCFNum b) |
| | Operator overload for less than or equal.
|
| |
| static bool | operator>= (RCFNum a, RCFNum b) |
| | Operator overload for greater than or equal.
|
| |
| static bool | operator== (RCFNum a, RCFNum b) |
| | Operator overload for equality.
|
| |
| static bool | operator!= (RCFNum a, RCFNum b) |
| | Operator overload for inequality.
|
| |
Real Closed Field (RCF) numerals.
RCF numerals can represent:
- Rational numbers
- Algebraic numbers (roots of polynomials)
- Transcendental extensions (e.g., pi, e)
- Infinitesimal extensions
Definition at line 33 of file RCFNum.cs.