User Portlet User Portlet

Sander Huisman
Discussions
Use the [[]] notation to grab a part of an expression: Yourvariable[[All,2]] Or Yourvariable[[All,2,1]]
Have it since day 1. Version 13.1 works fine for me. No issues. Also M1 processor.
Thanks! You can find the definition of RotatedTorus at the beginning of my notebook; it is an easy definition that uses the internal Torus object and rotates. For the styling you could even use the new [MaterialShading][1] to make it really look like...
&[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/e164897a-44ed-44df-89c7-49ca867dc824
Yeah I was also thinking of using Primes or numbers in ‘fancy’ bases like you did but thought it would be slower. You proved me wrong. You could probably still speed it up a bit by using Replace with a level spec rather than /. ReplaceAll which does...
For Plot3D it refers to the height of the function (the z coordinate). However, by default, it is rescaled from 0 to 1.
It can also be done in other ways: DM = {{{0, 0}, {0, 0}}, {{0, 0}, {0, 0}}}; DM = MapIndexed[If[#2[[3]] == 1, A, B] &, DM, {3}]; DM or just: DM = ConstantArray[{A, B}, {2, 2}]
Dear Jose, thanks for showcasing the GeoGraphics capabilities. I'm still playing around with it. Just got to know the GeoVariant function. Thanks!
I see, that's what I thought. I was actually thinking of doing the branching also a bit smarter; basically rank the cells by their 'influence/importance' such that the pruning is faster. But it can't beat any compiled sat solver likely :-)
Thanks for sharing! Great stuff! and thanks for explaining!