Orientation of Arrowheads For a teaching demo, I'm trying to plot Arrowheads as Octahedrons, but --as documented-- Mathematica wants to orient the Arrowhead according to the orientation of the Arrow and I would like the Octahedron to be oriented "vertically". Here is my current version: << Graphics`polyhedra` octo = PolyhedronData["Octah... 5 Apr 2010 08:17
Optimization problem for dice game Hello, I wish to use Mathematica to determine the best strategy applicable to the following game: 1. The game is played with 6 6-sided fair dice. 2. At the beginning of the game, the player rolls all 6 dice at once. 3. Each die may then be either a) put in hold (its value gets fixed) or b) set to be re-roll... 4 Apr 2010 08:14
Finding order of all numbers in a Finite Field Given a Galois field of size p (p being prime), how would I go about getting a list of the order of each number in the field (0-(p-1))? I have already read the docs about galois fields in the FiniteField package (very nice), but I am having trouble finding information about order calculation. Thanks! ... 4 Apr 2010 08:14
Combining elements of a list How could I go from: {h,e,l,l,o} to {hello}? That is the first step of what I am really looking to do. Which is to go from: {{t,h,i,s},{i,s},{a},{t,e,s,t},{m,e,s,s,a,g,e}} to "this is a test message" Thanks all, Jason Ebaugh ... 5 Apr 2010 08:17
trying to use InputField as a continually attentive You could try this with EventHandler msgs={};DynamicModule[{ins=""},EventHandler[InputField[Dynamic[ins],String,ContinuousAction->True],{"ReturnKeyDown":>(msgs=AppendTo[msgs,ins];ins="";)}]] Dynamic[Column(a)msgs] - Jaebum On 4/2/10 5:20 AM, mkr wrote: I am trying to set up some interactive code where I ... 3 Apr 2010 07:09
convert txt to binary file Hello all, I have a 4Gb txt file and it is not possible to work with that because it is huge. Does someone knows how to convert an ascii file to a binary file using mathematica? I have a collegue that does it with another system but I can't find out how to do that. I searched a lot without sucess. Your help woul... 9 Apr 2010 04:31
math lib change in OS X bug + workaround (Not sure if this has already been posted; sorry if this is old news.) I recently noticed FixedPointList[Cos, .7] does not complete with 7.0.1 on OS X 10.6.3 -- symptoms are Mathematica is stuck "Running...". After some digging it turns out it's oscillating indefinitely. Here's my edited exchange with WRI supp... 2 Apr 2010 07:05
trying to use InputField as a continually attentive string input I am trying to set up some interactive code where I issue short instruction strings to drive some additional dynamic code. My hope was to use an InputField into which I could continuously type these short instructions, with a given character sequence ("do" in the code below) acting as the trigger (I was guessing ... 3 Apr 2010 07:09
10.6.3 and Home Edition crashes I just recently updated to a new iMac and 10.6.3. A long, complex nb with dynamic content and its own style sheet repeatedly crashes on me when I am scrolling down the long notebook. Anyone else finding problems with 10.6.3 and Home Edition?? I am concerned also that Home Edition is strictly 32 bit and am running f... 4 Apr 2010 08:14
Intel MKL 10 Dear all, I have been trying to use the "c++ mathlink". The linking process works great till I link my c++ program with Intel's MKL 10.0 libraries. There a similar bug in another system that is caused by the fact that it uses MKL 9 (I think that also Mathematica uses the same version). Is there a solution for ... 7 Apr 2010 07:50 |