Hot answers tagged

7 votes
Accepted

Why the ugly code is faster than the pretty code?

The issue seems to be that you use coordx1 = coordx[Tab1[[i]][[indexE]], M, Tab2[[j]][[indexE1]]]; instead of ...
4 votes
Accepted

Replacing elements of one table with the elements of another table for common grid

Something along these lines might work: tab2Rules = Thread[ReplacePart[3 -> _] /@ tab2 -> tab2]; tab1 /. tab2Rules ...
  • 15.6k
4 votes
Accepted

Bug of ChoiceDialog

$Version (* "13.2.1 for Mac OS X ARM (64-bit) (January 27, 2023)" *) Clear["Global`*"] From the documentation, "ChoiceDialog allows the ...
  • 140k
3 votes

Replacing elements of one table with the elements of another table for common grid

...
  • 28.8k
3 votes
Accepted

How to enter the input not directly in the code but in some interface sub-window?

You can if you wish set up a GUI with Row, Column, Checkbox, ...
  • 1,790
3 votes
Accepted

How to assign a new value to the table inside Compile?

Not sure if this is a toy example, but here's a way: ...
  • 226k
3 votes
Accepted

How to launch specific section of the Mathematica notebook depending on the dialog choice?

...
  • 12.3k
2 votes

How to enter the input not directly in the code but in some interface sub-window?

You can use FormObject and FormFunction. Create your form. ...
  • 40.7k
1 vote

Why these two ways of interpolations give different results?

I doubt very much about the sense of your attempt "interpolate a distribution". With a little help NIntegrate evaluates similar results. You only have to ...
1 vote

Bug of ChoiceDialog

@BobHanlon is right. On windows 11 with MM 13.2.1 you need the vertical setting. Otherwise it will be incomplete (should be a bug?) ...
  • 3,740
1 vote
Accepted

How to launch the cell associated with many tags?

Maybe something along these lines: ...
  • 15.6k

Only top scored, non community-wiki answers of a minimum length are eligible