11,551 reputation
22575
bio website mathematica.stackexchange.com
location United States
age 36
visits member for 1 year, 4 months
seen 8 hours ago
stats profile views 1,235

The gravatar was made with Mathematica, and inspired by this.

The contents of my posts are my own opinion, and do not reflect the opinions of my employer.


15h
comment Filtering the elements of an array to split them into two categories
@cormullion on some level expecting some familiarity with the syntax is expected. However, we all had to learn it somewhere, and it took me longer than I care to admit to find this tutorial on shorthand notations. Of course, it seems to contain a number of things, so it is a good link, in general.
16h
comment Filtering the elements of an array to split them into two categories
@cormullion Searching for @ returns a single reference which has to do with output formatting, and it is not immediately clear that f@x is equivalent to f[x]. Some interpretation is required to achieve that.
20h
comment Why is there no PositionFunction in Mathematica?
I find it funny that I really only started to use Position after participating here. I think this site has warped my sensibilities. :D
1d
revised Problems with RootLocusPlot
formatted code
May
18
awarded  Excavator
May
18
comment Can one identify the design patterns of Mathematica?
To augment your discussion of self-blocking code, sometimes you don't need to remove existing definitions, but add to them. So, Internal`InheritedBlock is useful, instead. I recently did this in a recursive descent parser I wrote where I needed to add additional behaviors to the children of some of the tokens.
May
18
revised Modules that initialize themselves on first call
added missing " to fix syntax highlighting
May
17
comment Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?
@Szabolcs already reported.
May
17
comment Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?
I put the InputForm of the graph into a code block. Look at the [revisions][mathematica.stackexchange.com/posts/25410/revisions] to see what I did, or better yet, the edit window.
May
17
revised Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?
put in input form of code; spelling, grammar
May
17
comment Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?
A couple of things. First, you are trying to post the full box structure of something, and stackexchange does not interpret that correctly. Since you mention the documentation, can you post a link to it and someone might be able to get something better working. Second, the grave marks ( ` ) are for inline formatting only. To set up a code block, indent by four spaces.
May
17
revised Importing LTSpice data into mathematica
added comments to the code
May
17
revised Importing LTSpice data into mathematica
reformatted code, slightly
May
17
answered Importing LTSpice data into mathematica
May
16
comment List of Tribonacci Polynomials with Mathematica?
@bills true, but he had f[4] := x^4 + x. Of course, he's missing a few terms ...
May
16
comment Add a sub-matrix of zeros in big matrix
@AlejandroGuarnizo are you using the function BlockDiagonalRiffle or are you using BlockDiagonal@Riffle? Also, try restarting the kernel, and see if that changes anything. If that doesn't work, post two small matrices that it doesn't work with and I'll go from there.
May
16
comment List of Tribonacci Polynomials with Mathematica?
Incidentally, the grave marks ( ` ) only perform inline code formatting. To put into block form, precede each line with four spaces, and don't wrap it in the grave marks. Look at my revisions to see what I mean.
May
16
revised List of Tribonacci Polynomials with Mathematica?
formatted code
May
16
comment List of Tribonacci Polynomials with Mathematica?
You skipped t[3]. Also, you should space out you definitions a bit more for readability; putting them on separate lines, generally, works well.
May
16
comment Add a sub-matrix of zeros in big matrix
@AlejandroGuarnizo the key is apparently using the appropriate clustering algorithm. I added Method -> "Agglomerate" to FindClusters and it seems to work. It will even find off-diagonal blocks. Of course, BlockDiagonalRiffle only works correctly with block diagonal matrices, but that is a detail. Try it out, and let me know if it stands up to your testing.