quantities v0.3.1 (2014-09-14T10:45:06Z)
Home
Dub
Repo
OpBinary.OpBinary
quantities
base
OpBinary
Undocumented in source.
alias
OpBinary
=
Sort
!(
RemoveNull
!(
Simplify
!(
TypeTuple
!(
numerator
,
Invert
!(
denominator
)))))
alias
OpBinary
=
Sort
!(
RemoveNull
!(
Simplify
!(
TypeTuple
!(
numerator
,
Invert
!(
denominator
)))))
alias
OpBinary
=
Sort
!(
RemoveNull
!(
Simplify
!(
TypeTuple
!(
Dim
[
0
..
op
],
Dim
[
op
+
1
..$]))))
template
OpBinary
(Dim...)
package
static if
(!(
staticIndexOf!("/", Dim) >= 0
))
static if
(!(
staticIndexOf!("%", Dim) >= 0
))
static if
(
staticIndexOf!("*", Dim) >= 0
)
alias
OpBinary
=
Sort
!(
RemoveNull
!(
Simplify
!(
TypeTuple
!(
Dim
[0..
op
],
Dim
[
op
+ 1..$]))))
Meta
Source
See Implementation
quantities
base
OpBinary
aliases
OpBinary
denominator
numerator
manifest constants
op