5
$\begingroup$

Looking at Names["SystemPrivate*"] gives:

enter image description here

I'd really like to use and look at the code for some of these symbols, e.g.

System`Private`AlgebraicNumberQ

Is there any way to do this?

$\endgroup$
4
  • 1
    $\begingroup$ There are numerous undocumented functions in Mathematica, and a lot of them are useful for regular users. They're just regular functions, but figuring out the calling syntax can be tricky, especially if they don't have DownValues. But, with System`Private`AlgebraicNumberQ it's pretty clear: System`Private`AlgebraicNumberQ[number]. When number is Pi or E it returns False (they're transcendental), but Sqrt[2] is True. $\endgroup$
    – rcollyer
    Mar 28, 2016 at 18:53
  • $\begingroup$ @J.M. I was looking for that question. $\endgroup$
    – rcollyer
    Mar 28, 2016 at 20:05
  • $\begingroup$ @rcollyer, it's sorta kinda hard to forget an answer like ilian's. ;) $\endgroup$ Mar 28, 2016 at 21:05
  • $\begingroup$ @J.M. I remembered it; I just couldn't find it, nor did I recall who wrote it. At least I got the opportunity to upvote it, finally. :) $\endgroup$
    – rcollyer
    Mar 28, 2016 at 21:18

0

Browse other questions tagged or ask your own question.