EllipseFromCenterAndMatrix: Ellipse from center and matrix

View source: R/Ellipse.R

EllipseFromCenterAndMatrixR Documentation

Ellipse from center and matrix

Description

Returns the ellipse of equation t(X-center) %*% S %*% (X-center) = 1.

Usage

EllipseFromCenterAndMatrix(center, S)

Arguments

center

a point, the center of the ellipse

S

a positive symmetric matrix

Value

An Ellipse object.

Examples

ell <- Ellipse$new(c(2,3), 4, 2, 20)
S <- ell$matrix()
EllipseFromCenterAndMatrix(ell$center, S)

PlaneGeometry documentation built on Aug. 10, 2023, 1:09 a.m.