quadraticFormToMatrix: Transformation of the quadratic conic representation into the...

View source: R/quadraticFormToMatrix.R

quadraticFormToMatrixR Documentation

Transformation of the quadratic conic representation into the matrix representation.

Description

Transformation of the quadratic conic representation into the matrix representation.

Usage

quadraticFormToMatrix(v)

Arguments

v

a (6 \times 1) vector of the parameters (a, b, c, d, e, f) of the quadratic form ax^2 + bxy + cy^2 + dxz + eyz + fz^2 = 0.

Value

A (3 \times 3) matrix representation of the conic (symmetric matrix).

Examples

v <- c(2,2,-2,-20,20,10)
quadraticFormToMatrix(v)

RConics documentation built on March 18, 2022, 5:33 p.m.