final class GEOps2 extends AnyVal
GEOps2 are operations for graph elements (GE). Instead of having these operations directly defined
in each element, which is a huge list, they appear here as extension methods. GEOps1 are unary
operators, whereas GEOps2 are binary and n-ary operators.
- Alphabetic
- By Inheritance
- GEOps2
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def %(b: GE): GE
- def &(b: GE): GE
- def *(b: GE): GE
- def +(b: GE): GE
- def -(b: GE): GE
- def /(b: GE): GE
- def <(b: GE): GE
- def <=(b: GE): GE
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def >(b: GE): GE
- def >=(b: GE): GE
- def ^(b: GE): GE
- def absDif(b: GE): GE
- def amClip(b: GE): GE
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def atan2(b: GE): GE
- def clip(low: GE = 0.0, high: GE = 1.0): GE
- def clip2(b: GE): GE
-
def
complex: GEComplexOps
Enables operators for an assumed complex signal.
- def difSqr(b: GE): GE
- def excess(b: GE): GE
- def expExp(inLow: GE, inHigh: GE, outLow: GE, outHigh: GE): GE
- def expLin(inLow: GE, inHigh: GE, outLow: GE, outHigh: GE): GE
- def fold(low: GE = 0.0, high: GE = 1.0): GE
- def fold2(b: GE): GE
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def hypot(b: GE): GE
- def hypotApx(b: GE): GE
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def linExp(inLow: GE, inHigh: GE, outLow: GE, outHigh: GE): GE
- def linLin(inLow: GE, inHigh: GE, outLow: GE, outHigh: GE): GE
-
def
matchLen(b: GE): GE
Truncates or extends the first operand to match the length of
b.Truncates or extends the first operand to match the length of
b. This uses theSecondArgoperator with operands reversed. - def max(b: GE): GE
- def min(b: GE): GE
-
def
poll(trig: GE = 5000, label: Optional[String] = None): Poll
Polls the output values of this graph element, and prints the result to the console.
Polls the output values of this graph element, and prints the result to the console. This is a convenient method for wrapping this graph element in a
PollUGen.- trig
a signal to trigger the printing. If this is a constant, it is interpreted as a period and a
Metrogenerator with this period is used.- label
a string to print along with the values, in order to identify different polls. Using the special label
"#auto"(default) will generated automatic useful labels using information from the polled graph element
- See also
- def poll: Poll
-
def
pow(b: GE): GE
Warning: Unlike a normal power operation, the signum of the left operand is always preserved.
Warning: Unlike a normal power operation, the signum of the left operand is always preserved. I.e.
DC.kr(-0.5).pow(2)will not output0.25but-0.25. This is to avoid problems with floating point noise and negative input numbers, soDC.kr(-0.5).pow(2.001)does not result in aNaN, for example. - def ring1(b: GE): GE
- def ring2(b: GE): GE
- def ring3(b: GE): GE
- def ring4(b: GE): GE
- def roundTo(b: GE): GE
- def roundUpTo(b: GE): GE
- def scaleNeg(b: GE): GE
- def sig_!=(b: GE): GE
- def sig_==(b: GE): GE
- def sqrDif(b: GE): GE
- def sqrSum(b: GE): GE
- def sumSqr(b: GE): GE
- val this: GE
- def thresh(b: GE): GE
-
def
toString(): String
- Definition Classes
- Any
- def trunc(b: GE): GE
- def wrap(low: GE = 0.0, high: GE = 1.0): GE
- def wrap2(b: GE): GE
- def |(b: GE): GE