Displaying 4 results from an estimated 4 matches for "sqrtm".
Did you mean:
sqrt
2009 Nov 23
1
R: Re: chol( neg.def.matrix ) WAS: Re: Choleski and Choleski with pivoting of matrix fails
...the square root I get is not valid. I also tried eigen
>>> decomposition but i did no get far.
>>>
>>> Any clue on how to do it?!
>>
>>
>> If you want to take the square root of a negative definite matrix, you
>> could use
>>
>> sqrtm( neg.def.mat )
>>
>> from the expm package on rforge:
>>
>> http://r-forge.r-project.org/projects/expm/
>
>But that matrix is not negative definite! It has 2 positive and one
>negative eigenvalue. It is non-positive definite.
>
>It is fairly easy in any...
2009 Nov 25
1
R: Re: R: Re: chol( neg.def.matrix ) WAS: Re: Choleski and Choleski with pivoting of matrix fails
...en
>>>>> decomposition but i did no get far.
>>>>>
>>>>> Any clue on how to do it?!
>>>>
>>>> If you want to take the square root of a negative definite matrix, you
>>>> could use
>>>>
>>>> sqrtm( neg.def.mat )
>>>>
>>>> from the expm package on rforge:
>>>>
>>>> http://r-forge.r-project.org/projects/expm/
>>> But that matrix is not negative definite! It has 2 positive and one
>>> negative eigenvalue. It is non-positive...
2010 Apr 08
1
square root of inverse
Dear users,
How to get a symmetric square root of a positive definite matrix? I have
tried using spectral decomposition, but some eigen values come out to be
complex. Is there any function in R that can give the symmetric square root
of a pd matrix?
--
Arindam Fadikar
M.Stat
Indian Statistical Institute.
New Delhi, India
[[alternative HTML version deleted]]
2009 Nov 26
0
R: RE: R: Re: R: Re: chol( neg.def.matrix ) WAS: Re: Choleski and Choleski with pivoting of matrix fails
...position but i did no get far.
>>>>>>
>>>>>> Any clue on how to do it?!
>>>>>
>>>>> If you want to take the square root of a negative definite matrix,
you
>>>>> could use
>>>>>
>>>>> sqrtm( neg.def.mat )
>>>>>
>>>>> from the expm package on rforge:
>>>>>
>>>>> http://r-forge.r-project.org/projects/expm/
>>>> But that matrix is not negative definite! It has 2 positive and one
>>>> negative eigenva...