powered by
These functions add additional representations to a fftab object without removing or modifying existing representations.
fftab
add_cplx(x)add_rect(x)add_polr(x)
add_rect(x)
add_polr(x)
A fftab object with the additional representation included.
A fftab object containing Fourier coefficients and associated metadata.
add_cplx(): Adds a complex ("cplx") representation to the Fourier coefficients.
add_cplx()
"cplx"
add_rect(): Adds a rectangular ("rect") representation to the Fourier coefficients.
add_rect()
"rect"
add_polr(): Adds a polar ("polr") representation to the Fourier coefficients.
add_polr()
"polr"
These functions are useful for working with multiple representations simultaneously without overwriting existing data.
fftab()
matrix(1:9, 3) |> fftab() |> print(n = 3) |> add_polr() |> print(n = 3) |> add_rect() |> print(n = 3) |> add_cplx() |> print(n = 3)
Run the code above in your browser using DataLab