ExOps

final class ExOps[A](x: Ex[A]) extends AnyVal
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def %[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def &(that: Ex[A])(implicit num: NumInt[A]): Ex[A]

Bit-wise AND

Bit-wise AND

def &&(that: Ex[A])(implicit num: NumBool[A]): Ex[A]

Logical AND

Logical AND

def *[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def +[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def -[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def -->(that: Sink[A]): Unit
def /[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDiv[A2]): Ex[A2]
def <(that: Ex[A])(implicit ord: Ord[A]): Ex[Boolean]
def <<(that: Ex[A])(implicit num: NumInt[A]): Ex[A]
def <=(that: Ex[A])(implicit ord: Ord[A]): Ex[Boolean]
def <|(tr: Trig): Ex[A]

Alias for latch

Alias for latch

def >(that: Ex[A])(implicit ord: Ord[A]): Ex[Boolean]
def >=(that: Ex[A])(implicit ord: Ord[A]): Ex[Boolean]
def >>(that: Ex[A])(implicit num: NumInt[A]): Ex[A]
def >>>(that: Ex[A])(implicit num: NumInt[A]): Ex[A]
def ^(that: Ex[A])(implicit num: NumInt[A]): Ex[A]

Bit-wise XOR

Bit-wise XOR

def ^^(that: Ex[A])(implicit num: NumBool[A]): Ex[A]

Logical XOR

Logical XOR

def abs(implicit num: Num[A]): Ex[A]
def absDif[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def acos[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def ampDb[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def asObj(implicit cm: CanMake[A]): Make

Views this expression as a (yet to make) Obj. In order to actually create the object, .make has to be called on it.

Views this expression as a (yet to make) Obj. In order to actually create the object, .make has to be called on it.

def asin[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def atan[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def atan2[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def ceil(implicit num: NumFrac[A]): Ex[A]
def clip[A1, A2](lo: Ex[A1], hi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def clip2[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def cos[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def cosh[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def cpsMidi[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def cpsOct[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def cubed(implicit num: Num[A]): Ex[A]
def dbAmp[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def difSqr[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def excess[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def exp[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def expExp[A1, A2](inLo: Ex[A], inHi: Ex[A], outLo: Ex[A1], outHi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def expLin[A1, A2](inLo: Ex[A], inHi: Ex[A], outLo: Ex[A1], outHi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def floor(implicit num: NumFrac[A]): Ex[A]
def fold[A1, A2](lo: Ex[A1], hi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def fold2[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def frac(implicit num: NumFrac[A]): Ex[A]
def gcd(that: Ex[A])(implicit num: NumInt[A]): Ex[A]
def hypot[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def hypotApx[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def isEven[B](implicit num: NumInt[A] { type Boolean = B; }): Ex[B]
def isOdd[B](implicit num: NumInt[A] { type Boolean = B; }): Ex[B]
def isPowerOfTwo[B](implicit num: NumInt[A] { type Boolean = B; }): Ex[B]
def latch(tr: Trig): Ex[A]

Latches the expression based on the trigger argument. The initial state of the returned expression corresponds to the initial state of the input expression. Subsequent values are updated and cached only when a trigger occurs.

Latches the expression based on the trigger argument. The initial state of the returned expression corresponds to the initial state of the input expression. Subsequent values are updated and cached only when a trigger occurs.

def lcm(that: Ex[A])(implicit num: NumInt[A]): Ex[A]
def linExp[A1, A2](inLo: Ex[A], inHi: Ex[A], outLo: Ex[A1], outHi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def linLin[A1, A2](inLo: Ex[A], inHi: Ex[A], outLo: Ex[A1], outHi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumFrac[A2]): Ex[A2]
def log[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def log10[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def log2[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def max[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def midiCps[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def midiRatio[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def min[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def mod[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def nextPowerOfTwo(implicit num: NumInt[A]): Ex[A]
def octCps[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def pow[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: NumDouble[A2]): Ex[A2]
def ratioMidi[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def reciprocal[B](implicit w: Widen[A, B], num: NumFrac[B]): Ex[B]
def roundTo[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def roundUpTo[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def sig_!=(that: Ex[A])(implicit eq: Eq[A]): Ex[Boolean]
def sig_==(that: Ex[A])(implicit eq: Eq[A]): Ex[Boolean]
def signum(implicit num: Num[A]): Ex[A]
def sin[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def sinh[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def sqrDif[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def sqrSum[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def sqrt[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def squared(implicit num: Num[A]): Ex[A]
def sumSqr[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def tan[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def tanh[B](implicit wd: WidenToDouble[A, B]): Ex[B]
def toDouble(implicit to: ToNum[A]): Ex[Double]
def toInt(implicit to: ToNum[A]): Ex[Int]
def toLong(implicit to: ToNum[A]): Ex[Long]
def toStr: Ex[String]
def trunc[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def unary_!(implicit num: NumBool[A]): Ex[A]
def unary_-(implicit num: Num[A]): Ex[A]
def unary_~(implicit num: NumInt[A]): Ex[A]
def wrap[A1, A2](lo: Ex[A1], hi: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def wrap2[A1, A2](that: Ex[A1])(implicit w: Widen2[A, A1, A2], num: Num[A2]): Ex[A2]
def |(that: Ex[A])(implicit num: NumInt[A]): Ex[A]

Bit-wise OR

Bit-wise OR

def ||(that: Ex[A])(implicit num: NumBool[A]): Ex[A]

Logical OR

Logical OR

Deprecated methods

@deprecated("Use --> instead", since = "4.4.5")
def --->(that: Sink[A]): Unit
Deprecated
[Since version 4.4.5]