rqf.m

버전 1.0.0.0 (960 Bytes) 작성자: David Terr
Reduce a binary quadratic form, given as a row vector of length 3.
다운로드 수: 1.9K
업데이트 날짜: 2004/12/27

라이선스 없음

This function reduces a binary quadratic form, given as a row vector of length 3. An imaginary (positive definite) binary quadratic form

F(X,Y) = a X^2 + b X Y + c Y^2,

represented as [a b c], is reduced if |b| <= a <= c and b is nonnegative if a=|b| or a=c. A real binary quadratic
form of the same form is reduced
if abs(sqrt(D)-2*abs(c))<b<sqrt(D),
where D = b^2 - 4*a*c is the discriminant.

The output of this function is two
cells, the first the reduced
form and the second the linear
transformation from the original
form to the reduced form, represented
as a 2*2 matrix.

인용 양식

David Terr (2024). rqf.m (https://www.mathworks.com/matlabcentral/fileexchange/6323-rqf-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

I changed the name from riqf.m to
rqf.m, added some text to the
description, and fixed a bug in the
output of the second cell in the
real case.