Reputation
1,415
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 17
Newest
 Yearling
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 293 votes cast
Nov
29
comment How can I extract when a select condition is met in a do loop the value of the iterator?
I don't think your question can be done ... without adding an If and Sow to your Select condition which is ugly beyond reason. Do you care about do this kind of filtering, or is your question specifically about using Select?
Nov
29
answered Compute ratios of elements in two lists
Nov
29
comment Compute ratios of elements in two lists
Do you want the i to be from the original list? Or the list of ratios with the b[i]=0 indices removed?
Nov
1
awarded  Nice Answer
Nov
1
comment How to implement FittedModel like objects
@Matariki thanks! Fixed
Nov
1
revised How to implement FittedModel like objects
Fixed some typos pointed out by comment
Jun
28
awarded  Enlightened
Jun
28
awarded  Nice Answer
Apr
26
comment Why function cannot be defined inside For loop?
@Misery can you really use a def inside a for loop in python? Or do you mean lambdas?
Apr
26
comment Why function cannot be defined inside For loop?
Why was this closed? Because it was just a programming error? I have seen other examples of this in questions that are not closed. The "too localized" doesn't feel right to me. Also the rage about using a loop seems unnecessary to me. Reminds me of when people use capital letters for symbols/function names. True, but needless comments.
Mar
27
awarded  Nice Question
Mar
15
awarded  Yearling
Jan
9
comment What Cell Option Controls Group Indentation?
Ugh ... I thought those numbers where calculated ... makes more sense now. Thanks!
Jan
9
accepted What Cell Option Controls Group Indentation?
Jan
9
asked What Cell Option Controls Group Indentation?
Dec
24
awarded  Enthusiast
Dec
17
comment While-Loop Linear Projection
Be careful with Subscript[Cp,-1] since Cp has a value, lets say for example 10.1 then what you are really doing is Subscript[10.1, -1] which I doubt is what you want. Can you describe what you want mathematically, ie the recurrence relation you actually want to solve, and example initial values. Then it will be easy to help you get the correct code.
Dec
17
comment FindRoot - Speed and errors
To break the tie, using v9 I also have no errors.
Dec
12
comment NDSolve and WhenEvent Causing Excess Work
@NasserM.Abbasi weird ... guess it just keeps trying!
Dec
12
comment NDSolve and WhenEvent Causing Excess Work
@MarkMcClure for sure. I love WhenEvent so much ... it could make me have to do a back flip each time I use it and it would still keep me coming back!