背单词程序 数值微分:包括用插值多项式求数值导数 用三次样条函数...原理和程序设计语言(C语言或FORTRAN语言或BASIC... -a programme for learning vocabulary.It s chinese explain contain too much information,but useless! 下载
|
三阶样条曲线演示 使用鼠标点击输入任意输入点,生成三阶样条曲线。底层图形学原理算法,框架MFC-third-order spline curve demonstration using the mouse to click the importation of arbitrary input to produce third-order spline curves. Bottom graphics algorithms, the framework MFC 下载
|
因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧。 -few days ago because of the knowledge base to see a VC pascal lexical analysis procedures, find that quite complex. In fact, lexical analysis procedure is the same principle, I think if you understood a simple lexical analysis procedure to write complex it is not difficult, is nothing but add a few keywords and writing several conditions judgment statement it. Lexical analysis is the basis of compilers, as well as the most simple. Well, now let us look at the procedures it. Let us look at this small language grammar it. 下载
|
这是 我编的一个小程序,请大家指点。 内容简介:计算机图形学的原理、算法及系统,并用c语言编写绘图程序。主要内容包括计算机图形学的发展概况、图形设备及系统;线段、园、区域填充、线型线宽、字符、裁剪、等基本图形生成算法;样条、Bezier、B样条等常用曲线的概念、生成算法和性质;Coons曲面、Bezier曲面、B样条曲面等常用曲面的基本概念和生成算法;用c语言编写绘图程序。 -This is Part I of a small program, please guidance. Description : computer graphics principles, algorithms and systems, using the c language mapping procedures. The main contents include the development of computer graphics profiles, graphics equipment and systems; Line, the landscape, regional filling, linear linewidth, character, cutting, the basic graphics generation algorithm; Spline, Bezier and B-spline curves and other commonly used concepts, generating algorithm and nature; Coons Surface , Bezier curves, and B-spline surfaces commonly used surfaces such as the basic concepts and generating algorithm; c language with graphics procedures. 下载
|
在本问题的求解中,修桥和挖隧道是两个相类似的求解过程,我们将求解过程分为两个部分:第一、对河岸边一固定点 ,将桥修在 处时,求解由起始点 到经固定点 到居民点 的最短路线。第二、如何确定 的位置,使得总路线的费用最小。我们分别用了两个模型来进行这两部分内容的求解。模型一、针对坡度的限制,利用小区域内的局部最优来达到全局最优。模型二、列出点 有一定的位移时,可以减少的费用 的函数方程,然后利用河岸附近等高线较紧密,公路不能沿偏离等高线方向前进的特性,求出减少的费用 的条件极值,从而确定最佳修桥地点 。最后,我们利用模型一、二的原理对隧道部分的公路做了同样的优化设计,然后得出总的修路费用估计为324万元,较合理。最后,我们对整个做法的误差及合理性做了分析。-in solving this problem, building bridges and two tunnels are dug similar to the solution process, we will be solving process is divided into two parts : the first, on the banks of the river a fixed point of the bridge repair in the Department, from the starting point to solve by the fixed point to settlements in the shortest routes. Second, how to determine the location, making the cost of the smallest general line. We were using the two models, both part of the solution. One model, the slope of the restrictions against use of the local small areas to achieve optimum global optimum. Model 2, listing a certain point of displacement, can reduce the cost of the equation, and then using the riverbank near the contours more closely, not along the highway from contour direction of the character 下载
|
对xml+xsl实现分页排序的改进,使支持对所有数据进行排序 以往见过的利用xml+xsl来实现分页排序的基本都只能本页内排序,而不能对所有数据进行排序,究其原因,简单分析如下: xml+xsl分页原理:在xsl中,遍历节点的时候,可以获取当前节点的位置,而且还能限制显示特定位置的节点,例如有18条记录,可以在xsl中设置只显示第1-6条,也可以设置只显示第7-12条,再配合客户端脚本,就可以动态改变xsl文档中控制显示指定位置节点的属性,从而实现分页(具体见代码)。不过这个有一点就是在xsl中获取的这个位置信息是xml文档中的节点位置,而不是排序后的位置; 同样xml+xsl实现排序原理:xsl可以按照节点的属性来排序,我们可以通过动态改变xsl的相关属性值来达到动态排序的目的。如果两个合起来用,却只能对当前页进行排序。 -right xml xsl achieve Pagination sort of improvement backing the right of all data ranking ever seen in the use of xml xsl order to achieve the basic pagination can only Page Ranking within, but not all right for sorting data and the reason, simple analysis is as follows : Principle xml xsl Pagination : In xsl, traversing nodes, the nodes can access the current location, but will limit revealed specific locations of nodes, for example, 18 records, xsl can be installed in only 1 -6 revealed that the first, can also set up only to No. 7-12, Coupled with the client script, it can change the dynamic control xsl document shows designated spots node attributes, Pagination achieve (see specific code). But the point is the xsl obtain location information of this is the xml document node position, 下载
|
这是一个高速多维插值算法。当我们建模以后,原始的算法可能极为复杂和低速,在现有的计算条件下要得到最终的结果甚至要让我们等白了头,而该模块可以让复杂低速的计算变得简单迅速,甚至瞬间得到结果。它的原理是通过原始模型算法计算出有限的栅格节点,构建出一个多维栅格,而后可以无限次的对多维输入值瞬间得出对应的输出值,而得到的结果跟通过原始算法得到的结果相差无几。 并且,该模块还提供了对输入、输出值的校准功能。 该模块限定的输入、输出值为8位或16位的整数,浮点的计算也可以先变换为整数后再进行高速处理,得到结果后再反变换回去,这对于绝大多数采样是完全足够的。 该模块中包含了足够的源文件,都是以标准C编制的,可以在任何编译环境下进行编译,并且还有调用例子供参考。接口定义见imdi.h文件。-This is a high-speed multi-dimensional interpolation algorithm. When we model after the original algorithm can be extremely complex and slow. In the current calculation under the conditions to be the final outcome even let our other white head, The module allows complex low-speed calculation is simple and quick, and even get instant results. It adopted the principle of the original model algorithm calculated the limited grid nodes to construct a multi-dimensional grid. the latter can be an unlimited number of multi-dimensional import value reached instantaneous value of the corresponding output, and the results obtained through the original algorithm with the results comparable. In addition, the module also provides a pair of input and output value of the calibration. The module limited in 下载
|
前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧-few days ago wrote a small language lexical analysis procedures, because the other day in the knowledge base to see a VC pascal lexical analysis procedures, find that quite complex. In fact, lexical analysis procedure is the same principle, I think if you understood a simple lexical analysis procedure to write complex it is not difficult, is nothing but add a few keywords and writing several conditions judgment statement it. Lexical analysis is the basis of compilers, as well as the most simple. Well, now let us look at the procedures it. Let us look at this small language grammar it 下载
|
这个程序中的两个基本类POP3和SMTP是继承CSocket来的。 这个程序从大体上给出了POP3和SMTP的功能,但是它的接收程序有一些错误。在263.net上接收文件时它不能识别文件头。原因出在它判断信件头和信件体那条语句上。如果将其中的标记字符从/r/n/r/n改成/n/n,那就对了。类似这样的问题还有一些。 它不能处理附件文件。但是它确实把附件文件全部给取下来了,但其中取得信件内容信息时把附件内容给删除了。 总的说来,它基本的功能已经实现了。-the procedures for the two basic categories POP3 and SMTP is the successor to CSocket. This procedure is generally from the POP3 and SMTP functions, but its procedures are receiving some mistakes. 263.net receive the document when it does not recognize the file. The reason for this letter in its judgment on the first letter and statement on access. If the marker characters from / r / n / r / change n / n / n, then the right. Similar problems have some. It could not deal with files attached. But it is true annex to the document from all down, but made the information content of the letter of Annex contents deleted. Overall, its basic function has been achieved. 下载
|
GDI+是对GDI的一个令人兴奋的扩展,但由于某些原因,它没有提供绘制圆角矩形的函数,虽然我们可以在GDI+中使用GDI中的函数,但这样一来我们没办法在圆角矩形中使用GDI+中的纹理和透明色等新特性。怎么办?GDI+中有一个GraphicsPath 的类,我们可以用它构造各种形状并且可用任何画刷来填充这些形状。本源码中提供了一个可以加到任何工程中的函数,并用它来绘制了一个圆角矩形,矩形的远郊程度可以通过一个滑动条来设置...... -GDI GDIGDI GDIGDI How? GDI is a GraphicsPath the category, we can use it for all sorts of shapes and structures available to any brush painting to fill these forms. The source provided a project can be added to any of the functions, and use it to draw a rectangular fillet, rectangular extent of the suburbs of the city through a sliding strip to set up ...... 下载
|