54 reputation
4
bio website
location
age
visits member for 2 years, 1 month
seen Nov 6 at 19:23

Oct
18
comment using memoization with conditional statement
I have tried that, after seeing your and ybeltukov's answer (how do you reference a name?) but it doesn't seem to be what I am looking for (see the updated post!)
Oct
18
revised using memoization with conditional statement
updated progress
Oct
18
asked using memoization with conditional statement
Sep
25
comment naturalcolor stylesheet not working between linux and windows
I managed to fix this problem (get around it rather!) by resetting my notebook to the default style sheet in windows and save the notebook. Then I opened it in Linux which worked correctly and there I switched to the NaturalColor style sheet. Saved again then opened in windows. Worked fine, except for an error that the NaturalColour.nb could not be found at the path that is saved in the linux version. Therefore I think a more permanent fix would be to copy the stylesheet file in the notebook dir. This way, windows and linux will be searching in the same path.
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?