function getQueryObject(url) { url = url == null ? window.location.href : url; var search = url.substring(url.lastIndexOf("?") + 1); var obj = {}; var... ...
分类:
Web程序 时间:
2017-11-25 15:14:53
阅读次数:
182
In computing, a context switch is the process of storing and restoring the state (more specifically, the execution context) of a process or thread so ...
分类:
其他好文 时间:
2017-11-24 18:02:27
阅读次数:
118
主要内容: 目前Python主要应用领域: 云计算: 云计算最火的语言, 典型应用OpenStack WEB开发: 众多优秀的WEB框架,众多大型网站均为Python开发,Youtube, Dropbox, 豆瓣。。。, 典型WEB框架有Django 科学运算、人工智能: 典型库NumPy, Sci ...
分类:
编程语言 时间:
2017-11-23 08:27:17
阅读次数:
176
首先要进入对应的虚拟环境 然后安装包 安装numpy包 pip install numpy -i https://pypi.douban.com/simple 安装scipy pip install scipy -i https://pypi.douban.com/simple 安装scikit-l ...
分类:
其他好文 时间:
2017-11-23 08:21:02
阅读次数:
155
(define (A x y) (cond ((= y 0) 0) ((= x 0) (* 2 y)) ((= y 1) 2) (else (A (- x 1) (A x (- y 1)))))) (A 1 10) (A 2 4) (A 3 3) (define (f n) (A 0 n))(f 0 ...
分类:
其他好文 时间:
2017-11-22 22:00:51
阅读次数:
172
(define (plus-Recursive a b) (if (= a 0) b (inc (plus-Recursive (dec a) b)))) (define (inc n) (+ n 1)) (define (dec n) (- n 1)) (plus-Recursive 3 5) 从 ...
分类:
其他好文 时间:
2017-11-22 21:49:37
阅读次数:
91
(define (sqrt-iter guess x) (if (good-enough? guess x) guess (sqrt-iter (improve guess x) x))) (define (improve guess x) (average guess (/ x guess))) ...
分类:
其他好文 时间:
2017-11-22 14:20:17
阅读次数:
113
(define (SumOfTwoLarge x y z) (if (and (<= x y) (<= x z)) (+ (* y y) (* z z)) (SumOfTwoLarge y x z)) )(SumOfTwoLarge 0 2 2) 感觉我这个很取巧啊,哈哈哈哈. 我还是有点不习惯把函 ...
分类:
其他好文 时间:
2017-11-22 13:08:27
阅读次数:
96
(define (a-plus-abs-b a b) (if (> b 0) (+ a b) (- a b)) )(define (a-plus-abs-b-book a b) ((if (> b 0) + -) a b) )(a-plus-abs-b 1 -1)(a-plus-abs-b-book ...
分类:
其他好文 时间:
2017-11-22 13:02:45
阅读次数:
113