calc_it_V3: calc_it_V3

View source: R/RcppExports.R

calc_it_V3R Documentation

calc_it_V3

Description

Berechntet die Funktionswerte eines Polynoms für gegebenen Vektor.

Usage

calc_it_V3(seeds,poly_roots,c_calculation_depth,digits)

Arguments

seeds

complex vector

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

Examples

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_V3(seeds, roots, 100,6)

wagnius-GmbH/slvwagner documentation built on Jan. 19, 2025, 7:10 a.m.