HWindowType
A window type representation.
Supports Blackman
, Blackman2
, BlackmanHarris
, BlackmanHarris2
, Hann
and Hann2
types.
Methods
print()
source
Prints the HWindowType
.
Differently from R’s behaviour, print
doesn’t return the value invisibly.
Examples
library(harmonium)
= HWindowType$Blackman
windowtype $print()
windowtype
# or similarly:
print(windowtype)
eq
eq(other: HWindowType) -> bool
source
Equality with another HWindowType
.
Arguments
other
An HWindowType
.
Returns
A bool
.
Examples
library(harmonium)
= HWindowType$Blackman
windowtype1 = HWindowType$Blackman
windowtype2 $eq(windowtype2) # TRUE
windowtype1
# or similarly:
== windowtype2 windowtype1
ne
ne(other: HWindowType) -> bool
source
Difference with another HWindowType
.
Arguments
other
An HWindowType
.
Returns
A bool
.
Examples
library(harmonium)
= HWindowType$Blackman
windowtype1 = HWindowType$Blackman
windowtype2 $ne(windowtype2) # FALSE
windowtype1
# or similarly:
!= windowtype2 windowtype1