math_polynom_round: round polynomials

View source: R/math.R

math_polynom_roundR Documentation

round polynomials

Description

The polynomial will be rounded according to round_digits.

Usage

math_polynom_round(poly, round_digits = 9)

Arguments

poly

polynomial character string

round_digits

the number of digit used to round the polynomial coefficients

Value

polynomial

Author(s)

Florian Wagner florian.wagner@wagnius.ch

Examples

"-x^5+0.0000000001*x^3+0.9999999999*x^2+x-0.2"|>math_polynom_round()
"0.1*x^5+0.0000000001*x^3+0.9999999999*x^2+x-0.2"|>math_polynom_round()

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