Skip to main content

All Questions

11 votes
2 answers
475 views

How can I create an atomic head or treat some head as atomic during Map?

For example, Map[g, {0, {h[1, 2, 3]}}, {-1}] gives {g[0], {h[g[1], g[2], g[3]]}} I want a ...
matheorem's user avatar
  • 17.2k
2 votes
1 answer
276 views

Internal`CopyListStructure makes fatal error sometimes

Warning : At least in my PC (windows 10, mathematica V12.2), some of the codes here led to fatal error. Fatal means mathematica will freeze + 'Abort Evaluation' will not work. I had to quit the kernel ...
imida k's user avatar
  • 4,315
13 votes
1 answer
197 views

Can't make more than 249 Internal`Bags in a Table

I need a lot of Internal`Bags so I made them with Table. It works fine for 249 or fewer Bags...
Chris K's user avatar
  • 20.3k
13 votes
1 answer
484 views

Undocumented TableView function

Seeking information on undocumented function TableView. Exempli gratia, tab=Table[Table[If[Mod[i,Prime[j]]==1,1,0],{i,1,10}],{j,1,2}] tab//TableView $ $ ...
Carl's user avatar
  • 717
8 votes
2 answers
348 views

How to convert a RawArray of bytes to ByteArray?

A ByteArray can be converted to a RawArray: ...
Szabolcs's user avatar
  • 236k
35 votes
1 answer
1k views

How can I work with RawArray?

RawArray seems to be able to efficiently hold integer and floating point data of various sizes. What is RawArray good for? How ...
Szabolcs's user avatar
  • 236k
10 votes
1 answer
1k views

Pareto optimal fronts using internal function?

Reading this question: How do I estimate the Pareto front in my multiobjective optimization problem? I found @Daniel Lichtbau's interesting answer. Yet I don't know how such an "internal function" ...
Mirko Aveta's user avatar
  • 2,202
13 votes
2 answers
426 views

What does IndexBy do and how exactly does it work?

I just saw the function IndexBy in the autocomplete suggestions and I was curious to know exactly how it works. Unfortunately, there's no trace of it in the ...
Emilio Pisanty's user avatar
27 votes
1 answer
787 views

Undocumented form for Extract

Prompted by a comments conversation here, here's an interesting (and often performance enhancing) use of Extract: ...
ciao's user avatar
  • 25.9k
5 votes
0 answers
319 views

Strange behavior of undocumented RawArray and ArrayObject expressions [duplicate]

I discovered several strange results and inconsistencies while trying to understand what undocumented RawArray and ArrayObject ...
Vladimir Reshetnikov's user avatar