4,420 reputation
420
bio website
location
age
visits member for 1 year, 8 months
seen 1 hour ago

2d
comment How to produce functions
he answered the literal question, but its not likely the best approach to your problem. Using f[1][x],f[2][x].. for example would be cleaner and avoid messing with symbol names.
2d
comment Errors of machine precision
note he claims he hasn't used that expression. @Meqdad you need to show the code you are using if you want further help.
2d
revised Errors of machine precision
added 4 characters in body
2d
comment Vector-calculus
BinCounts might be better (this will break if any count happens to be zero)
Apr
14
comment Vector-calculus
see Partition and Tally
Apr
13
comment Sum does not converge, but I think it should
take a look at this mathematica.stackexchange.com/questions/8899/…
Apr
13
comment Sum does not converge, but I think it should
Is this more than a curiosity? Can you show a real problem where this is an issue? One thing to try is feeding Sum[] a function using /;NumericQ (no mathematica at the moment or id try it..)
Apr
13
comment Sum does not converge, but I think it should
what do you get for a finite sum?
Apr
13
revised iterative programming
added 128 characters in body
Apr
13
comment Enter exact rational numbers easily with decimal notation
I wonder can we use $PreRead to convert entered decimals to fractions?
Apr
11
revised Programming paradigm change
added 34 characters in body
Apr
11
answered Programming paradigm change
Apr
11
answered Name scope confusion
Apr
10
comment Cancelling units in two-argument ArcTan
sorry I used -> to indicate the output, not to mean you should put that in your code. See edit..
Apr
10
revised Cancelling units in two-argument ArcTan
added 8 characters in body
Apr
10
comment How to solve correctly inside a DO loop and then plot
This would be improved if you use Reap/Sow instead of AppendTo
Apr
10
revised 1D quasicrystal: points on a line nearest to points on a lattice
deleted 43 characters in body
Apr
10
comment 1D quasicrystal: points on a line nearest to points on a lattice
for your asymmetric bands you need to select based on side, something like (Norm[Subtract @@ #] < b band && Det[{(Subtract @@ #), {4, f[4]}}] < 0 )& The sign of the determinant determines which side of the line.
Apr
9
revised 1D quasicrystal: points on a line nearest to points on a lattice
added 46 characters in body
Apr
9
revised 1D quasicrystal: points on a line nearest to points on a lattice
added 197 characters in body