RemObjects.Elements.System.Memory<Rat> Extension

Location

Instance Methods


Abs

 

method Abs(x: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Abs(Memory<Rat> x)

 

func Abs(_ x: Memory<Rat>) -> Memory<Rat>

 

func Abs(x Memory<Rat>) Memory<Rat>

 

Function Abs(x As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:

Add

 

method Add(x: Memory<Rat>; y: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Add(Memory<Rat> x, Memory<Rat> y)

 

func Add(_ x: Memory<Rat>, _ y: Memory<Rat>) -> Memory<Rat>

 

func Add(x Memory<Rat>, y Memory<Rat>) Memory<Rat>

 

Function Add(x As Memory<Rat>, y As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:
  • y:

Cmp

 

method Cmp(y: Memory<Rat>): int

 

int Cmp(Memory<Rat> y)

 

func Cmp(_ y: Memory<Rat>) -> int

 

func Cmp(y Memory<Rat>) int

 

Function Cmp(y As Memory<Rat>) As int

Parameters:

  • y:

Denom

 

method Denom: Memory<Int>

 

Memory<Int> Denom()

 

func Denom() -> Memory<Int>

 

func Denom() Memory<Int>

 

Function Denom() As Memory<Int>

Float32

 

method Float32: tuple of (f: Single, exact: Boolean)

 

(Single f, Boolean exact) Float32()

 

func Float32() -> (Single, Boolean)

 

func Float32() tuple of (|name=f| Single, |name=exact| Boolean)

 

Function Float32() As Tuple (Of Single, Boolean)

Float64

 

method Float64: tuple of (f: Double, exact: Boolean)

 

(Double f, Boolean exact) Float64()

 

func Float64() -> (Double, Boolean)

 

func Float64() tuple of (|name=f| Double, |name=exact| Boolean)

 

Function Float64() As Tuple (Of Double, Boolean)

FloatString

 

method FloatString(prec: int): string

 

string FloatString(int prec)

 

func FloatString(_ prec: int) -> string

 

func FloatString(prec int) string

 

Function FloatString(prec As int) As string

Parameters:

  • prec:

GobDecode

 

method GobDecode(buf: Slice<Byte>): error

 

error GobDecode(Slice<Byte> buf)

 

func GobDecode(_ buf: Slice<Byte>) -> error

 

func GobDecode(buf Slice<Byte>) error

 

Function GobDecode(buf As Slice<Byte>) As error

Parameters:

  • buf:

GobEncode

 

method GobEncode: tuple of (Slice<Byte>, error)

 

(Slice<Byte>, error) GobEncode()

 

func GobEncode() -> (Slice<Byte>, error)

 

func GobEncode() tuple of (Slice<Byte>, error)

 

Function GobEncode() As Tuple (Of Slice<Byte>, error)

Inv

 

method Inv(x: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Inv(Memory<Rat> x)

 

func Inv(_ x: Memory<Rat>) -> Memory<Rat>

 

func Inv(x Memory<Rat>) Memory<Rat>

 

Function Inv(x As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:

IsInt

 

method IsInt: bool

 

bool IsInt()

 

func IsInt() -> bool

 

func IsInt() bool

 

Function IsInt() As bool

MarshalText

 

method MarshalText: tuple of (text: Slice<Byte>, err: error)

 

(Slice<Byte>text, error err) MarshalText()

 

func MarshalText() -> (Slice<Byte>, error)

 

func MarshalText() tuple of (|name=text| Slice<Byte>, |name=err| error)

 

Function MarshalText() As Tuple (Of Slice<Byte>, error)

Mul

 

method Mul(x: Memory<Rat>; y: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Mul(Memory<Rat> x, Memory<Rat> y)

 

func Mul(_ x: Memory<Rat>, _ y: Memory<Rat>) -> Memory<Rat>

 

func Mul(x Memory<Rat>, y Memory<Rat>) Memory<Rat>

 

Function Mul(x As Memory<Rat>, y As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:
  • y:

Neg

 

method Neg(x: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Neg(Memory<Rat> x)

 

func Neg(_ x: Memory<Rat>) -> Memory<Rat>

 

func Neg(x Memory<Rat>) Memory<Rat>

 

Function Neg(x As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:

Num

 

method Num: Memory<Int>

 

Memory<Int> Num()

 

func Num() -> Memory<Int>

 

func Num() Memory<Int>

 

Function Num() As Memory<Int>

Quo

 

method Quo(x: Memory<Rat>; y: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Quo(Memory<Rat> x, Memory<Rat> y)

 

func Quo(_ x: Memory<Rat>, _ y: Memory<Rat>) -> Memory<Rat>

 

func Quo(x Memory<Rat>, y Memory<Rat>) Memory<Rat>

 

Function Quo(x As Memory<Rat>, y As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:
  • y:

RatString

 

method RatString: string

 

string RatString()

 

func RatString() -> string

 

func RatString() string

 

Function RatString() As string

Scan

 

method Scan(s: ScanState; ch: rune): error

 

error Scan(ScanState s, rune ch)

 

func Scan(_ s: ScanState, _ ch: rune) -> error

 

func Scan(s ScanState, ch rune) error

 

Function Scan(s As ScanState, ch As rune) As error

Parameters:

  • s:
  • ch:

Set

 

method Set(x: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Set(Memory<Rat> x)

 

func Set(_ x: Memory<Rat>) -> Memory<Rat>

 

func Set(x Memory<Rat>) Memory<Rat>

 

Function Set(x As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:

SetFloat64

 

method SetFloat64(f: float64): Memory<Rat>

 

Memory<Rat> SetFloat64(float64 f)

 

func SetFloat64(_ f: float64) -> Memory<Rat>

 

func SetFloat64(f float64) Memory<Rat>

 

Function SetFloat64(f As float64) As Memory<Rat>

Parameters:

  • f:

SetFrac

 

method SetFrac(a: Memory<Int>; b: Memory<Int>): Memory<Rat>

 

Memory<Rat> SetFrac(Memory<Int> a, Memory<Int> b)

 

func SetFrac(_ a: Memory<Int>, _ b: Memory<Int>) -> Memory<Rat>

 

func SetFrac(a Memory<Int>, b Memory<Int>) Memory<Rat>

 

Function SetFrac(a As Memory<Int>, b As Memory<Int>) As Memory<Rat>

Parameters:

  • a:
  • b:

SetFrac64

 

method SetFrac64(a: int64; b: int64): Memory<Rat>

 

Memory<Rat> SetFrac64(int64 a, int64 b)

 

func SetFrac64(_ a: int64, _ b: int64) -> Memory<Rat>

 

func SetFrac64(a int64, b int64) Memory<Rat>

 

Function SetFrac64(a As int64, b As int64) As Memory<Rat>

Parameters:

  • a:
  • b:

SetInt

 

method SetInt(x: Memory<Int>): Memory<Rat>

 

Memory<Rat> SetInt(Memory<Int> x)

 

func SetInt(_ x: Memory<Int>) -> Memory<Rat>

 

func SetInt(x Memory<Int>) Memory<Rat>

 

Function SetInt(x As Memory<Int>) As Memory<Rat>

Parameters:

  • x:

SetInt64

 

method SetInt64(x: int64): Memory<Rat>

 

Memory<Rat> SetInt64(int64 x)

 

func SetInt64(_ x: int64) -> Memory<Rat>

 

func SetInt64(x int64) Memory<Rat>

 

Function SetInt64(x As int64) As Memory<Rat>

Parameters:

  • x:

SetString

 

method SetString(s: string): tuple of (Memory<Rat>, Boolean)

 

(Memory<Rat>, Boolean) SetString(string s)

 

func SetString(_ s: string) -> (Memory<Rat>, Boolean)

 

func SetString(s string) tuple of (Memory<Rat>, Boolean)

 

Function SetString(s As string) As Tuple (Of Memory<Rat>, Boolean)

Parameters:

  • s:

SetUint64

 

method SetUint64(x: uint64): Memory<Rat>

 

Memory<Rat> SetUint64(uint64 x)

 

func SetUint64(_ x: uint64) -> Memory<Rat>

 

func SetUint64(x uint64) Memory<Rat>

 

Function SetUint64(x As uint64) As Memory<Rat>

Parameters:

  • x:

Sign

 

method Sign: int

 

int Sign()

 

func Sign() -> int

 

func Sign() int

 

Function Sign() As int

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

Sub

 

method Sub(x: Memory<Rat>; y: Memory<Rat>): Memory<Rat>

 

Memory<Rat> Sub(Memory<Rat> x, Memory<Rat> y)

 

func Sub(_ x: Memory<Rat>, _ y: Memory<Rat>) -> Memory<Rat>

 

func Sub(x Memory<Rat>, y Memory<Rat>) Memory<Rat>

 

Function Sub(x As Memory<Rat>, y As Memory<Rat>) As Memory<Rat>

Parameters:

  • x:
  • y:

UnmarshalText

 

method UnmarshalText(text: Slice<Byte>): error

 

error UnmarshalText(Slice<Byte> text)

 

func UnmarshalText(_ text: Slice<Byte>) -> error

 

func UnmarshalText(text Slice<Byte>) error

 

Function UnmarshalText(text As Slice<Byte>) As error

Parameters:

  • text: