Numbers
Numbers
de.sciss.numbers
DoubleFunctions
DoubleFunctions2
FloatFunctions
FloatFunctions2
Implicits
IntFunctions
IntFunctions2
LongFunctions
LongFunctions2
RichDouble
RichFloat
RichInt
RichMixins
UnaryFloatOps
NAryFloatOps
NAryDoubleOps
Numbers
/
de.sciss.numbers
/
RichInt
RichInt
final
class
RichInt
(val toInt:
Int
) extends
AnyVal
with
UnaryFloatOps
with
NAryFloatOps
with
NAryDoubleOps
Graph
Supertypes
trait
NAryDoubleOps
trait
NAryFloatOps
trait
UnaryFloatOps
class
AnyVal
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
absDif
(b:
Int
):
Int
def
clip
(low:
Int
, high:
Int
):
Int
def
clip2
(b:
Int
):
Int
def
cubed
:
Long
def
difSqr
(b:
Int
):
Long
def
excess
(b:
Int
):
Int
def
fold
(low:
Int
, high:
Int
):
Int
def
fold2
(b:
Int
):
Int
def
gcd
(b:
Int
):
Int
def
isEven
:
Boolean
def
isOdd
:
Boolean
def
isPowerOfTwo
:
Boolean
def
lcm
(b:
Int
):
Int
def
mod
(b:
Int
):
Int
def
nextPowerOfTwo
:
Int
def
roundTo
(b:
Int
):
Int
def
roundUpTo
(b:
Int
):
Int
def
sqrDif
(b:
Int
):
Long
def
sqrSum
(b:
Int
):
Long
def
squared
:
Long
def
sumSqr
(b:
Int
):
Long
def
trunc
(b:
Int
):
Int
def
wrap
(low:
Int
, high:
Int
):
Int
def
wrap2
(b:
Int
):
Int
Inherited methods
def
absDif
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
absDif
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
acos
:
Float
Inherited from
UnaryFloatOps
def
ampDb
:
Float
Inherited from
UnaryFloatOps
def
asin
:
Float
Inherited from
UnaryFloatOps
def
atan
:
Float
Inherited from
UnaryFloatOps
def
atan2
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
atan2
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
clip
(low:
Double
, high:
Double
):
Double
Inherited from
NAryDoubleOps
def
clip
(low:
Float
, high:
Float
):
Float
Inherited from
NAryFloatOps
def
clip2
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
clip2
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
cos
:
Float
Inherited from
UnaryFloatOps
def
cosh
:
Float
Inherited from
UnaryFloatOps
def
cpsMidi
:
Float
Inherited from
UnaryFloatOps
def
cpsOct
:
Float
Inherited from
UnaryFloatOps
def
dbAmp
:
Float
Inherited from
UnaryFloatOps
def
difSqr
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
difSqr
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
div
(b:
Float
):
Int
Inherited from
NAryFloatOps
def
excess
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
excess
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
exp
:
Float
Inherited from
UnaryFloatOps
def
expExp
(inLow:
Double
, inHigh:
Double
, outLow:
Double
, outHigh:
Double
):
Double
Inherited from
NAryDoubleOps
def
expExp
(inLow:
Float
, inHigh:
Float
, outLow:
Float
, outHigh:
Float
):
Float
Inherited from
NAryFloatOps
def
expLin
(inLow:
Double
, inHigh:
Double
, outLow:
Double
, outHigh:
Double
):
Double
Inherited from
NAryDoubleOps
def
expLin
(inLow:
Float
, inHigh:
Float
, outLow:
Float
, outHigh:
Float
):
Float
Inherited from
NAryFloatOps
def
fold
(low:
Double
, high:
Double
):
Double
Inherited from
NAryDoubleOps
def
fold
(low:
Float
, high:
Float
):
Float
Inherited from
NAryFloatOps
def
fold2
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
fold2
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
hannWindow
:
Float
Inherited from
UnaryFloatOps
def
hypot
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
hypot
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
hypotApx
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
hypotApx
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
linExp
(inLow:
Double
, inHigh:
Double
, outLow:
Double
, outHigh:
Double
):
Double
Inherited from
NAryDoubleOps
def
linExp
(inLow:
Float
, inHigh:
Float
, outLow:
Float
, outHigh:
Float
):
Float
Inherited from
NAryFloatOps
def
linLin
(inLow:
Double
, inHigh:
Double
, outLow:
Double
, outHigh:
Double
):
Double
Inherited from
NAryDoubleOps
def
linLin
(inLow:
Float
, inHigh:
Float
, outLow:
Float
, outHigh:
Float
):
Float
Inherited from
NAryFloatOps
def
log
:
Float
Inherited from
UnaryFloatOps
def
log10
:
Float
Inherited from
UnaryFloatOps
def
log2
:
Float
Inherited from
UnaryFloatOps
def
midiCps
:
Float
Inherited from
UnaryFloatOps
def
midiRatio
:
Float
Inherited from
UnaryFloatOps
def
mod
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
mod
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
octCps
:
Float
Inherited from
UnaryFloatOps
def
pow
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
pow
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
ratioMidi
:
Float
Inherited from
UnaryFloatOps
def
reciprocal
:
Float
Inherited from
UnaryFloatOps
def
rectWindow
:
Float
Inherited from
UnaryFloatOps
def
roundTo
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
roundTo
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
roundUpTo
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
roundUpTo
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
sin
:
Float
Inherited from
UnaryFloatOps
def
sinh
:
Float
Inherited from
UnaryFloatOps
def
sqrDif
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
sqrDif
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
sqrSum
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
sqrSum
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
sqrt
:
Float
Inherited from
UnaryFloatOps
def
sumSqr
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
sumSqr
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
tan
:
Float
Inherited from
UnaryFloatOps
def
tanh
:
Float
Inherited from
UnaryFloatOps
def
triWindow
:
Float
Inherited from
UnaryFloatOps
def
trunc
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
trunc
(b:
Float
):
Float
Inherited from
NAryFloatOps
def
welchWindow
:
Float
Inherited from
UnaryFloatOps
def
wrap
(low:
Double
, high:
Double
):
Double
Inherited from
NAryDoubleOps
def
wrap
(low:
Float
, high:
Float
):
Float
Inherited from
NAryFloatOps
def
wrap2
(b:
Double
):
Double
Inherited from
NAryDoubleOps
def
wrap2
(b:
Float
):
Float
Inherited from
NAryFloatOps
Concrete fields
val
toInt
:
Int