| mpoles {gsignal} | R Documentation | 
Multiplicity of poles
Description
Identify unique poles and their associated multiplicity.
Usage
mpoles(p, tol = 0.001, reorder = TRUE, index.return = FALSE)
Arguments
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:   | 
Value
If index.return = TRUE, a list consisting of two vectors:
- m
 vector specifying the multiplicity of the poles
- n
 index
If index.return = FALSE, only m is returned (as a vector).
Author(s)
Ben Abbott, bpabbott@mac.com.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com
See Also
Examples
p <- c(2, 3, 1, 1, 2)
ret <- mpoles(p, index = TRUE)
[Package gsignal version 0.3-5 Index]