Class RatRecognizers (mod)
Active recognizers for rational numbers.
Inheritance
RatRecognizers (mod)
Namespace: Tensor.Algorithm
Assembly: Tensor.Algorithm.dll
Syntax
[<AutoOpen>]
module RatRecognizers
Methods
Name | Description |
---|---|
val ( |Rat| ): Rat -> bigint * bigint | decomposes a rational into its numerator and denominator |
val ( |RatFrac|RatInt|RatPosInf|RatNegInf|RatNaN| ): Rat | RatFrac(num,dnm) matches a true (finite) fraction and RatInteger(value) matches an integer rational number. |