Any Mathematica tricks to share?
Any Mathematica tricks to share?
Hi, I've just picked up Mathematica again after so many years, I wonder if you guys have cool tricks to share

 Posts: 495
 Joined: Sun Mar 22, 2015 2:30 pm
 Location: India
 Contact:
Re: Any Mathematica tricks to share?
The undocumented Algebra`MatrixPowerMod. Useful in many PE problems.
It is not knowledge, but the act of learning, not possession but the act of getting there, which grants the greatest enjoyment.
Re: Any Mathematica tricks to share?
You can use parallel processing st speed things up. Either parallelmap or define functions to operate on lists (“Listable”). Also some functions you define can be complied to rum faster.