1,916 reputation
942
bio website
location
age 29
visits member for 2 years, 3 months
seen 6 hours ago

As time goes on, I grow more disillusioned with quantum field theory.


2d
comment Merging documentation from Workbench with handed-coded package
Thanks, everything now works as expected. Would you go ahead and add the key pieces of information regarding PackletDirectory to your answer? Then I can accept it. Thanks again!
2d
comment Merging documentation from Workbench with handed-coded package
Since I now know where to put the package stuff to make the Documentation work correctly, I think I am happy. However, if I want to share my package with others, would it work if I just cold-copied the 'Deployed Application' files from my $BaseDirectory to the recipient's $BaseDirectory (with the Documentation correctly displaying on his/her Documentation Center)?
2d
comment Merging documentation from Workbench with handed-coded package
Ok, so I what I did was to take your 'Alternative' approach, and basically transfer my existing package into Wolfram Workbench. Then I 'Deployed Application', deploying it to two different folders: first I deployed into $BaseDirectory, and the documentation was properly included in the Documentation center, with the package working properly. Second (after deleting the stuff from $BaseDirectory) I deployed it to a directory in $Path (from where I normally do my coding). The package functionality works fine, but documentation doesn't show up.
2d
comment Merging documentation from Workbench with handed-coded package
Thanks for your response (indeed I have restarted the kernel, and also the whole Mathematica program); also I have the directory structure as you say. And, when I hover over the links in the guide page, I do see the paclet: path, and they all match the one appearing under "Categorization" in the original source file. But it still doesn't work. Something I find very puzzling is that although it all works ok when I "Preview" it using Workbench, none of the links work when I open (with Mathematica) the very same Guide page notebook. Do I need to "Deploy Application" for this to work?
2d
comment Renaming projects in Wolfram Workbench
Thanks! Everything seems to work fine, and the project did rebuild without problems.
2d
comment Merging documentation from Workbench with handed-coded package
Thanks for the wonderful information! I went ahead and copied the two files from the Build folder into the folder containing the actual project. But, the documentation appears not to successfully appear in the Documentation Center. (hitting F1 on one of the functions doesn't find it). Also, when I manually open the Guide page--either from the one generated by Workbench or the copied one--, none of the links work: they all seem to point to some empty guide file). The only time these links work is if I view the guide exclusively using 'Preview' within Workbench. Any ideas? Many thanks!
2d
comment Bug? Or what? Why it returns internal functions?
Numerically, the result appears to be ok: if I insert $\,s=0.32$, I get $1.18027$ for both expressions. In fact, $\Gamma(0.32) = 2.79575$ is not correct.
Nov
15
comment How can I Integrate large trigonometric expressions more efficiently?
Upload your matrix (as a .nb file) to a repository and provide a link. A sub-matrix is good too.
Nov
8
comment How are MemberQ and FreeQ so fast?
also @LeonidShifrin, do I pay a speed-penalty if I use Alternatives compared with Condition?
Nov
8
comment How are MemberQ and FreeQ so fast?
Dear @LeonidShifrin, do patterns with Head specification (as in x_Head) count as what you call "syntactic patterns"? I would have thought that checking for matched head is just like conditionals... (i.e. Does x have the right Head?)
Nov
3
comment How to distribute but skipping one level
It looks like it works; but I still feel that it is still recursive. There's no one-shot rule that will get this to work?
Nov
3
comment Creating Mathematica packages
I have organized my package into three sub-packages. These sub-packages use share/use some common functions (but are not intended to be used by the user). Do you know how to make some functions public to the sub-packages, but not to the user?
Nov
2
comment Which Mathematica function has the longest name (by character length?)
Let's see both -- with context, and without
Nov
2
comment How do I tell pattern searcher the order in which to search for patterns given in general form?
The bonus is pretty easy to understand; I guess I didn't do a good job explaining it in my question. Basically, the elements of nonCommute can be thought to be arranged in a ring (instead of in a line). Then, the distance between repeated elements x_ is shorter of the two sequences around the ring. e.g. in nonCommute[a,b,c,a,d] the rule should trigger on {d} and not {b,c,a}. Get it?
Nov
2
comment How do I tell pattern searcher the order in which to search for patterns given in general form?
This is exactly what I need. For some reason, Bill, when I run your examples on my machine (Mathematica 9.0.1), I get the expected result {} for all of them.
Nov
2
comment How do I localize an assignment to expression (instead of symbol) within scoping construct?
This is even better than my answer! Thanks
Nov
2
comment How to get “Signature” of each element of “Permutation” output
@Mr.Wizard Sorry it took a while; I wanted to be fair about which answer I found to be most useful...
Nov
1
comment Mapping also for one element (or telling it how to do so if head got changed)
@FredSimons Yes, that is a good alternative
Oct
30
comment Mapping also for one element (or telling it how to do so if head got changed)
@belisarius I posted an answer based on your comment. Would you suggest which is better (meaning faster)? Plus @@ or Total @ ?
Oct
30
comment Mapping also for one element (or telling it how to do so if head got changed)
Got it. Thanks!