isPolynomial {ratioOfQsprays}R 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

[Package ratioOfQsprays version 1.1.0 Index]