kimesurface_transform {TCIU} | R Documentation |
kimesurface transform on a function with a specified set of complex values
Description
a function applies the kimesurface transform on a function with a specified set of complex values
Usage
kimesurface_transform(
FUNCT,
glb_para,
real_x,
img_y,
parallel_computing = FALSE,
ncor = 6
)
Arguments
FUNCT |
function object f(t) to conduct kimesurface transform on |
glb_para |
a vector of global objections that needed to be imported when using parallel computing |
real_x |
a list of numeric values, which is the real part of a set of complex values |
img_y |
a list of numeric values, which is the imaginary part of the set of complex values stated above |
parallel_computing |
logical object to determine whether to use parallel computing to speed up the function or not. The default is FALSE. |
ncor |
number of cores for parallel computing. The default is 6. |
Details
This function applies the kimesurface transform on a 1D function f(t), to have it converted to a 2D function. The input is a set of complex values with the same number of real and imaginary parts. These two parts can specify a 2D plane of the same length and width. The new 2D function is defined on this 2D plane. It mainly does a Laplace Transform and modifies all the function values in a specific way to have them looks better in the plot.
Value
a 2d array that did kimesurface transform for the set of complex value (the real and imaginary parts can construct a 2d plane)
Author(s)
SOCR team <http://socr.umich.edu/people/>
Examples
# drop the first row and first column because of divergence on Laplace Transform
# do kimesurface transform on sine function
x = seq(0, 2, length.out=50)[2:50]; y = seq(0, 2, length.out=50)[2:50];
kimesurface_transform(FUNCT = function(t) {sin(t)}, real_x = x, img_y = y);