Re: [R] Roots of quadratic system.

From: John Janmaat <john.janmaat_at_acadiau.ca>
Date: Mon 02 May 2005 - 08:17:45 EST

Kjetil Brinchmann Halvorsen wrote:

> John Janmaat wrote:
> 

>> Hello,
>>
>> I have a system of quadratic equations (results of a Hamiltonian
>> optimization)
>> which I need to find the roots for. Is there a package and/or
>> function which
>> will find the roots for a quadratic system?
> 
> Certainly you cxould use solve, see
> ?solve
> Alternatively you could go for a computer algebra system with an 
> implemantation
> of groebner basis, and use an symbolic method.

I have looked into using solve. However, solve works on a system of linear equations (at least that is how I read it). I have a system of quadratic equations. They can be written to equate to zero, so that a non-linear system solver should do the trick.

John.

> Kjetil
> 

>> Note that I am not opimizing, but
>> rather solving the first order conditions which come from a
>> Hamiltonian. I am
>> basically looking for something in R that will do the same thing as
>> fsolve in
>> Matlab.
>>
>> Thanks,
>>
>> John.
>>
>> ==============================================
>> Dr. John Janmaat
>> Department of Economics
>> Acadia University
>> Tel: 902-585-1461
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
>>
>>
>>
>>
>
>
-- 
==========================================
Dr. John Janmaat
Department of Economics
Acadia University
Wolfville, Nova Scotia, Canada.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon May 02 21:50:10 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:31 EST