HResamplerType
A resampler type representation.
Supports FftFixedIn
, FftFixedInOut
, FftFixedOut
, SincFixedIn
, SincFixedOut
, FastFixedIn
and FastFixedOut
types.
Methods
print()
source
Prints the HResamplerType
.
Differently from R’s behaviour, print
doesn’t return the value invisibly.
Examples
library(harmonium)
= HResamplerType$SincFixedIn
hresamplertype $print()
hresamplertype
# or similarly:
print(hresamplertype)
eq
eq(other: HResamplerType) -> bool
source
Equality with another HResamplerType
.
Arguments
other
An HResamplerType
.
Returns
A bool
.
Examples
library(harmonium)
= HResamplerType$SincFixedIn
hresamplertype1 = HResamplerType$SincFixedIn
hresamplertype2 $eq(hresamplertype2) # TRUE
hresamplertype1
# or similarly:
== hresamplertype2 hresamplertype1
ne
ne(other: HResamplerType) -> bool
source
Difference with another HResamplerType
.
Arguments
other
An HResamplerType
.
Returns
A bool
.
Examples
library(harmonium)
= HResamplerType$SincFixedIn
hresamplertype1 = HResamplerType$SincFixedIn
hresamplertype2 $ne(hresamplertype2) # FALSE
hresamplertype1
# or similarly:
!= hresamplertype2 hresamplertype1