function x = fxsteep(f,e,a,b)x1 = a;x2 = b;Q = fxhesson(f,x1,x2);x0 = [x1,x2]';temp = [x0];fx1 = diff(f,'x1');fx2 = diff(f,'x2');g = [fx1,fx2]';g1 = s...
分类:
其他好文 时间:
2014-11-21 23:05:43
阅读次数:
851
JS学习记录:1.html输出: doucument.write("这是html输出!")您只能在 HTML 输出流中使用 document.write。 如果您在文档已加载后使用它(比如在函数中),会覆盖整个文档。2.对事件作出反应:alter("welcome") alert() 函数在...
分类:
Web程序 时间:
2014-11-21 20:19:54
阅读次数:
199
php 开发时一个启用了session_start()页面,由于执行时间过长,导致如果一个用户在访问,另一个用户启用session_start()的时候处于阻塞状态。直到第一个用户完毕 ,第二个才能启用。开始读取。这就是session阻塞。session 默认以文件保存,当一个用户访问session...
分类:
Web程序 时间:
2014-11-21 20:19:53
阅读次数:
180
Generate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a...
分类:
其他好文 时间:
2014-11-21 20:12:47
阅读次数:
175
js方法如下:function addDate(ymd,day){ var temp = new Date(ymd); temp = temp.valueOf(); temp = temp + day * 24 * 60 * 60 * 1000; temp = new Date(temp); ret...
分类:
其他好文 时间:
2014-11-21 18:34:47
阅读次数:
173
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-11-21 18:34:47
阅读次数:
167
1、从文件类型上分可分为三种,用ls-l查询,以“一”开头的是文件,以字母“d”开头的是目录(俗称文件夹),以字母“l”开头的是连接。2、剩下的9个分别三个为一组每一组都有四种符号组成分别是“r”,“w”,“x”,“-”。r(read):代表读的权限w(write):代表写的权限x (execuit...
分类:
系统相关 时间:
2014-11-21 18:27:49
阅读次数:
185
第21章 非变易算法 Non-modifying sequence operations 21.0 advance, distance 为了了解模板,先了解一下这两个迭代器操作函数 21.1 逐个容器元素for_each for_each Apply function to range (temp....
分类:
编程语言 时间:
2014-11-21 17:55:14
阅读次数:
168
"22994 : Error:Unable to create Java VM" This error usually means that the PATH and the CLASSPATH environment ?variables are not set properly. Delete ini file for Vugen: a. Shutdown ?Vugen. b. G...
分类:
编程语言 时间:
2014-11-21 16:49:19
阅读次数:
142
在hibernate使用的日志标准都为slf,slf可以看作为它的接口,因此需要找到它的实例,为我们做日志。我们选择使用log4j为实例。1、为防止冲突,先将slf4j-nop的jar包(它也是slf的一个实例)去除2、加入log4j的jar包。3、加入转换包slf4j-log4j4、src下假如log4j.properties配置..
分类:
Web程序 时间:
2014-11-21 16:40:25
阅读次数:
219