"James Stroud" wrote:
> James Stroud wrote:
> [pointless stuff]
>
> OK. Nevermind. I'm rebinding encodings and so taking a sample from the
> sample and thus getting the sample back. Terribly sorry.
There is truly nothing to be sorry about.
It takes guts to come right out and say that you made
Hi James
Mathematica says that the determinant of the integer version of this
matrix is 2774532096, which is another vote for the answer you have.
Mathematica says that the determinant of the 24-digit real version of
your matrix is 2.774532096*10^9, which looks very similar to me.
I'd go
James Stroud wrote:
> If I run it again on 10 (or 1000) the set is basically homogenous
> but now of different values (terribly confusing):
>
> set([12048175104.1, 12048175104.15, 12048175104.46,
> 12048175103.94, 12048175104.23, 12048175103.81,
> 12048175103.98, 12048
James Stroud wrote:
[pointless stuff]
OK. Nevermind. I'm rebinding encodings and so taking a sample from the
sample and thus getting the sample back. Terribly sorry.
James
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
[Valuable Response]
Thank you Steven for your helpful comments. Please see my reply to
Bjoern Schliessmann where I have restated my problem.
James
--
http://mail.python.org/mailman/listinfo/python-list
for a lot of trials.
2. encodings is a complete list equivalent encodings of word.
3. distmat is a representation of the distances between the sample as
integers for purposes of calculating the "content" of the hyperspace
defined by this pairwise distance matrix (Cayley-Menger det
ut I have a feeling I'm exceeding the capacity of floats here. Does
> anyone have an idea for how to treat this? Is it absurd to think I could
> get a determinant of this matrix? Is there a python package that could
> help me?
Is there a particular reason you think there is a pr
sely. E. g. what
precision do you need?
> Is it absurd to think I could get a determinant of this matrix?
Absolutely not.
> Is there a python package that could help me?
Help doing what?
BTW, scilab says this:
-->det(A)
ans =
2.774532096E+09
-->ans-2774532
oats here. Does
> anyone have an idea for how to treat this? Is it absurd to think I could
> get a determinant of this matrix? Is there a python package that could
> help me?
Here's some anecdotal evidence that your result may be correct:
import operator
m = eval("""
eding the capacity of floats here.
It's not that you're exceeding the capacity of float64 numbers, it's just that
there are floating point calculations taking place. The way the determinant is
calculated is by doing an LU decomposition and then multiplying down the
diagonal. Although
> anyone have an idea for how to treat this? Is it absurd to think I could
> get a determinant of this matrix? Is there a python package that could
> help me?
>
> Many thanks for any answers.
>
> James
in order to verify that this result is correct, you could get the
eig
9. 4. 1. 9. 1. 4. 1. 9. 4. 4. 1. 1. 0.]]
>
> > For this matrix, I'm getting this with numpy:
>
> > 2774532095.971
>
> > But I have a feeling I'm exceeding the capacity of floats here. Does
> > anyone have an idea for how to treat
xceeding the capacity of floats here. Does
> anyone have an idea for how to treat this? Is it absurd to think I could
> get a determinant of this matrix? Is there a python package that could
> help me?
>
> Many thanks for any answers.
>
> James
have you tried using matlab
feeling I'm exceeding the capacity of floats here. Does
> anyone have an idea for how to treat this? Is it absurd to think I
> could
> get a determinant of this matrix? Is there a python package that could
> help me?
>
> Many thanks for any answers.
>
> James
> --
&g
1. 9. 1. 4. 1. 9. 4. 4. 1. 1. 0.]]
For this matrix, I'm getting this with numpy:
2774532095.971
But I have a feeling I'm exceeding the capacity of floats here. Does
anyone have an idea for how to treat this? Is it absurd to think I could
get a determinant of this mat
[Tuvas]
> I am trying to find a nice function that quickly determines the
> determanant in python. Anyone have any recommendations? I've heard
> about numpy, but I can't get it to work (It doesn't seem to like the
> import Matrix statement...). Thanks!
http://aspn.activestate.com/ASPN/Cookbook/Pyt
Never mind, I realized I was using a bit of code way too old. I just
needed to change the import statements to:
import numpy.matrix
import numpy.linalg
Thanks for the help!
--
http://mail.python.org/mailman/listinfo/python-list
I am using Windows, using Python 2.4. Perhaps I just did the import
statement wrong? I've never installed a library in Windows before,
perhaps I did something wrong there too.. But anyways, it just doesn't
seem to work. The import statements were:
import Matrix, LinearAlgebra
Neither seem to work
Tuvas wrote:
> I am trying to find a nice function that quickly determines the
> determanant in python. Anyone have any recommendations? I've heard
> about numpy, but I can't get it to work (It doesn't seem to like the
> import Matrix statement...). Thanks!
That's a new one on me. Have you tried t
I am trying to find a nice function that quickly determines the
determanant in python. Anyone have any recommendations? I've heard
about numpy, but I can't get it to work (It doesn't seem to like the
import Matrix statement...). Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo