implicitization {qspray} | R Documentation |
Implicitization with Gröbner bases
Description
Implicitization of a system of parametric equations (see example).
Usage
implicitization(nvariables, parameters, equations, relations)
Arguments
nvariables |
number of variables |
parameters |
character vector of the names of the parameters, or
|
equations |
named list of |
relations |
list of |
Value
A list of qspray
polynomials.
Examples
library(qspray)
# ellipse example ####
# variables
cost <- qlone(1)
sint <- qlone(2)
nvariables <- 2
# parameters
a <- qlone(3)
b <- qlone(4)
parameters <- c("a", "b")
#
equations <- list(
"x" = a * cost,
"y" = b * sint
)
relations <- list(
cost^2 + sint^2 - 1
)
#
implicitization(nvariables, parameters, equations, relations)
[Package qspray version 3.1.0 Index]