fricas
ksqrt:=kernels(sqrt(x))(1)
Type: Kernel(Expression(Integer))
fricas
name(ksqrt)
Type: Symbol
fricas
argument(ksqrt)
Type: List(Expression(Integer))
fricas
)di op nthRoot
There is one exposed function called nthRoot :
[1] (D,Integer) -> D from D if D has RADCAT
There is one unexposed function called nthRoot :
[1] (Factored(D4),NonNegativeInteger) -> Record(exponent:
NonNegativeInteger,coef: D4,radicand: List(D4))
from FactoredFunctions(D4) if D4 has INTDOM
fricas
nthRoot(x,3)
Type: Expression(Integer)
fricas
nthRoot(x,2)
Type: Expression(Integer)
fricas
nthRoot(x,1)
Type: Expression(Integer)
fricas
nthRoot(x,-1)
Type: Expression(Integer)
fricas
nthRoot(x,-2)
Type: Expression(Integer)
fricas
nthRoot(x,-3)
Type: Expression(Integer)
fricas
nthRoot(x,0)
>> Error detected within library code:
not invertible