implicitization {qspray}R Documentation

Implicitization with Gröbner bases

Description

Implicitization of a system of parametric equations (see examples).

Usage

implicitization(nvariables, parameters, equations, relations)

Arguments

nvariables

number of variables

parameters

character vector of the names of the parameters, or NULL if there's no parameter

equations

list of qspray polynomials representing the parametric equations

relations

list of qspray polynomials representing the relations between the variables and the parameters, or NULL if there is none

Value

A list of qspray polynomials.

Examples

library(qspray)
# ellipse example ####
# variables 
cost <- qlone(1)
sint <- qlone(2)
# parameters
a <- qlone(3)
b <- qlone(4)
#
nvariables <- 2
parameters <- c("a", "b")
equations <- list(
  "x" = a * cost,
  "y" = b * sint
)
relations <- list(
  cost^2 + sint^2 - 1
)
# 
eqs <- implicitization(nvariables, parameters, equations, relations)

[Package qspray version 3.0.0 Index]