Conic

Conic sections are the sets of points whose coordinates satisfy a second-degree polynomial equation Q left parenthesis x comma y right parenthesis equals A x squared plus B x y plus C y squared plus D x plus E y plus F equals 0. This quadratic equation can be written as bold italic x to the power of T A bold italic x equals 0, where, bold italic x space equals space open parentheses table row x row y row 1 end table close parentheses space and space A space equals space open parentheses table row A cell B divided by 2 end cell cell D divided by 2 end cell row cell B divided by 2 end cell C cell E divided by 2 end cell row cell D divided by 2 end cell cell E divided by 2 end cell F end table close parentheses

conic(Matrix)

Given the conic matrix as specified above, returns the equation of the conic.

conic(Polynomial)

Given the polynomial describing the conic, construct the conic defined by such equation.

conic(Point, Point, Point, Point, Point)

Given five points, constructs the conic that goes through all of them.