Thx, Andreas ,
it is for developers ...,
A=rand(100,100)
R = convert (Matrix {BigFloat}, cor (A))
m,v=eig(R)
ERROR: no method eigfact!(Array{Any,1}, Array{BigFloat,2})
in eigfact at linalg/factorization.jl:669
in eig at linalg/factorization.jl:673
W dniu 2014-04-07 18:10, Andreas Noack Jensen pisze:
That is not possible yet.
Please copy and paste the commands and errors from the terminal. It
makes it easier to figure out what is wrong.
2014-04-07 18:03 GMT+02:00 paul analyst <[email protected]
<mailto:[email protected]>>:
Friends , case back:
R = convert (Matrix {BigFloat}, cor (A))
Ok, I have an array. Now I have carefully calculated in advance
eigenvectors:
(m, v) = e and g (R).
ERROR: No methods. :/
How to calculate these vectors with high precision?
Paul
W dniu sobota, 4 stycznia 2014 10:15:34 UTC+1 użytkownik Ivar
Nesje napisał:
Why do you want a BigFloat matrix?
I am not saying it is not usefull, but in the examples here,
you do the calculation first and then the conversion. Also
when dealing with BigFloat it is important that you do not
initialize them with with Float64 values that are not exactly
what you want them to be, because lots of base 10 fractions
are not represetable as a base 2 fraction.
julia> BigFloat(0.1)
1.000000000000000055511151231257827021181583404541015625e-01
with 256 bits of precision
julia> BigFloat("0.1")
1.000000000000000000000000000000000000000000000000000000000000000000000000000002e-01
with 256 bits of precision
The better option is to initialize with a string.
kl. 10:04:54 UTC+1 lørdag 4. januar 2014 skrev Andreas Noack
Jensen følgende:
convert(Matrix{BigFloat},cor(A))
2014/1/4 paul analyst <[email protected]>
How to create a correlation matrix (each other) with
precision Big Float
r = BigFloat (cor (A))
does not work ...
Paul
--
Med venlig hilsen
Andreas Noack Jensen
--
Med venlig hilsen
Andreas Noack Jensen