Skip to content

Commit 1c6a1f4

Browse files
committed
Fix format.
1 parent ff6cbf1 commit 1c6a1f4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
随机选取两个正整数,它们互质(即最大公约数GCD为1)的概率是 $\frac{6}{\pi^2}$ , 所谓的 互质指两个数没有公共因子(如8和15互质,但8和12不互质,因为公约数为4)。
4747

48-
而这一结论是源自数论中关于 **互质数的密度** 的研究,与黎曼ζ函数相关(难怪我看不懂了)。
48+
而这一结论是源自数论中关于 *互质数的密度* 的研究,与黎曼ζ函数相关(难怪我看不懂了)。
4949

5050
而用蒙特卡罗模拟步骤来计算 ${\pi}$:
5151

chapter2/exercise2-24.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
#+DATE: 2022-11-13 日 17:01
66
练习2-24:
77

8-
[[file:~/code/scheme/SICP/img/chapter2/exercise-2-24.png][file:~/code/scheme/SICP/img/chapter2/exercise-2-24.png]]
8+
[[file:../img/chapter2/exercise-2-24.png]]

chapter2/exercise2-60.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
(intersection-set set1 set2) ; => (1 2 3 3)
3333
#+end_src
3434

35-
=element-of-set?= 的时间复杂度依然是=O(n)= , =adjoin-set=的时间度为 =O(1)=, 因为已经不依赖 =element-of-set?= 函数了。
35+
=element-of-set?= 的时间复杂度依然是 =O(n)= , =adjoin-set=的时间度为 =O(1)=, 因为已经不依赖 =element-of-set?= 函数了。
3636

3737
=union-set= 的时间复杂度为 =O(n)= ,因为需要遍历set1.
3838

chapter2/exercise2-73.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
a. 将求和和求积的求导过程存储在表格中,通过操作类型获取过程并执行。因为 =number= 和 =same-variable= 不是调用过程,而是直接返回数值。
99

10-
b. 虽然作者说在3.3.3节,要介绍=put= 和=get= 的实现,但我们也可以提前想到如何实现=put= 和 =get=,使用 hashtable:
10+
b. 虽然作者说在3.3.3节,要介绍 =put= 和 =get= 的实现,但我们也可以提前想到如何实现 =put= 和 =get=,使用 hashtable:
1111
#+begin_src scheme
1212
(define (variable? x) (symbol? x))
1313

chapter2/exercise2-77.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ z是图2-24里的对象,即=(cons 'complex (cons 'rectangular (cons 3 4)))=
1919
(list op type-tags))))))
2020
#+end_src
2121

22-
当安装 =(put 'magnitude '(complex) magnitude)= 后,=(get op type-tags)= 语句的执行结果就不会为空,就能正确执行。
22+
当安装 =(put 'magnitude '(complex) magnitude)= 后, =(get op type-tags)= 语句的执行结果就不会为空,就能正确执行。
2323

2424
#+begin_src racket
2525
(define (apply-generic op . args)

0 commit comments

Comments
 (0)