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

You are not logged in.

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

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

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.

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
The knowledge of some things as a function of age is a delta function.

Offline

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

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

Last edited by anonimnystefy (2012-07-13 05:12:29)

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
The knowledge of some things as a function of age is a delta function.

Offline

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

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

Re: PSLQ and LLL?

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

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-10 12:28:01)

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
The knowledge of some things as a function of age is a delta function.

Offline

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

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

Re: PSLQ and LLL?

Yes, it is working on this maxima.

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

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?

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
The knowledge of some things as a function of age is a delta function.

Offline

#59 2012-04-10 13:09:07

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

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

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

Which command?

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
The knowledge of some things as a function of age is a delta function.

Offline

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

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#62 2012-04-10 13:15:29

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

What is the second one?

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
The knowledge of some things as a function of age is a delta function.

Offline

#63 2012-04-10 13:17:24

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#64 2012-04-10 13:19:30

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

Ok,you can tell me what it is tomorrow.

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
The knowledge of some things as a function of age is a delta function.

Offline

#65 2012-04-10 13:26:07

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#66 2012-04-10 13:28:36

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

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

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
The knowledge of some things as a function of age is a delta function.

Offline

#67 2012-04-10 18:22:49

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#68 2012-04-10 18:33:30

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

Yes,I have. Whole two hours!

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
The knowledge of some things as a function of age is a delta function.

Offline

#69 2012-04-10 18:34:13

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#70 2012-04-10 19:06:57

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

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

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
The knowledge of some things as a function of age is a delta function.

Offline

#71 2012-04-10 19:08:07

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

Re: PSLQ and LLL?

How long do you have left?

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#72 2012-04-10 19:09:46

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

Till next Monday.

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
The knowledge of some things as a function of age is a delta function.

Offline

#73 2012-04-10 19:11:16

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

Re: PSLQ and LLL?

Nice vacation!

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#74 2012-04-10 19:12:11

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,030

Re: PSLQ and LLL?

Yup. It started on last Saturday.

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
The knowledge of some things as a function of age is a delta function.

Offline

#75 2012-04-10 19:13:25

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,523

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.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline