Reputation
19,113
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 28 75
Newest
 Enlightened
Impact
~147k people reached

7h
reviewed Leave Open Solve seems broken after I installed the package Tomatlab.m
7h
reviewed Close How to change dimensions of a matrix?
19h
comment Identifying locations of entries in an array
@MarcoB We had nice teamwork on this question, answering one part of it each :) +1 to you too.
22h
reviewed Close How can I fit the parameters describing a given 3D object such that its projected shape best matches the silhouette observed from a given location?
22h
reviewed Leave Open Manipulate - 3 sliders for a list of 3 elements
22h
reviewed Close Maximizing Autoencoder Hidden Unit Function
22h
reviewed Close Asymptotic series
23h
revised Identifying locations of entries in an array
added 274 characters in body
23h
answered Identifying locations of entries in an array
1d
comment Recursive Euclidean algorithm in Mathematica
@Mr.Wizard Nice! +1
1d
revised How to further accelerate arithmetic with Fermat Pseudoprime and Fibonacci number
deleted 14 characters in body
2d
revised How to further accelerate arithmetic with Fermat Pseudoprime and Fibonacci number
deleted 14 characters in body
2d
answered How to further accelerate arithmetic with Fermat Pseudoprime and Fibonacci number
2d
comment Sow only if different from zero
Perhaps a simple With[{el = preThre..}, If[el != 0, Sow[el]] would be better.
2d
comment Sow only if different from zero
It looks to me like all zeroes disappear from your result? Can you explain further what you mean by "both 0 and 0"?
2d
comment Function works only after printing variables inside
I did get that error message, but even if you didn't would you agree that ret = Append[ret, par1] is being multiplied by the preceding line as I mentioned in my comment? I use v10.1 and I have to fix that before your code works.
2d
comment Function works only after printing variables inside
You missed a semicolon after the closing square bracket of For, right above the line ret = {};. The error is what it is because a b means "multiply a by b" i.e. Times[a,b]. However multiplication doesn't work in the situation that you created by mistake.
2d
comment Function works only after printing variables inside
What is the definition for PrintOut? It's not a built-in function.
May
23
reviewed Leave Open NIntegrate and Sum give different results in summing functions
May
23
reviewed Close Swing of the pendulum