calc_it | R Documentation |
Berechntet die Funktionswerte eines Polynoms für gegebenen Vektor.
calc_it(seeds, poly, poly_, poly_roots, c_calculation_depth, digits)
seeds |
complex vector |
poly |
numeric vector # polynom coefficients |
poly_ |
numeric vector # derivative coefficients of the polynom => deriv(poly) |
poly_roots |
complex roots vector # roots of the polynom => solve(poly) |
c_calculation_depth |
#how many iterrations steps (depth of calculation) |
digits |
how many decimal digit till calculation stop |
polynom <-polynom::polynomial(coef = c(-0.2,-1,1,0,0,1))
roots <- solve(polynom)
seeds <- expand.grid(seq(-2,2, length.out = 200),seq(-2,2, length.out = 200))
seeds <- complex(real = seeds$Var1, imaginary = seeds$Var2)
calc_it(seeds, polynom, deriv(polynom), roots,100,6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.