Find the center of a conic.

1 | ```
conicCenter(x)
``` |

`x` |
a 6-length vector or a symmetric 3x3 matrix |

The `conicCenter`

function calculates the coordinates of the center of
a conic specified by its coefficients or by its symmetric matrix.

A two-elements vector containing the coordinates of the center. If the conic has no center the function raises an error.

Bernard Desgraupes

bernard.desgraupes@u-paris10.fr

University of Paris Ouest - Nanterre

Lab Modal'X (EA 3454)

`conicAsymptotes`

,
`conicAxes`

,
`conicMatrix`

,
`conicPlot`

1 2 3 4 5 6 7 8 9 | ```
# Ellipse
# Equation: 2*x_1^2 + 2*x_1*x_2 + 2*x_2^2 - 20*x_1 - 28*x_2 + 10 = 0
v <- c(2,2,2,-20,-28,10)
conicCenter(v)
# Hyperbola
# Equation: 2*x_1^2 + 2*x_1*x_2 - 2*x_2^2 - 20*x_1 + 20*x_2 + 10 = 0
v <- c(2,2,-2,-20,20,10)
conicCenter(v)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.