Sliding

object Sliding extends SlidingPlatform

Sliding overlapping window.

class Object
trait Matchable
class Any
Sliding.type

Type members

Classlikes

abstract class Logic[A](shape: Shp[A], layer: Layer)(implicit a: Allocator, tpe: DataType[A]) extends Handlers[Shp[A]]
abstract class Window[A](val size0: Int, val dispose: () => Unit)
final class WindowD(buf: DoubleBuffer, size0: Int, dispose: () => Unit) extends Window[Double]
final class WindowI(buf: IntBuffer, size0: Int, dispose: () => Unit) extends Window[Int]
final class WindowL(buf: LongBuffer, size0: Int, dispose: () => Unit) extends Window[Long]

Inherited classlikes

final protected class LogicD(shape: Shp[Double], layer: Layer)(implicit a: Allocator) extends Logic[Double] with LogicPlatform[Double]
Inherited from:
SlidingPlatform
final protected class LogicI(shape: Shp[Int], layer: Layer)(implicit a: Allocator) extends Logic[Int] with LogicPlatform[Int]
Inherited from:
SlidingPlatform
final protected class LogicL(shape: Shp[Long], layer: Layer)(implicit a: Allocator) extends Logic[Long] with LogicPlatform[Long]
Inherited from:
SlidingPlatform
protected trait LogicPlatform[A]
Inherited from:
SlidingPlatform

Types

type Shp[A] = FanInShape3[E[A], I, I, E[A]]

Value members

Concrete methods

def apply[A](in: Out[A], size: OutI, step: OutI)(implicit b: Builder, tpe: DataType[A]): Out[A]
Value parameters:
in

the signal to window

size

the window size. this is clipped to be <= 1

step

the step size. this is clipped to be <= 1. If step size is larger than window size, frames in the input are skipped.