61,301 reputation
5151350
bio website nd.edu/~szhorvat/pelican/…
location ND
age
visits member for 2 years, 10 months
seen 30 mins ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Nov
17
revised Negative integral of a positive function
added 12 characters in body
Nov
17
comment How to compare Histogram Data?
Histogram is for plotting. To get the data instead, you might want to use HistogramList or BinCounts.
Nov
16
comment For loops in Mathematica
Do[If[i != j, ...], {i, n}, {j, n}]. If you're a beginner, try to avoid For in favour of functional constructs and Do.
Nov
16
comment My own discrete probability distribution
possible duplicate of Categorical Distribution
Nov
16
comment Capturing error message information
What exactly is the problem with the answer in your first link? It will collect complete message information.
Nov
15
answered Generating increasingly longer lists from a single list
Nov
14
revised Ways to overcome failure of TextRecognize on relatively simple price tag?
edited tags
Nov
14
comment Transform a rule to a list of rules
@higgy No, it's not necessary. I think we're having a communication breakdown. Why don't you join chat?
Nov
14
comment Transform a rule to a list of rules
@higgy You don't need to know the first part of the rule to apply Thread to it. If you have x = a -> {1,2,3} then you can just use Thread[x], no need to know what's inside x, other than that it's a rule with a list on the RHS. Can you give an example input and a corresponding example output? I thought a -> {1, 2, 3} and {a -> 1, a -> 2, a -> 3} could be considered such. Thread takes you from one to the other.
Nov
14
comment Transform a rule to a list of rules
I don't really understand what you mean by "without referring to the symbol/string on the left-hand side explicitly in the code". Can you give an example? It would be best to have an example input and an example output.
Nov
14
comment Transform a rule to a list of rules
@higgy a -> b is just an alternate notation for Rule[a,b], so you can extract a using First, Part, Extract, etc. See here: reference.wolfram.com/language/tutorial/PartsOfExpressions.html
Nov
14
answered Transform a rule to a list of rules
Nov
14
answered Extracting the body of a function
Nov
14
comment CSV vs XLS for import
I think the point you just removed is quite important. Yes, RFC4180 is there as a recommendation, but in practice there's no single standard that CSV readers/writers (or people piecing together CSV files) follow, which causes all kinds of trouble.
Nov
14
comment CSV vs XLS for import
It's probably good to know about this. When the importer tries to be too smart, it can work against you.
Nov
14
comment LinearSolve in Mathematica, used to find square matrix
You're right, I didn't read carefully. But the problem you state doesn't make a lot of sense. For an $n\times n$ matrix you only have $n$ equations but $n^2$ unknowns. So there are infinitely many solutions. There's always a trivial solution in the form of a diagonal matrix. The diagonal entries will just be c/b.
Nov
14
awarded  Enlightened
Nov
14
comment How to programmatically extract mathematical formulas from Word with Mathematica 9?
If you use the new style equation editor in Word 2007 and later then you can simply copy and paste formulae to Mathematica. It uses MathML as the exchange format.
Nov
14
awarded  bugs
Nov
14
answered Can I use 'ItemStyle' in 'Grid' to specify the style of individual items?