19 reputation
4
bio website
location
age
visits member for 1 year, 10 months
seen 2 days ago

Aug
20
comment naturalcolor stylesheet not working between linux and windows
It seems that nobody stumbled on this problem and I can't figure out how to solve it.
Aug
14
comment naturalcolor stylesheet not working between linux and windows
I have updated the original post to include the output of the function from the post suggested by @hieron
Aug
14
revised naturalcolor stylesheet not working between linux and windows
added the output of the function from the suggested post in the comments.
Aug
14
comment naturalcolor stylesheet not working between linux and windows
Sorry for the delayed answer but I had to leave the office early yesterday. I have tried to use the information from the post suggested by @hieron but unfortunately it didn't work (of maybe I didn't do it right). I have copied the NaturalColour.nb stylesheet to the /home/username/.Mathematica stylesheet folder but the problem persists. So I don't think the problems are related. I could post the output of the function from hieron's post, if that helps anyone.
Aug
13
asked naturalcolor stylesheet not working between linux and windows
Jun
13
awarded  Supporter
Jun
1
comment Invisible characters being inserted into the output from FindMaximum
@OleksandrR.: I am quite sure I haven't added the spaces myself.
Jun
1
comment Invisible characters being inserted into the output from FindMaximum
I have checked a bit more now and I noticed that the cell can be fixed if you delete the characters betwee the last ] and ;. You have to position the cursor right after ] and then hold Shift and move the cursor with the right arrow on keyboard until you reach ; (you can select that too), then delete. If you removed ;, add it again and reevaluate the cell. The result of the FindMaximum in the example above displays correctly now. I am however still unsure why this happens!
May
31
comment Invisible characters being inserted into the output from FindMaximum
@rasher: after reading the comments from the link you provided I checked the cells in my notebook with Ctrl+Shift+E. I haven't seen any \n characters. There are only "\[IndentingNewLine]" instead. Plus at the end of the cell there are a bunch of numbers which don't make any sense, like these: CellChangeTimes->{{3.610517518223938*^9, 3.6105175502317686`*^9}, {3.6105175825356164`*^9, 3.610517590709084*^9}, {3.610517714096141*^9, 3.6105179643194532`*^9}, { 3.6105349710885878`*^9, 3.610535022245514*^9}}
May
31
revised Invisible characters being inserted into the output from FindMaximum
added more details about the problem
May
31
comment Invisible characters being inserted into the output from FindMaximum
So you are suggesting that the problem appears because of the comments not ending with a ;? OK I will give that a go. I will also post the code here soon. At the moment I am on my mobile phone.
May
31
comment Invisible characters being inserted into the output from FindMaximum
I just checked it and it works fine for me! There are no errors. The variables at the beginning are irrelevant, this was a taken from a larger project and I did it in a hurry. The problem is in the functions nx, nx2 and nx3. Those are most definitely working and for any positive values of Va will replicate the problem entirely.
May
31
comment Invisible characters being inserted into the output from FindMaximum
this was a new notebook that I created! plus, it doesn't happen all the time. It happens randomply. I would work on different cells, and at some point something like ListPlot will stop working without reason. And when I check back, it is due to FindMaximum and its changed output. How do I post and entire notebook here? I have provided a link to the notebook within my dropbox. It is just a mathematica notebook detailing the problem.
May
31
asked Invisible characters being inserted into the output from FindMaximum
Feb
10
awarded  Commentator
Oct
11
comment How to sum up large number of elements in a table quickly?
@acl to me it seems that Total isn't very fast, or it is slower in this case due to something that I can't see. There is a very large amount of elements to be added. Is there an alternative way to add the elements of a Table, other than Total, For loops or Sum?
Oct
11
comment How to sum up large number of elements in a table quickly?
@acl I tried running my problem using Table instead of ParallelTable but the latter is considerably faster. I get 649 seconds vs a lot more for the case of Table (I actually stopped it after it passed the 10 minute mark)
Oct
11
awarded  Editor
Oct
11
revised How to sum up large number of elements in a table quickly?
added 4 characters in body
Oct
11
comment How to sum up large number of elements in a table quickly?
@acl Thank you fo the extensive post. I have never used Compile successfully but I will try and give it another go.