??
练习1.33
题目第二行描述,只组合起由给定范围得到的项里的那些满足特定条件的项,因此我们需要在这一版本的accumulate中添加一个need-filter?,这个新的谓词可以用来传递下面就要用到的prime?。
(define (filtered-accumulateneed-filter? combiner null-value term a next b)
(...
分类:
其他好文 时间:
2015-02-07 11:50:50
阅读次数:
121
??
练习1.31
题目中已经说的很清楚了,product用来返回在给定范围中各点的某个函数值的乘积。我们惊奇的发现这和前面的sum有着很大的相似,无非是将加法换成了乘法:
(define (product term a next b)
(if(> a b)
1
(* (term a)
(product...
分类:
其他好文 时间:
2015-02-07 11:50:34
阅读次数:
115
<dlclass="widgetlink-list">
<dd><h3>明月博客时钟(此处换你自已喜欢的名称)</h3></dd>
<ulid="clock">
<div>
<scriptcharset="Shift_JIS"src="http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_tr.js"&..
分类:
其他好文 时间:
2015-02-06 15:08:06
阅读次数:
116
第一步 安装ntpyum install ntp第二步,查找最近的时间同步服务器http://www.pool.ntp.org/zone/asia第三部编辑 /etc/ntp.confserver 127.127.1.0 iburst # local clock 当外部时间服务器不可用的时候,使用....
分类:
其他好文 时间:
2015-02-06 14:31:14
阅读次数:
103
#include
#include
using namespace std ;
#include
#include
//C语言的库函数rand有以下两个可改进之处
//范围太小,才3万多,改成40亿多
//需要srand,如果不srand 默认只是1。CRand默认值是clock()。注意:Windows下GetTickCount更精确
#define ULONG ...
分类:
其他好文 时间:
2015-02-06 11:16:50
阅读次数:
112
这篇我想分享一个之前在用TimeQuest约束双边沿模块的input delay时犯得一个错误,有人看了可能会觉得傻傻的,什么眼神,falling delay和 falling clk怎么会分不清呢,字面意思好区分,可要深究在约束里的具体含义,还得花点功夫,下面以ddio接收模块为例说明它们的含义以...
分类:
其他好文 时间:
2015-02-05 01:54:40
阅读次数:
404
问题:
RDO repo not detected; installing
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use su...
分类:
其他好文 时间:
2015-02-02 14:18:26
阅读次数:
401
1026. 程序运行时间(15)时间限制200 ms内存限制65536 kB代码长度限制8000 B判题程序Standard作者CHEN, Yue要获得一个C语言程序的运行时间,常用的方法是调用头文件time.h,其中提供了clock()函数,可以捕捉从程序开始运行到clock()被调用时所耗费的时...
分类:
其他好文 时间:
2015-02-01 14:44:45
阅读次数:
135
module pwm_task_logic( clk, pwm_enable, resetn, clock_divide, duty_cycle, pwm_out);//Inputsinput clk; //Input Clock ...
分类:
其他好文 时间:
2015-01-31 01:46:30
阅读次数:
153
I want to run some programs of vs2012 on the vs2013 ,however some errors as follows:
first time the error is :
error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700'
you can do that as fllows :
...
分类:
其他好文 时间:
2015-01-30 22:53:39
阅读次数:
1436