Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


RConics (version 1.1.2)

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

Description

Transformation of the quadratic conic representation into the matrix representation.

Usage

quadraticFormToMatrix(v)

Value

A (3×3) matrix representation of the conic (symmetric matrix).

Arguments

v

a (6×1) vector of the parameters (a,b,c,d,e,f) of the quadratic form ax2+bxy+cy2+dxz+eyz+fz2=0.

Examples

Run this code
v <- c(2,2,-2,-20,20,10)
quadraticFormToMatrix(v)

Run the code above in your browser using DataLab