Description Usage Arguments Value Author(s) Examples
While poly4root
computes the (real-valued) roots of a polynomial of fourth degree, poly4rootMat
can
be applied to several polynomials of fourh degree at once by assuming that each row the input matrix contains the
coefficients for one of the polynomials.
1 2 3 | poly4root(a)
poly4rootMat(amat)
|
a |
a numeric vector of length five specifying the coefficients of the polynomial |
amat |
a numeric matrix with five columns in which each row contains the five coefficients of a polynomial of fourth degree. |
For poly4root
, a vector containing the real-valued roots of the polynomial. For poly4rootMat
,
a matrix with four columns in which each row contains the real-valued roots of the corresponding polynomial. If
a polynomial has less than four real-valued roots, the remaining entries in the corresponding row are set to NA
.
Holger Schwender, holger.schwender@udo.edu
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.