mpoles | R Documentation |
Identify unique poles and their associated multiplicity.
mpoles(p, tol = 0.001, reorder = TRUE, index.return = FALSE)
p |
vector of poles. |
tol |
tolerance. If the relative difference of two poles is less than
|
reorder |
logical. If |
index.return |
logical indicating if index vector should be returned as
well. See examples. Default: |
If index.return = TRUE
, a list consisting of two vectors:
vector specifying the multiplicity of the poles
index
If index.return = FALSE
, only m
is returned (as a vector).
Ben Abbott, bpabbott@mac.com.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com
poly
, residue
p <- c(2, 3, 1, 1, 2)
ret <- mpoles(p, index = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.