isPolynomial: Whether a 'ratioOfQsprays' is polynomial

View source: R/queries.R

isPolynomialR Documentation

Whether a 'ratioOfQsprays' is polynomial

Description

Checks whether a ratioOfQsprays actually is polynomial, that is, whether its denominator is a constant qspray polynomial (and then it should be equal to one).

Usage

isPolynomial(roq)

Arguments

roq

a ratioOfQsprays object

Value

A Boolean value.

Examples

x <- qlone(1)
y <- qlone(2)
roq <- (x^2 - y^2) / (x - y)
isPolynomial(roq)
roq == x + y

ratioOfQsprays documentation built on Sept. 11, 2024, 8:45 p.m.