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]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!