User Portlet
Featured Contributor
Discussions |
---|
Since people start to comment on this, it is good to point out that Roger may be using an early prerelease of 12.1, see my comment on https://community.wolfram.com/groups/-/m/t/1934409 |
The reason why I asked is that this exact bug was present in one of the early prereleases, but it was already fixed 8 months ago. If you have a prerelease, you should upgrade to the final version. Generally, it is not a good idea to rely on... |
``` g = Graph[{1 2, 2 3, 3 4, 4 5, 5 2, 3 1}] Table[ With[{gd = VertexDelete[g, v]}, Table[ FindPath[gd, s, t, Infinity, All], {s, VertexList[gd]}, {t, VertexList[gd]} ] ], {v, VertexList[g]} ] ``` Both your... |
I was wondering about adding new rules to the linter. There is a tutorial in the documentation, but it is a bit outdated. What is the difference between `ConcreteRules`, `AbstractRules` and `AggregateRules`, and which one should we look at first... |
Nice to see LTemplate in action :-) You can also use ``` ImageCrop@Colorize[ sp@"CreateSandpile"[100000], ColorRules -> {0 -> Black, 1 -> Magenta, 2 -> Red, 3 -> Blue} ] ``` Since LTemplate works with classes/objects, one could... |
I linked to a number of pointers in my previous posts: do those help? |
This is a first experiment for me in inlining a notebook: &[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/1671860c-8f29-4600-9621-498dcdc3e44c |
With the IGraph/M package, it is easy to map one graph property into another one, e.g. to map edge weights into edge styles. Here's an example weighted graph, with weights between 2 and 10. g = RandomGraph[{10, 20}, EdgeWeight ->... |
Just be sure to also set `"CurrencyTokens" -> None`, otherwise there can be bad surprises: ``` In[103]:= ImportString[ "1a;23 1b;56 1c;78", "Table", "FieldSeparators" -> {";"}] Out[103]= {{"1a", 23}, {"1b", 56}, {1, 78}} ``` Oops,... |
Maybe like this? ``` asc = Import[ "https://analisis.datosabiertos.jcyl.es/explore/dataset/situacion-\ de-hospitalizados-por-coronavirus-en-castilla-y-leon/download/?format=\ ... |