2012-04-20 1 views
0

Я попытался следующие:Как просмотреть исходный код для реализации функции/метода в Maple?

interface(verboseproc=2); 
readlib(FormalPowerSeries); 

, но я не получить исходный код, а я получаю следующие строки:

module() 
local UpdateCoeff,ComplexApart,RationalAlgorithm,constantRE,PSInt,PS,hypergeomRE,de2re,hypergeomRsolve,printDE,DIRECTION,simpl,FindDE,Limit,Recursion,RecursionSimplify,Pochhammer,simpreal,simppoch,simpfact,tofact,`FPS/Hankel1`,`FPS/Hankel2`,`FPS/JacobiP`,`FPS/Bateman`,`FPS/ExpIntegralE`,`FPS/Abramowitz`,`FPS/Fibonacci`,`FPS/LegendreP`,`FPS/LegendreQ`,`FPS/ChebyshevT`,`FPS/ChebyshevU`,`FPS/LaguerreL`,standardsum,REorder,subsspecfunc,SUBS,mysolve; 
export FPS,HolonomicDE,SimpleRE,_pexports,`convert/RESol`; 
global `diff/FPS/Hankel1`,`diff/FPS/Hankel2`,`diff/FPS/JacobiP`,`diff/FPS/LegendreP`,`diff/FPS/LegendreQ`,`diff/FPS/ChebyshevT`,`diff/FPS/ChebyshevU`,`diff/FPS/LaguerreL`,`diff/FPS/Bateman`,`diff/FPS/ExpIntegralE`,`diff/FPS/Abramowitz`,`diff/FPS/Fibonacci`,`convert/FormalPowerSeries`,`convert/FPS`; 

end module 

Есть ли способ, чтобы просмотреть исходный код реализации?

ответ

2
restart: 

interface(verboseproc=3): # verbose printing of procedure bodies 

exports(FormalPowerSeries); # those which you can normally print 

eval(FormalPowerSeries:-FPS); # printing one of the exports 

eval(FormalPowerSeries); # the shell of the module, showing locals 

# normally, you cannot print the locals 
eval(FormalPowerSeries:-RationalAlgorithm); 

kernelopts(opaquemodules=false): # allowing printing of the locals 

eval(FormalPowerSeries:-RationalAlgorithm); 
+0

Вы потрясающий! спасибо ... :) – saint1729

+0

Есть ли аналогичный способ, который мы можем просмотреть в математике 8? – saint1729

+1

@ saint1729 Использовать функцию '' GeneralUtilities'PrintDefinitions'', например '' GeneralUtilities'PrintDefinitions [Plot] '' – yode

 Смежные вопросы

  • Нет связанных вопросов^_^