Packages

object B_Spline

Companion object for B_Spline class provides functions for clamping the the ends of a spline and running timing benchmarks.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. B_Spline
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def benchmark[R](reps: Int = 100, useSeconds: Boolean = false, title: String = "benchmark")(block: ⇒ R): R

    Gather timing statistics for repeated executions of a block, prints the statistics, and returns the value produced by the block.

    Gather timing statistics for repeated executions of a block, prints the statistics, and returns the value produced by the block.

    R

    result type of block

    reps

    number of replications

    useSeconds

    record time as seconds instead of milliseconds (default = false)

    title

    title for statistic

    block

    block of code to execute

  6. def benchmarked[R](reps: Int = 100, useSeconds: Boolean = false, title: String = "benchmark")(block: ⇒ R): (R, Statistic)

    Gather timing statistics for repeated executions of a block and returns a tuple containing the return value produced by the block and the Statistic instance used to gather the statistics.

    Gather timing statistics for repeated executions of a block and returns a tuple containing the return value produced by the block and the Statistic instance used to gather the statistics.

    R

    result type of block

    reps

    number of replications

    useSeconds

    record time as seconds instead of milliseconds (default = false)

    title

    title for statistic

    block

    block of code to execute

  7. def clamp(m: Int, t: VectoD, isInclusive: Boolean = true): VectorD

    Return a "clamped" version of the input vector, augmented to ensure that each end has m-many repeated points.

    Return a "clamped" version of the input vector, augmented to ensure that each end has m-many repeated points. If isInclusive is true, then the first and last values of the vector are repeated; otherwise, the values t(0)-sqrt(EPSILON) and t(t.dim-1)+sqrt(EPSILON) are repeated for the beginning and end, respectively.

    m

    intended B-spline order (degree = m - 1)

    t

    non-decreasing vector of time points

    isInclusive

    repeat end points (default = true)

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped