NAME
Sidef::Types::Number::Gauss
DESCRIPTION
This class implements ...
SYNOPSIS
var a = Gauss(17,19)
var b = Gauss(43,97)
say a+b #=> (60, 116)
say a-b #=> (-26, -78)
say a*b #=> (-1112, 2466)
say a/b #=> (99/433, -32/433)
INHERITS
Inherits methods from:
* Sidef::Types::Number::Number
METHODS
!=
a != b
Returns the
Aliases: ne
%
a % b
Returns the
Aliases: mod
&
a & b
Returns the
Aliases: and
*
a * b
Returns the
Aliases: mul
**
a ** b
Returns the
Aliases: pow
+
a + b
Returns the
Aliases: add
++
a ++ b
Returns the
Aliases: inc
-
a - b
Returns the
Aliases: sub
--
a -- b
Returns the
Aliases: dec
/
a / b
Returns the
Aliases: ÷, div
<
a < b
Returns the
Aliases: lt
<<
a << b
Returns the
Aliases: lsft, shift_left
<=>
a <=> b
Returns the
Aliases: cmp
==
a == b
Returns the
Aliases: eq
>
a > b
Returns the
Aliases: gt
>>
a >> b
Returns the
Aliases: rsft, shift_right
^
a ^ b
Returns the
Aliases: xor
|
a | b
Returns the
Aliases: or
≤
a ≤ b
Returns the
Aliases: <=, le
≥
a ≥ b
Returns the
Aliases: >=, ge
a
Gauss.a()
Returns the
Aliases: re, real
abs
Gauss.abs()
Returns the
b
Gauss.b()
Returns the
Aliases: im, imag
ceil
Gauss.ceil()
Returns the
conj
Gauss.conj()
Returns the
dump
Gauss.dump()
Returns the
eval
Gauss.eval()
Returns the
float
Gauss.float()
Returns the
floor
Gauss.floor()
Returns the
gcd
Gauss.gcd()
Returns the
gcd_norm
Gauss.gcd_norm()
Returns the
i
Gauss.i()
Returns the
iabs
Gauss.iabs()
Returns the
inv
Gauss.inv()
Returns the
invmod
Gauss.invmod()
Returns the
is_coprime
Gauss.is_coprime()
Returns the
is_imag
Gauss.is_imag()
Returns the
is_mone
Gauss.is_mone()
Returns the
is_one
Gauss.is_one()
Returns the
is_prime
Gauss.is_prime()
Returns the
is_real
Gauss.is_real()
Returns the
is_zero
Gauss.is_zero()
Returns the
neg
Gauss.neg()
Returns the
new
Gauss.new()
Returns the
Aliases: call
norm
Gauss.norm()
Returns the
parts
Gauss.parts()
Returns the
powmod
Gauss.powmod()
Returns the
reals
Gauss.reals()
Returns the
round
Gauss.round()
Returns the
sgn
Gauss.sgn()
Returns the
sqr
Gauss.sqr()
Returns the
stringify
Gauss.stringify()
Returns the
to_c
Gauss.to_c()
Returns the
Aliases: to_n
to_s
Gauss.to_s()
Returns the