The difference above in the values of Sin[] has to do with a difference in how the values are computed when vectorized and not vectorized. Here's a single instance:
I don't know what the numbers represent, but if you change the second 256, you change the threshold needed for the length of ConstantArray in the example.
Warning:
This is just some basic analysis that I thought people might find cute. If you want me to delete it / change the title to free up an objectively good question title, I'm happy to do so.
Obviously Mathematica.SE is all about the points and no one is going to spend 2 days helping someo...
Here's a tip for people on OS X with multiple versions of Mma installed: You can save 40%+ disk space by compressing the app using afsctool. I have been doing this for quite a while, and noticed no problems so far. I don't know if it will blow up things when we upgrade to OS X 10.13 with APFS at the end of the year, though.
Hi, guys. Could you help me a little with a list construction problem? Let's say I have a list A={a,b,c,d,e} and for some elements with positions stored in another list indx={1,3,5} I want to insert additional sublists from list B={{K,13},{E,15},{F,16}}. Final list should look like {{a,{K,13}},{b},{c,{E,15}},{d},{e,{F,16}}}. Any hints?
During evaluation of In[1]:= Extract::psl1: Position specification {2,2;;3} in Extract[{{1,2,3},{4,5,6}},{2,2;;3}] is not applicable.
Out[2]= Extract[{{1, 2, 3}, {4, 5, 6}}, {2, 2 ;; 3}]
Out[3]= {{5, 6}}
The Summer Camp Was a Success! How far can one get in teaching computational thinking to high-school students in two weeks? Judging by the results of this year’s Wolfram High-School Summer Camp the answer is: remarkably far. I’ve been increasingly realizing what an immense and unique opportunity there now is to teach computational thinking with [...]