wp | R Documentation |
Evaluation of the Weierstrass elliptic function and its derivatives.
wp(z, g = NULL, omega = NULL, tau = NULL, derivative = 0L)
z |
complex number, vector or matrix |
g |
the elliptic invariants, a vector of two complex numbers; only
one of |
omega |
the half-periods, a vector of two complex numbers; only
one of |
tau |
the half-periods ratio; supplying |
derivative |
differentiation order, an integer between 0 and 3 |
A complex number, vector or matrix.
omega1 <- 1.4 - 1i
omega2 <- 1.6 + 0.5i
omega <- c(omega1, omega2)
e1 <- wp(omega1, omega = omega)
e2 <- wp(omega2, omega = omega)
e3 <- wp(-omega1-omega2, omega = omega)
e1 + e2 + e3 # should be 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.