Skip to content
Structs

struct Oversampling

Traits: AnyType, Copyable, Movable, Representable, UnknownDestructibility

Oversampling Parameters

Name Type Description
N Int
times_oversampling Int

Oversampling Functions

struct Oversampling . fn init

fn init Signature

__init__(out self, world: UnsafePointer[MMMWorld])

fn init Arguments

Name Type Default Description
world UnsafePointer

fn init Returns : Self

Static Method

This is a static method.

struct Oversampling . fn add_sample

Add a sample to the oversampling buffer.

fn add_sample Signature

add_sample(mut self, sample: SIMD[DType.float64, N])

fn add_sample Arguments

Name Type Default Description
sample SIMD

struct Oversampling . fn get_sample

get the next sample from a filled oversampling buffer.

fn get_sample Signature

get_sample(mut self) -> SIMD[DType.float64, N]

fn get_sample Returns : SIMD


Documentation generated with mojo doc from Mojo version 0.25.6.1