io
.
github
.
karols
.
units
.
internal
.
ratios
UnitAlias
Related Doc:
package ratios
final
class
UnitAlias
[
U <:
MUnit
,
V <:
MUnit
]
extends
AnyVal
Linear Supertypes
AnyVal
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
UnitAlias
AnyVal
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
UnitAlias
(
unused:
Int
=
0
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
Any
def
*
[
X <:
MUnit
,
Y <:
MUnit
]
(
that:
BaseDoubleRatio
[
X
,
Y
]
)
:
BaseDoubleRatio
[
U.Mul
[
X
],
V.Mul
[
Y
]]
Annotations
@inline
()
def
*
[
X <:
MUnit
,
Y <:
MUnit
]
(
that:
BaseIntRatio
[
X
,
Y
]
)
:
BaseIntRatio
[
U.Mul
[
X
],
V.Mul
[
Y
]]
Annotations
@inline
()
def
/
[
X <:
MUnit
,
Y <:
MUnit
]
(
that:
BaseDoubleRatio
[
X
,
Y
]
)
:
BaseDoubleRatio
[
U.Mul
[
/.X.Invert
],
V.Mul
[
/.Y.Invert
]]
Annotations
@inline
()
def
/
[
X <:
MUnit
,
Y <:
MUnit
]
(
that:
BaseIntRatio
[
X
,
Y
]
)
:
BaseDoubleRatio
[
U.Mul
[
/.X.Invert
],
V.Mul
[
/.Y.Invert
]]
Annotations
@inline
()
def
<>
[
Y <:
MUnit
]
(
that:
BaseIntRatio
[
U
,
Y
]
)
:
BaseDoubleRatio
[
Y
,
V
]
Annotations
@inline
()
def
<>
[
Y <:
MUnit
]
(
that:
BaseDoubleRatio
[
U
,
Y
]
)
:
BaseDoubleRatio
[
Y
,
V
]
Annotations
@inline
()
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
><
[
Y <:
MUnit
]
(
that:
BaseIntRatio
[
Y
,
V
]
)
:
BaseDoubleRatio
[
U
,
Y
]
Annotations
@inline
()
def
><
[
Y <:
MUnit
]
(
that:
BaseDoubleRatio
[
Y
,
V
]
)
:
BaseDoubleRatio
[
U
,
Y
]
Annotations
@inline
()
def
>>
[
Y <:
MUnit
]
(
that:
BaseDoubleRatio
[
V
,
Y
]
)
:
BaseDoubleRatio
[
U
,
Y
]
Annotations
@inline
()
def
>>
[
Y <:
MUnit
]
(
that:
BaseIntRatio
[
V
,
Y
]
)
:
BaseIntRatio
[
U
,
Y
]
Annotations
@inline
()
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
dividedBy
[
Y <:
MUnit
]
:
BaseIntRatio
[
U.Mul
[
dividedBy.Y.Invert
],
V.Mul
[
dividedBy.Y.Invert
]]
Annotations
@inline
()
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
def
invert
:
BaseDoubleRatio
[
V
,
U
]
Annotations
@inline
()
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
pow2
:
UnitAlias
[
U.Mul
[
U
],
V.Mul
[
V
]]
Annotations
@inline
()
def
pow3
:
UnitAlias
[
MUnit.Mul.Mul
[
U
],
MUnit.Mul.Mul
[
V
]]
Annotations
@inline
()
def
times
[
Y <:
MUnit
]
:
BaseIntRatio
[
U.Mul
[
Y
],
V.Mul
[
Y
]]
Annotations
@inline
()
def
toString
()
:
String
Definition Classes
Any
val
unused
:
Int
Inherited from
AnyVal
Inherited from
Any
Ungrouped