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

거기에 mathematica 8에서도 소스를 볼 수있는 비슷한 방법이 있습니까? – saint1729

+1

@ saint1729''GeneralUtilities'PrintDefinitions ['Plot]''와 같이''GeneralUtilities'PrintDefinitions'' 함수를 사용하십시오. – yode

관련 문제