collinearQsprays function

Whether two 'qspray' polynomials are collinear

Whether two 'qspray' polynomials are collinear

Checks whether the polynomials represented by two qspray

objects are collinear, that is, whether they are equal up to a scalar factor.

collinearQsprays(qspray1, qspray2)

Arguments

  • qspray1, qspray2: two qspray objects

Returns

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)
  • Maintainer: Stéphane Laurent
  • License: GPL-3
  • Last published: 2024-07-27