Skip to main content
Log in

Mojo struct

Interpolator

@register_passable(trivial) struct Interpolator[mode: InterpolationMode]

Fields

  • cubic_coeff (SIMD[float32, 1]):

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility

Methods

__init__

@implicit __init__(cubic_coeff: SIMD[float32, 1]) -> Self

__init__() -> Self

filter_length

static filter_length() -> Int

filter

filter(self, x: SIMD[float32, 1]) -> SIMD[float32, 1]