functionspliceCosN
Smoothing algorithm using the cos^N function
Extends from TRANSFORM.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pos | Returned value for >x+deltax/2 | |
| Real | neg | Returned value for <x-deltax/2 | |
| Real | x | Value of interest (i.e. x - x_t) | |
| Real | deltax | 1 | Transition width |
| Integer | n | 2 | (n-1)th order continuous |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y |