Preparing search index...
The search index is not available
numericalts
numericalts
@numerical.classes/testClass
FractionalNumberClass
Class FractionalNumberClass
Hierarchy
FractionalNumberClass
Implements
Numerical
<
string
>
Index
Constructors
constructor
Properties
one
Value
zero
Value
Methods
add
divide
from
Integral
gcd
multiply
sign
Operator
sqrt
subtract
to
Integral
to
String
Constructors
constructor
new
Fractional
Number
Class
(
)
:
FractionalNumberClass
Returns
FractionalNumberClass
Properties
one
Value
one
Value
:
string
= "1/1"
zero
Value
zero
Value
:
string
= "0/1"
Methods
add
add
(
x
,
y
)
:
string
Parameters
x
:
string
y
:
string
Returns
string
divide
divide
(
x
,
y
)
:
string
Parameters
x
:
string
y
:
string
Returns
string
from
Integral
from
Integral
(
n
)
:
string
Parameters
n
:
number
Returns
string
gcd
gcd
(
a
,
b
)
:
number
Parameters
a
:
number
b
:
number
Returns
number
multiply
multiply
(
x
,
y
)
:
string
Parameters
x
:
string
y
:
string
Returns
string
sign
Operator
sign
Operator
(
x
)
:
number
Parameters
x
:
string
Returns
number
sqrt
sqrt
(
x
)
:
string
Parameters
x
:
string
Returns
string
subtract
subtract
(
x
,
y
)
:
string
Parameters
x
:
string
y
:
string
Returns
string
to
Integral
to
Integral
(
n
)
:
number
Parameters
n
:
string
Returns
number
to
String
to
String
(
n
)
:
string
Parameters
n
:
string
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
one
Value
zero
Value
add
divide
from
Integral
gcd
multiply
sign
Operator
sqrt
subtract
to
Integral
to
String
numericalts
@error.types
@error.types/matrix.error
@error.types/numerical.error
@interfaces
@interfaces/matrix
@interfaces/matrix.error
@interfaces/numerical
@numerical.classes
@numerical.classes/bigint
@numerical.classes/complex
@numerical.classes/fraction
@numerical.classes/number
@numerical.classes/test
Class
Fractional
Number
Class
complex
constants
index
math
matrix
Generated using
TypeDoc