3,471 reputation
731
bio website
location The Woodlands, TX
age 27
visits member for 1 year, 10 months
seen 3 hours ago

Reservoir Engineer in the greater Houston area.

enter image description here


1d
reviewed Approve suggested edit on Efficient JSON parser for Mathematica
1d
comment Replacing a function in defined expressions
Try diffy := Hold[D[U[z], z]]; then use diffy /. U[z] :> Exp[-I k z] // ReleaseHold.
Mar
21
comment Mapping multiple functions over an array
BTW, brilliant @rm-rf.
Mar
16
revised How can I obtain more significant digits?
added 235 characters in body
Mar
16
answered How can I obtain more significant digits?
Mar
7
revised Fast way to get positions of “boxed” array elements?
`Table` to `Do`. Explained hard-coding.
Mar
7
answered Fast way to get positions of “boxed” array elements?
Mar
7
answered Multiply each element of an array by another array?
Feb
22
comment How to implement FittedModel like objects
@rm-rf Perfect. Thanks.
Feb
22
revised Function that assigns properties
Fixed example ; added 35 characters in body
Feb
22
comment How to implement FittedModel like objects
Probably true. My first example hinted at it with assigning the different downvalues within a function but additional clarity is needed.
Feb
22
comment How to implement FittedModel like objects
@belisarius Not sure how you'd construct that here. Maybe a better example: Let's say my function imports a data table from a website. That website changes based on the function argument. That data has properties that I'd like to capture. I think rm-rf's method would require me to import that data at least once per property retrieved. Or do all subvalues get calculated at first function call??
Feb
22
comment How to implement FittedModel like objects
@belisarius Ideally, all the subvalues would be calculated on the first function call and stored for later use.
Feb
22
revised Function that assigns properties
Clarified after @rm-rf answer
Feb
22
comment How to implement FittedModel like objects
Okay, but what if the "properties" assigned aren't simple calculations, but rely on a larger and more expensive block of code? It wouldn't make sense to define all of that multiple times, correct?
Feb
22
revised Function that assigns properties
deleted 4 characters in body
Feb
22
asked Function that assigns properties
Feb
7
comment Remove list elements that contain NaN Symbol
@Szabolcs It's the dreaded NaN vs. NaN'. It's a little infuriating. Especially when you wrap one in Rationalize and see all the different results.
Feb
4
answered How to read non-standard-format data into Mathematica from a file
Jan
31
answered Function output of two lists are only diagonal elements