Passing options to functions / overriding default options Suppose I have a function foo which is a wrapper for bar. Both of them have certain default options. Options[foo] includes some options that should be passed to bar, which may override some of bar's defaults, but if they are not provided bar should always receive some default options. Here are the definitions ... 20 Mar 2010 04:05
OneStepTopReduction in System` Context in Mathematica 6+? Hello, I'd like to understand the behaviour of the following program foo.m. It seems to have different semantics in Mathematica 5.2 vs. Mathematica 6/7. ---rhxBEGIN foo.m Print["Context0: ", $Context]; Print["ContextPath0: ", $ContextPath]; BeginPackage["A`"]; Foo::usage = "blah blah"; Begin["`Private`"]; ... 20 Mar 2010 04:05
Peculiar output from Union ? Hi Folks, Can anyone explain this: In[1]:= Union[ 1 < x < 2, 3 < x < 5 ] Out[1]= 5 < x ?? I am using a MacBook Pro, OS 10.6.2 Thanks, Jack ... 22 Mar 2010 04:58
Docked cells and TagBoxNote / StatusArea Hi, I have a notebook with a button in its docked cell. I've been trying and failing to make it put a message in the status area when you move the mouse over it, a task that is easy with normal cells. See the code below, where I've made it clear that the docked cell is identical to the final cell. With[{tagg... 22 Mar 2010 03:52
Need larger window for Manipulate Slider Control (ControlsRendering) The values of the parameters I'm using for the sliders are getting truncated in the standard windows. I need larger ones. I think ControlsRendering might hold the key, but I can't get the right stuff wrapped in the Style command. Please see image at http://www.qdaxengineering.com/manipulate.jpg ... 20 Mar 2010 04:05
Function construction and also symmetric matrices I am trying to construct a number of symmetric matrices with unit diagonal and random numbers in the off-diagonal entries. The matrices are of steadily increasing size. I have been constructing the matrices from random vectors with the correct number of off-diagonal entries, so that for a 3x3 matrix I have: ... 24 Mar 2010 06:34
need something like ReplaceAllIndexed[] Hello mathGroup: I have an expression like this: b[ a[c], a[c], a[d]] a list like this: {e,f,g} I want to end up with b[ a[e], a[f], a[g]] I think of this as interleaving a list into an expression, but all my tries with ./,.//,MapIndexed[],MapAt[], Partition[Riffle[]] have come to no avail. An... 23 Mar 2010 05:37
blobs functions Hello Group, Any of you have a pdf handout to learn about blob functions. I made a online search but only academic paper showed up and there is nothing in wikipedia. best regards, eric ... 19 Mar 2010 03:48
Alignment -> Full not working in GraphicsColumn It seems that the following code should be a standard use of "Full" for the Alignment field of GraphicsColumn: f1 = Plot[x^2, {x, -1, 1}]; f2 = Show[{Plot[x^2, {x, -1, 1}], Graphics[Text["TEXT", {0, -3}]]}, ImagePadding -> {{All, All}, {75, All}}, PlotRangeClipping -> False]; GraphicsColumn[{f1, f2}, Full]... 20 Mar 2010 04:05
Possible bug: Integrate[(u - t)*BesselY[0, 2*t], {t, Leo Alekseyev wrote: Consider the following symbolic expression, evaluated with Mathematica 7: Integrate[(u - t)*BesselY[0, 2*t], {t, 0, u}] I am seeing a behavior where the symbolic results of this integration are different depending on the name of the symbol 'u'. In particular, if I use something ... 19 Mar 2010 03:48 |