Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#76 2012-04-10 19:14:25

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Why do you do it then?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#77 2012-04-10 19:22:58

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Me Pappy used to tell me this, "do as I say, do not do as I do."


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#78 2012-04-10 19:24:56

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Oh really? You Pappy seems very wise. What 'bout your Mommy?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#79 2012-04-10 19:27:04

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

The funniest person that ever lived. A brilliant mathematician and chessplayer.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#80 2012-04-10 19:30:42

bob bundy
Moderator
Registered: 2010-06-20
Posts: 6,311

Re: PSLQ and LLL?

hi bobbym,

Congratulations on your 'promotion'.  I think it is an excellent move by MIF.  smile

Bob


You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei

Offline

#81 2012-04-10 19:32:08

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

So your parents are/were very smart. You must have taken after them.

I'm gonna log off now and will be back in about an hour or an hour and a half.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#82 2012-04-10 19:38:24

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Yes, my parents were brilliant people but they were the seed that landed on barren rock.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#83 2012-04-10 19:40:40

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

That is not true. Their seed has grown into a mighty oak.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#84 2012-04-10 19:42:43

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Nope, they did not make it. I wonder how many other people in the world have not made it due to not having a chance? What a waste.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#85 2012-04-10 21:07:20

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Their knowledge continues through you.You are their mighty oak.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#86 2012-04-10 22:53:49

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

An oak! Maybe a little bush or hedge.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#87 2012-04-10 23:15:41

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Yes,an oak!!!

Btw,I am really getting through with the first function which is the maker of the Identity Matrix.There is although a mistake and I don't know where.Could you check my code:

IdenMatrix (n, matrix):=
block( [i, j, a],
i: 1,
j: 1,
while i <= n do
  (
   while j <= n do
     (
      if i = j then
        a[i, j]: 1
      else
        a[i, j]: 0,
      i: i+1,
      j: j+1
     )
  ),
matrix:genmatrix(a, n, n)
);

And the output is:

                            [   1    a      a     ]
                            [         1, 2   1, 3 ]
                            [                     ]
(%o13)                      [ a        1    a     ]
                            [  2, 1          2, 3 ]
                            [                     ]
                            [ a      a        1   ]
                            [  3, 1   3, 2        ]

Last edited by anonimnystefy (2012-04-10 23:15:59)


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#88 2012-04-10 23:22:00

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Hi;

Good practice to code it for yourself. But I should have mentioned
that Maxima has a built in identity function.

identity(3) yields


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#89 2012-04-10 23:25:51

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

But why does it put a[i,j] whenever i<>j? I set it to 0 if i<>j.

And that function doesn't work for me.I will check '?? matrix' to see if there is a function for an identity matrix.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#90 2012-04-10 23:27:49

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Maxima already has a built in identity function so do not worry.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#91 2012-04-10 23:29:03

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Which function is that? Identity(n) and identity(n) don't work for me,but even  if there is such a function,I want to make my own.It will be better for me.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#92 2012-04-10 23:36:57

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Okay, but it is more serious that you are not getting these built in commands to work. We are trying to implement a PSLQ. If we get sidetracked we will never finish. What error message are you getting?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#93 2012-04-10 23:39:13

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

There is no error message.It just puts wrong 'numbers' into the matrix.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#94 2012-04-10 23:43:41

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Hmmm. Could be a bug. What does it output for identity(2)?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#95 2012-04-10 23:57:40

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

identity(2) outputs 2.It doesn't make a matrix.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#96 2012-04-11 00:11:02

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Hi;

Please go here and let's see what works and what does not.

http://maxima.sourceforge.net/docs/tuto … ro0001.htm


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#97 2012-04-11 00:14:33

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Hi bobbym

I think this link might be better for functions:

Maxima Programming Tutorial


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#98 2012-04-11 00:24:39

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

Same thing, I just went to the next page.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#99 2012-04-11 00:29:50

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,392

Re: PSLQ and LLL?

Yes big_smile

But that still doesn't help me find a function for making an identity matrix or fix my code.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#100 2012-04-11 00:34:53

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 84,598

Re: PSLQ and LLL?

One thing at a time. The list of commands on that page I gave might work and they might not. Do they work for you?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

Board footer

Powered by FluxBB