1,330 reputation
517
bio website
location
age
visits member for 2 years, 9 months
seen 14 hours ago

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!
Dec
12
comment NDSolve and WhenEvent Causing Excess Work
@MarkMcClure don't get me wrong ... your point is well taken! It would just be nice to have an extra option that would tell the maximum steps taken between events ... that way the user doesn't need to have to do any hand calculations on the number of time steps, and the predicted number of events to figure out how many maximum steps need to be taken. This will make the calculations much slower ... but seems like it will be a common need for these types of problems. Again I think of it the way old Fortran codes would have worked ... each call you get the maximum steps so it naturally scales