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

Login

Username

Password

Not registered yet?

#51 2012-04-11 10:11:44

bobbym
Administrator

Online

Re: PSLQ and LLL?

First off how do you declare a function in maxima?


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.

#52 2012-04-11 10:14:00

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

I don't even know where to type up my code let alone declare a function. I will try searching it up. I will let you know as soon as I do.


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

#53 2012-04-11 10:18:23

bobbym
Administrator

Online

Re: PSLQ and LLL?

I have maxima inside of Geogebra, I will check for a way.


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.

#54 2012-04-11 10:19:48

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Here's the link:A maxima tutorial

Last edited by anonimnystefy (2012-07-14 03:12:29)


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

#55 2012-04-11 10:23:38

bobbym
Administrator

Online

Re: PSLQ and LLL?

Page seems dead.

Here is how you declare a simple function in maxima:

f(n):=n!

f(5) returns 120


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.

#56 2012-04-11 10:26:49

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

I thought you didn't know. Anyway,thanks for trying to make it clear.

Are you sure that n! is how Maxima uses factorial?

Last edited by anonimnystefy (2012-04-11 10:28:01)


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

#57 2012-04-11 10:32:17

bobbym
Administrator

Online

Re: PSLQ and LLL?

Yes, it is working on this maxima.


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.

#58 2012-04-11 10:36:12

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

I think I understand a little about Maxima programming,but I am still not sure.

What is the first command of your function?


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

#59 2012-04-11 11:09:07

bobbym
Administrator

Online

Re: PSLQ and LLL?

I do not know yet, what that command does. I am going to eat so I will see you tomorrow.


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.

#60 2012-04-11 11:10:40

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Which command?


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

#61 2012-04-11 11:13:05

bobbym
Administrator

Online

Re: PSLQ and LLL?

pslq[l_,dig_]:=Module[{a},
     a=IdentityMatrix[Length[l]];
     a=Append[a,10^dig*N[l,dig]];
     a=Transpose[a];
     a=Rationalize[a,10^-dig];
     a=LatticeReduce[a];
     Take[a,All,{1,Length[l]}]
     ];

Oh, that one is easy. You need to find a maxima command that makes an identity matrix for a size n.


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.

#62 2012-04-11 11:15:29

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

What is the second one?


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

#63 2012-04-11 11:17:24

bobbym
Administrator

Online

Re: PSLQ and LLL?

I am not sure yet, I will have to check to see what it does exactly. It was many years ago that I wrote that function.


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.

#64 2012-04-11 11:19:30

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Ok,you can tell me what it is tomorrow.


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

#65 2012-04-11 11:26:07

bobbym
Administrator

Online

Re: PSLQ and LLL?

Okay, see you later, have a good night.


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.

#66 2012-04-11 11:28:36

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Thank you! Same goes for you and please try to sleep six full hours for once.


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

#67 2012-04-11 16:22:49

bobbym
Administrator

Online

Re: PSLQ and LLL?

I have not slept yet. Obviously neither have 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.

#68 2012-04-11 16:33:30

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Yes,I have. Whole two hours!


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

#69 2012-04-11 16:34:13

bobbym
Administrator

Online

Re: PSLQ and LLL?

Do you not have school tomorrow?

The second instruction appends to the identity matrix the input vector times by 10^digits in floting point.


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.

#70 2012-04-11 17:06:57

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

No,I told you we are on a spring break.


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

#71 2012-04-11 17:08:07

bobbym
Administrator

Online

Re: PSLQ and LLL?

How long do you have left?


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.

#72 2012-04-11 17:09:46

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Till next Monday.


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

#73 2012-04-11 17:11:16

bobbym
Administrator

Online

Re: PSLQ and LLL?

Nice vacation!


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.

#74 2012-04-11 17:12:11

anonimnystefy
Real Member

Offline

Re: PSLQ and LLL?

Yup. It started on last Saturday.


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

#75 2012-04-11 17:13:25

bobbym
Administrator

Online

Re: PSLQ and LLL?

That still does not mean that you ignore your health by not sleeping.


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.

Board footer

Powered by FluxBB