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

You are not logged in. #126 20120412 01:00:42
Re: PSLQ and LLL?Nothing, if it is working. But built in functions are faster and use less memory. 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. #127 20120412 01:06:44
Re: PSLQ and LLL?Ok,I'm gonna try both.I think there is a time measuring function in Maxima.Let me see if I can use it somehow. 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 #128 20120412 01:09:36
Re: PSLQ and LLL?It will you be your code so use whichever one you like, we have several more lines to translate. 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. #129 20120412 01:12:58
Re: PSLQ and LLL?Code: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]}]*) a]; Use the addrow function to replace the append. 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. #130 20120412 01:16:12
Re: PSLQ and LLL?Hi bobbym 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 #131 20120412 01:29:33
Re: PSLQ and LLL?On top of the identity matrix. Addrow is the maxima command to do that. 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. #132 20120412 01:41:51
Re: PSLQ and LLL?Ok.I found the Transpose.What is Rationalize? 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 #133 20120412 03:54:52
Re: PSLQ and LLL?Maxima has a rationalize command. 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. #134 20120412 03:59:36
Re: PSLQ and LLL?Ok.Let's go step by step. 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 #135 20120412 04:05:03
Re: PSLQ and LLL?The parameter of the function call pslq(l,dig). l is basis vector and dig is the number of digits. 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. #136 20120412 04:08:45
Re: PSLQ and LLL?And what is N[l,dig]? 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 #137 20120412 04:10:41
Re: PSLQ and LLL?That is mathematica taking the list of constants and turning them into floating point numbers. 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. #138 20120412 04:15:28
Re: PSLQ and LLL?Code: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]}]*) a]; The lattice reduce command that is the problem. 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. #139 20120412 04:17:18
Re: PSLQ and LLL?hi bobbym 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 #140 20120412 04:22:57
Re: PSLQ and LLL?The vector is 1 x n and the matrix is n x 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. #141 20120412 04:51:09
Re: PSLQ and LLL?What is that vector? I am confused. 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 #142 20120412 04:55:47
Re: PSLQ and LLL?The vector is inputted by the user it contains the constants and the value to be fit. 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. #143 20120412 04:57:34
Re: PSLQ and LLL?hi bobbym 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 #144 20120412 04:59:41
Re: PSLQ and LLL?For the PSLQ you have your constants, like 5, pi, sqrt(3), e and you have the value you want to determine to some amount of digits. 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. #145 20120412 05:01:11
Re: PSLQ and LLL?Oh,ok. 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 #146 20120412 05:10:23
Re: PSLQ and LLL?The vector of constants and the number. 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. #147 20120412 05:12:33
Re: PSLQ and LLL?See if this helps: 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 #148 20120412 05:21:13
Re: PSLQ and LLL?Yes, I have already been looking at that. It is written in Lisp, which I have entirely forgotten. The chances of getting that to work are one in ten thousand. 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. #149 20120412 05:22:54
Re: PSLQ and LLL?But,if we don't get to the lattice reduce part,there is no point in being able to do the lattice reduce part. 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 #150 20120412 05:26:56
Re: PSLQ and LLL?All the rest of my function is simple almost cosmetic. I could get around all of it one way or another. The lattice reduce is the actual algorithm. 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. 