网站首页
编程语言
数据库
系统相关
其他分享
编程问答
2.50
2024-10-20
2.2-2.50
2.2点击查看代码fromscipy.specialimportgammaimportpylabaspltimportnumpyasnpplt.rc('text',usetex=True)x=np.linspace(-5,5,1000)plt.plot(x,gamma(x),c='k')plt.xlabel('$x$')plt.ylabel('$\Gamma(x)$');plt.s
2024-10-20
sicp每日一题[2.50]
Exercise2.50Definethetransformationflip-horiz,whichflipspaintershorizontally,andtransformationsthatrotatepainterscounterclockwiseby180degreesand270degrees.这道题挺有意思的,搞明白这道题就明白了frame的3个点的位置。如上图所示,为了更好