in reply to root function
FunkyMonk has one way; another is
x(1/y) = eln(x)/y. Just beware that 00 should be undefined, and Perl's ** operator is essentially a wrapper around C's "pow" function, so it will almost certainly puke on (-3)(1/3), even though it shouldn't.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: root function
by psini (Deacon) on Jun 21, 2008 at 21:33 UTC | |
by swampyankee (Parson) on Jun 21, 2008 at 21:40 UTC | |
by psini (Deacon) on Jun 21, 2008 at 21:47 UTC | |
by swampyankee (Parson) on Jun 21, 2008 at 23:39 UTC | |
by ysth (Canon) on Jun 22, 2008 at 06:53 UTC | |
by psini (Deacon) on Jun 22, 2008 at 07:14 UTC | |
|
Re^2: root function
by ikegami (Patriarch) on Jun 21, 2008 at 21:37 UTC | |
by psini (Deacon) on Jun 21, 2008 at 21:42 UTC | |
by ikegami (Patriarch) on Jun 21, 2008 at 21:58 UTC | |
by sasdrtx (Friar) on Jun 21, 2008 at 23:17 UTC | |
by psini (Deacon) on Jun 21, 2008 at 22:03 UTC |