Description Usage Arguments Value Examples
Evaluates the Weierstrass Function
1 | weierstrass(x, a = 0.5, b = 15, eps = 0.01, max = 100)
|
x |
value in which in function should be evaluated. Can be an integer, double or vector. |
a |
parameter of the function. Must be positive and smaller than 1. Defaults to .5. |
b |
parameter of the function. Must be positive and odd. Defaults to 5. For convergence it is necessary that ab be larger than (1 + (3/2)pi). |
eps |
parameter for convergence of the calculation. Series is evaluated up until the marginal value is smaller than eps. Defaults to .001. |
max |
parameter for convergence of the calculation. Maximum number of iterations. Defaults to 100. |
Output of the Weierstrass Function
1 2 | a <- seq(1, 100)
weierstrass(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.