collinearQsprays {qspray}R Documentation

Whether two 'qspray' polynomials are collinear

Description

Checks whether the polynomials represented by two qspray objects are collinear, that is, whether they are equal up to a scalar factor.

Usage

collinearQsprays(qspray1, qspray2)

Arguments

qspray1, qspray2

two qspray objects

Value

A Boolean value.

Examples

library(qspray)
qspray1 <- qsprayMaker(string = "1/2 x^(1, 1) + 4 x^(0, 2) + 5")
qspray2 <- "4/7" * qspray1
collinearQsprays(qspray1, qspray2)

[Package qspray version 3.0.0 Index]