• 2024-10-202.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-20sicp每日一题[2.50]
    Exercise2.50Definethetransformationflip-horiz,whichflipspaintershorizontally,andtransformationsthatrotatepainterscounterclockwiseby180degreesand270degrees.这道题挺有意思的,搞明白这道题就明白了frame的3个点的位置。如上图所示,为了更好