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

You are not logged in.

#76 2012-04-11 17:14:25

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Why do you do it then?

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#77 2012-04-11 17:22:58

bobbym

Offline

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.

#78 2012-04-11 17:24:56

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

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

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#79 2012-04-11 17:27:04

bobbym

Offline

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.

#80 2012-04-11 17:30:42

bob bundy
Moderator

Offline

Re: PSLQ and LLL?

hi bobbym,

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

Bob

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

#81 2012-04-11 17:32:08

anonimnystefy
Real Member

Offline

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.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#82 2012-04-11 17:38:24

bobbym

Offline

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.

#83 2012-04-11 17:40:40

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

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

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#84 2012-04-11 17:42:43

bobbym

Offline

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.

#85 2012-04-11 19:07:20

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

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

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#86 2012-04-11 20:53:49

bobbym

Offline

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.

#87 2012-04-11 21:15:41

anonimnystefy
Real Member

Offline

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:

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:

Code:

```                            [   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-11 21:15:59)

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#88 2012-04-11 21:22:00

bobbym

Offline

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.

#89 2012-04-11 21:25:51

anonimnystefy
Real Member

Offline

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.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#90 2012-04-11 21:27:49

bobbym

Offline

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.

#91 2012-04-11 21:29:03

anonimnystefy
Real Member

Offline

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.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#92 2012-04-11 21:36:57

bobbym

Offline

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.

#93 2012-04-11 21:39:13

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

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

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#94 2012-04-11 21:43:41

bobbym

Offline

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.

#95 2012-04-11 21:57:40

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

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

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

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

bobbym

Offline

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.

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

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Hi bobbym

I think this link might be better for functions:

Maxima Programming Tutorial

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

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

bobbym

Offline

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.

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

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Yes

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

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

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

bobbym

Offline

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.