trait LerpInv[A] extends Lerp[A]
LerpInv includes the ability to convert/lookup a specific type A
value for a interpolation ratio with ratioOf
- Source
- lerp.scala
- Alphabetic
- By Inheritance
- LerpInv
- Lerp
- AnyRef
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def -->[B](range: Lerp[B]): Quantitative[A, B]
- def -->[B](range: LerpInv[B]): QuantitativeInv[A, B]
- def ->[B](y: B): (LerpInv[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyIf(t: Boolean, f: (LerpInv[A]) => LerpInv[A]): LerpInv[A]
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (LerpInv[A]) => Boolean)(f: (LerpInv[A]) => LerpInv[A]): LerpInv[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contains(a: A): Boolean
- def elementOf(xs: Set[LerpInv[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def end: A
alias for max
alias for max
- Definition Classes
- Lerp
- def ensuring(cond: (LerpInv[A]) => Boolean, msg: => Any): LerpInv[A]
- def ensuring(cond: (LerpInv[A]) => Boolean): LerpInv[A]
- def ensuring(cond: Boolean, msg: => Any): LerpInv[A]
- def ensuring(cond: Boolean): LerpInv[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logTicks(n: Int, base: Double = 10)(implicit t: Tickable[A]): Iterable[A]
- def max: A
- Definition Classes
- Lerp
- def mid: A
convenience of the mid value
convenience of the mid value
- Definition Classes
- Lerp
- def min: A
- Definition Classes
- Lerp
- def mobius(x: A): A
modulus in a wrapping fashion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (LerpInv[A]) => Boolean): Option[LerpInv[A]]
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def normal(implicit rand: Rand): A
- Definition Classes
- Lerp
- def normalize(xs: Iterable[A]): Iterable[Double]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (LerpInv[A]) => Boolean): Option[LerpInv[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (LerpInv[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def pulse(period: Time): A
- Definition Classes
- Lerp
- def ramp(t: Time)(implicit t0: Date): A
- Definition Classes
- Lerp
- def sideEffect(f: (LerpInv[A]) => Unit): LerpInv[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (LerpInv[A]) => Boolean): Option[LerpInv[A]]
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def start: A
alias for min
alias for min
- Definition Classes
- Lerp
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take(n: Int): Iterable[A]
- Definition Classes
- Lerp
- val thisAny: LerpInv[A]
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ticks(n: Int)(implicit t: Tickable[A]): Iterable[A]
- def ticksOn(path: Segment)(implicit t: Tickable[A]): Iterable[Text]
auto select tick count based on segment length
- def ticksOn(path: Lerp[Vec], n: Int)(implicit t: Tickable[A]): Iterable[Text]
- final def ticksWithFormat(n: Int)(implicit t: Tickable[A], f: Format[A]): Iterable[(A, String)]
- def till(maxArg: LerpInv[A]): Bound[LerpInv[A]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toBound(implicit b: Boundable[A]): Bound[A]
- Definition Classes
- Lerp
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uniform(implicit rand: Rand): A
- Definition Classes
- Lerp
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zip[B](xs: Iterable[B]): Iterable[(A, B)]
- Definition Classes
- Lerp
Deprecated Value Members
- def ?>(f: (LerpInv[A]) => Boolean): Option[LerpInv[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def mean: A
- Definition Classes
- Lerp
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
mid
instead since 0.5 may not be the mean
- def steps(N: Int): Seq[A]
- Definition Classes
- Lerp
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.4) use take(N:Int) for a more scala semantic
- def |>[B](f: (LerpInv[A]) => B): B
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toDrxAny[LerpInv[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (LerpInv[A], B)
- Implicit
- This member is added by an implicit conversion from LerpInv[A] toArrowAssoc[LerpInv[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.