Welcome![Sign In][Sign Up]
Location:
Search - off.j

Search list

[Other resourcecolin

Description: CoLIN 人工语言模拟 汉化版 2002年8月9日 原作者 布朗 alan j. brown 15 Kinloch Road Renfrew Scotland PA4 0RJ alan@barc0de.demon.co.uk http://www.barc0de.demon.co.uk/ 汉化者 陈辉 主页: http://go2debug.yeah.net 邮件: go2debug@hotmail.com ICQ: 149054569 简介 通过菜单可以清空数据库。 程序会从你的输入中学习,如果你不想这样,就请关闭学习功能。 原作者声明 This program is giftware. If you like it send me something nice. Copyright is fully reserved by Alan J. Brown, any program developed from the CoLIN source code must give Alan J. Brown appropriate credit. 更多问题 请到我的主页 http://go2debug.yeah.net 或者给我发信 go2debug@hotmail.com 另外在布朗的主页上有留言板-CoLIN artificial language simulation Chinese Version August 9, 2002 Author Brown alan j. br own 15 Kinloch Road Renfrew Scotland mouse 0RJ ala n@barc0de.demon.co.uk http : / / www.barc0de.demon.co.uk/ sanctioned Hui Home : http : / / go2debug.yeah.net mail : go2debug@hotmail.com ICQ : 149054569 brief menu can be cleared through the database. Procedures will be imported from your studies, if you do not want to do, turn off the learning function. Authorship Statement This program is giftware. If you like it se nd me something nice. Copyright is fully eser ed by Alan J. Brown, any program developed from the source cod CoLIN e must give Alan J. Brown, appropriate credit. more I question the free home page http : / / go2debug.yeah.net or write to me go2debug @ hotmai in addition l.com Brown'
Platform: | Size: 50574 | Author: 陈雯 | Hits:

[GUI Develop200661131050069

Description: 选择排序是一种比较优化的排序,它定义的k意义在于表示一次循环后找到的最小(大)值的位置,然后让第i个(第几次循环就是第几个)植交换,这样在第一轮循环中就把最小(大)的值换到了最前面,如果只用i,j 的话,就没有办法找出待排序数据中的最值了 比较排序也叫冒泡排序,就是把相邻的数据比较交换,因为其把小的数字从后面往前慢慢移动,感觉象水泡上升一样,所以叫冒泡排序法. 如过你还没理解,留言~-SELECTION SORT is a more optimal sequencing, its definition of k significance lies in a circle said they find the smallest (large) value of the location, i then allow the first (the first cycle was the first several several) plant exchange, this cycle in the first round put the smallest (CUHK) for the value of the front, if only i, j, then there is no way to identify sequencing data to be the most value compared sequencing is also called Bubble Sort. adjacent is to the comparison of data exchange, because of their small numbers from the back slowly moving forward, Soak up feeling like the same, so called Bubble Sort law. No off if you understand that message ~
Platform: | Size: 3268 | Author: 斯多葛 | Hits:

[matlabMatlab 牛顿插值法

Description:

x=a:(b-a)/n:b; %插值节点
y=f(x);
plot(x,y,'b') %用蓝色线作被插函数图象
hold on
z=a:(b-a)/(2*n):b;
n=length(x);
for j=2:n
for i=n:-1:j
y(i)=(y(i)-y(i-1))/(x(i)-x(i-j+1));%计算差商
end
end
u=y(n);
m=length(z);
for j=1:m
for i=n-1:-1:1
u=y(i)+u*(z(j)-x(i)); %计算牛顿插值多项式的值
v(j)=u;
end
u=y(n);
end
plot(z,v,'r') %用红色线作牛顿插值多项式图象
hold off


Platform: | Size: 378 | Author: xie3256035 | Hits:

[Algorithmhyplas

Description: ************************************************************************ * * * * * THIS IS THE H Y P L A S 2.0 README FILE * * ----------------- * * * * HYPLAS is a finite element program for implicit small and large * * strain analisys of hyperelastic and elasto-plastic two-dimensional * * and axisymmetric solids * * * * HYPLAS v2.0 is the companion software to the textbook: * * EA de Souza Neto, D Peric & DRJ Owen. Computational Methods for * * Plasticity: Theory and Applications. Wiley, Chichester, 2008. * * (www.wiley.com/go/desouzaneto) * * * * Copyright (c) 1998-2008 EA de Souza Neto, D Peric, D.R.J. Owen * *----------------------------------------------------------------------* * File last updated: 18 October 2008 * * * * This file belongs in the directory ../HYPLAS_v2.0 * ************************************************************************ * * * I M P O R T A N T * * * * READ SECTIONS 0 TO 3 OF THIS FILE CAREFULLY BEFORE ATTEMPTING * * TO COMPILE AND RUN THE PROGRAM HYPLAS ON YOUR COMPUTER !! * * * * THE AUTHORS DO NOT GUARANTEE THAT ANY SUGGESTIONS/INSTRUCTIONS * * GIVEN IN THIS README FILE WILL WORK ON ANY PARTICULAR OPERATING * * SYSTEM. IF YOU DECIDE TO FOLLOW ANY SUGGESTIONS/INSTRUCTIONS * * GIVEN HERE YOU MUST DO SO AT YOUR OWN RISK. * * * * * * BUG REPORTS: Please send bug reports to * * * * hyplas_v2.0@live.co.uk * * * * Messages sent to the authors' personal email addresses * * will NOT be answered. * ************************************************************************ This file contains the following sections: 0. Copyright statement and disclaimer 0.(a) Copyright statement 0.(b) Disclaimer 0.(c) Conditions of use 1. Introduction 1.(a) Note on portability 2. Compiling and running HYPLAS 2.(a) Memory requirements 2.(b) Testing a newly compiled executable 3. The HYPLAS directory tree 4. Cross-referencing between the source code and the textbook 5. HYPLAS error messaging 6. Further remarks on HYPLAS ************************************************************************ 0. COPYRIGHT STATEMENT AND DISCLAIMER ================================== 0.(a) Copyright statement ------------------- You may only use this program for your own private purposes. You are not allowed, in any circumstances, to distribute this program (including its source code, executable and any other files related to it, either in their original version or any modifications introduced by you, the authors or any other party) in whole or in part, either freely or otherwise, in any medium, without the prior written consent of the copyright holders. 0.(b) Disclaimer ---------- This program (including its source code, executable and any other files related to it) is provided "as is" without warranty of any kind, either expressed or implied, including, but not limited to, any implied warranties of fitness for purpose. In particular, THIS PROGRAM IS BY NO MEANS GUARANTEED TO BE FREE FROM ERRORS. This program (or any modification incorporated to it by you, the authors or any other party) will run entirely at your risk. The results produced by this program are in no way guaranteed to be fit for any purpose. Under no circumstances will the authors/copyright holders be liable to anyone for damages, including any general, special, incidental or consequential damages arising from the use or inability to use the program (including, but not limited to, loss or corruption of data, failure of the program to operate in any particular way as well as damages arising from the use of any results produced by the program for any purpose). 0.(c) Conditions of use ----------------- You may only use this program if you fully understand and agree with the terms of the above disclaimer. You must not use this program if you do not agree with or do not understand (fully or in part) these conditions of use. 1. INTRODUCTION ============ HYPLAS is a finite element code for small and large strain analysis of hyperelastic and elasto-plastic solids. Most procedures implemented in HYPLAS are described in detail in its companion textbook: EA de Souza Neto, D Peric & DRJ Owen. Computational Methods for Plasticity: Theory and Applications. Wiley, Chichester, 2008 (www.wiley.com/go/desouzaneto). 1.(a) Note on Portability ------------------- HYPLAS has been written in standard ANSI FORTRAN 77. Currently, the only known (and deliberate) exceptions to the FORTRAN 77 ANSI standard are the instructions: INCLUDE '' used in many routines to include the HYPLAS database files (common blocks and global variables), and; CALL GETENV('HYPLASHOME',HYPLASHOME) used in subroutine "ERRPRT" (file ../HYPLAS_v2.0/src/GENERAL/errprt.f). This instruction inquires the name of the system environment variable HYPLASHOME and writes it on the character string HYPLASHOME. This instruction is NOT part of the ANSI FORTRAN 77 standard, but seems to work in most currently available FORTRAN 77 compilers. 2. COMPILING AND RUNNING H Y P L A S ================================== The HYPLAS source code is stored in directory ../HYPLAS_v2.0/src/ (../HYPLAS_v2.0/ being the current directory) and all its subdirectories. To generate an executable file, you just need to compile the FORTRAN source files: ../HYPLAS_v2.0/src/hyplas.f and ../HYPLAS_v2.0/src/*/*.f together. We recommend that the executable HYPLAS be stored in the directory ../HYPLAS_v2.0/bin to which the environment variable HYPLASHOME should be set (see below how to set a system environmental variable). WINDOWS (R) systems ------------------- On Microsoft Windows(R) systems, HYPLAS has been successfully compiled using Intel Visual Fortran Compiler(R) integrated with Microsoft Visual Studio(R). Here you only need to create a project that contains all Fortran source files mentioned above as well as the include files ..\HYPLAS_v2.0\src\*.INC On a Windows XP system, the system environment variable HYPLASHOME can be set as follows: 1. Open a File Manager 2. Right-click on the "My Computer" icon 3. Select "Properties" on the drop-down menu 4. A new window named "System Properties" will pop-up. Here select the "Advanced" tab. 5. On the "Advanced" tab, click the "Environment Variables" button. 6. A new window titled "Environment Variables" will pop-up. Here click the button "New" in the "System Variables" section of the window. 7. A new window will pop-up titled "New System Variable". Here you should fill the fields "Variable name" and "Variable Value", respectively, with HYPLASHOME and the path name (in full) of the directory ..\HYPLAS_v2.0\bin. 8. Press "OK" on the relevant pop-up windows. 9. The next time the computer is REBOOTED, this variable will be set to the correct path and HYPLAS should be able to find the error messages file ERROR.RUN if required. UNIX/LINUX systems ------------------ In a UNIX/LINUX operating system using a C-shell, for instance, the HYPLASHOME environment variable should be set with the command: setenv HYPLASHOME where here denotes the full path to the directory ../HYPLAS_v2.0/bin. To compile HYPLAS (from directory ../HYPLAS_v2.0/src) with a FORTRAN 77 compiler such as g77, you can use the command: g77 -o ../bin/hyplas hyplas.f */*.f Note that the executable file "hyplas" will be stored in the directory ../HYPLAS_2.0/bin (i.e. the directory set in the HYPLASHOME environment variable). Alternatively, you may use the Makefile provided (with suitable modifications, if needed) to create the HYPLAS executable. IMPORTANT: Before generating a HYPLAS executable, read Sections 2.(a) and 2.(b) below. 2.(a) Memory Requirements ------------------- HYPLAS memory requirements depend on the array dimensioning parameters set in files: ../HYPLAS_v2.0/src/ ELEMENTS.INC GLBDBASE.INC MATERIAL.INC MAXDIM.INC Files ELEMENTS.INC, GLBDBASE.INC and MATERIAL.INC contain parameters which are associated with the currently implemented finite elements and materials. DO NOT MODIFY THEM ! unless you are absolutely sure of what you are doing (only developers coding new elements or new material models/analysis types may need to modify them by changing the existing dimensioning parameters and/or including new parameters). The ONLY dimensioning file that can be safely modified by the average user is the file MAXDIM.INC This file contains the array dimensioning parameters related to the maximum permissible dimension of problems to be analysed by HYPLAS. These parameters include the maximum number of nodes, elements, element groups, etc. If necessary, CHANGE THESE PARAMETERS TO SUIT YOUR PROBLEM SIZE/MEMORY REQUIREMENTS before compiling HYPLAS. 2.(b) Testing a newly compiled executable ----------------------------------- After you have successfully compiled the HYPLAS source code and created an executable file, the next step is to run some tests to verify that HYPLAS is working well. To do this, proceed as follows: The directory ../HYPLAS_v2.0/book_examples/data_files contains a series of data files named .dat of benchmarked examples described in the companion textbook. The corresponding (benchmarked) result files are in the directory ../HYPLAS_v2.0/book_examples/result_files This directory contains a series of result files named .res generated with the current version of HYPLAS on a tested platform. All these files have been named such that their names start with the textbook section number where the corresponding example is described. For instance, files 14_9_2_tresca.dat and 14_9_2_tresca.res refer to a problem described in section 14.9.2 of the textbook, and so on. To check that HYPLAS is working well on your platform, after compiling HYPLAS, run the program HYPLAS for the examples of files .dat and compare the newly generated results .res with their benchmarked counterparts (of the same filename) in the result_files directory. To run an example, execute HYPLAS and use the keyboard to enter the name of the corresponding data file in full (including the extension .dat). To compare the benchmarked .res files against their newly generated you may proceed as follows: 1. On MICROSOFT WINDOWS systems - Here we have successfully used the software "ExamDiff" (the task was made particularly easy by selecting "View" and then the "Show Differences Only" option - this refers to version 1.8 of this software). 2. On UNIX/LINUX systems - Here we use the "diff" command from a shell window (and set the option to ignore blank spaces). A shell script may be used to perform this task automatically (including running HYPLAS and checking for result file differences) for all benchmarked examples provided. IMPORTANT: THE ONLY ACCEPTABLE DIFFERENCES BETWEEN A THE NEWLY GENERATED RESULT FILES AND THEIR BENCHMARKED COUNTERPARTS ARE THE DIMENSIONING PARAMETERS (FROM FILE MAXDIM.INC) USED TO COMPILE THE NEW EXECUTABLE (THESE PARAMETERS ARE PRINTED RIGHT AT THE BEGINNING OF THE RESULT FILES) AND NUMERICAL DIFFERENCES IN RESULTS DUE TO NUMERICAL "ROUNDING-OFF" (THESE ARE VERY SMALL DIFFERENCES THAT DEPEND ON THE PRECISION OF ARITHMETIC OPERATIONS IN THE PLATFORM USED). ALSO NOTE THAT THE EXAMPLES OF THE COMPANION TEXTBOOK DO NOT COVER ALL FEATURES OF HYPLAS. HENCE THIS TEST DOES NOT GUARANTEE THAT EVERYTHING IS WORKING PROPERLY. 3. THE H Y P L A S DIRECTORY TREE ================================ 3.(a) Summary ------- ../ HYPLAS_v2.0/ bin/ book_examples/ data_files/ result_files/ man/ html/ src/ CRYSTAL/ DAMAGE/ DAMAGED_ELASTIC/ DRUCKER_PRAGER/ ELASTIC/ ELEMENTS/ GENERAL/ MATERIALS/ MATHS/ MOHR_COULOMB/ OGDEN/ TRESCA/ VON_MISES/ VON_MISES_MIXED/ 3.(b) Description ----------- The HYPLAS program directory tree is organised as follows: ../HYPLAS_v2.0/ (this directory) This is the HYPLAS root directory, where the HYPLAS directory tree starts. ../HYPLAS_v2.0/bin/ This directory contains the file ERROR.RUN where most HYPLAS error/warning messages are. IMPORTANT: the environment variable HYPLASHOME should be set to this directory. Otherwise, HYPLAS will not find its error/warning messages when required. We also recommend that the EXECUTABLE of HYPLAS be stored in this directory. ../HYPLAS_v2.0/book_examples/ This directory has the following subdirectories: ../HYPLAS_v2.0/book_examples/data_files ../HYPLAS_v2.0/book_examples/result_files Refer to Section 2.(b) above for further details. ../HYPLAS_v2.0/man/ This is the HYPLAS documentation/manuals directory. It contains the following files: input_man.txt - A concise input data manual for HYPLAS in ASCII format; hyplas_calltree.txt - Contains a flowgraph (shows the call tree) of HYPLAS in ASCII-format. Note: calls to function subprograms are not included in this flowgraph; and the subdirectory: ../HYPLAS_v2.0/man/html This directory contains the hypertext (HTML) format Fortran source code and of manual pages of the entire HYPLAS program. Manual pages with descriptions of each function/subprogram including their argument list are linked to their corresponding HTML-format source code. This allows the user the navigate through the HYPLAS source code using a web browser. To start at the main program, use your web browser to open the file hyplas.html. This facility should be helpful to those trying to understand the flow of program HYPLAS. ../HYPLAS_v2.0/src/ This directory (and its subdirectories) contains the Fortran source code of HYPLAS. The files containing the sources are named following the standard practice: .f where is the name of the FORTRAN procedure (subroutine, function subprogram, etc.) whose source code is in file .f. The source code of the HYPLAS main program is in file hyplas.f and the HYPLAS database (COMMON blocks, array dimensioning parameters and other global parameters) is coded in the "include files" ELEMENTS.INC GLDBASE.INC MATERIAL.INC MAXDIM.INC in this directory. In addition, this directory contains a file named "Makefile" (UNIX-LINUX Release only) which may be used for compiling and linking HYPLAS in UNIX/LINUX systems. The subdirectories of ../HYPLAS_v2.0/src are as follows: ../HYPLAS_v2.0/src/CRYSTAL Contains the source code of all procedures related to the finite strain single crystal plasticity model implemented in HYPLAS. ../HYPLAS_v2.0/src/DAMAGE Source files of the procedures related to the Lemaitre ductile damage model implementation. ../HYPLAS_v2.0/src/DAMAGED_ELASTIC Source files of the procedures related to the damaged elasticity model with crack closure effect. ../HYPLAS_v2.0/src/DRUCKER_PRAGER Source files of the procedures related to the implemented Drucker-Prager plasticity model. ../HYPLAS_v2.0/src/ELASTIC Source files of the procedures related to the linear elasticity model (Hencky model under large strains) implemented. ../HYPLAS_v2.0/src/ELEMENTS Source files of the element interfaces and element-related procedures. ../HYPLAS_v2.0/src/GENERAL Source files of general procedures. ../HYPLAS_v2.0/src/MATERIALS Source files of the material interfaces. ../HYPLAS_v2.0/src/MATHS Source files of the mathematical procedures. ../HYPLAS_v2.0/src/MOHR_COULOMB Source files of the procedures related to the implemented Mohr-Coulomb plasticity model. ../HYPLAS_v2.0/src/OGDEN Source files of the procedures related to the implemented Ogden hyperelasticity model. ../HYPLAS_v2.0/src/TRESCA Source files of the procedures related to the implemented Tresca plasticity model. ../HYPLAS_v2.0/src/VON_MISES Source files of the procedures related to the implemented von Mises plasticity model with isotropic hardening. ../HYPLAS_v2.0/src/VON_MISES_MIXED Source files of the procedures related to the implemented von Mises plasticity model with mixed isotropic/kinematic hardening. 4. CROSS-REFERENCING BETWEEN THE SOURCE CODE AND THE TEXTBOOK ========================================================== Many references are made in the textbook to various subprograms of HYPLAS. These are usually made when a particular procedure described in the text is implemented in the program. The reader should refer to the textbook index. Also, a substantial number of comment lines have been added to the source code of HYPLAS with reference to sections, figures, boxes, etc of the textbook related to the part of the code in question. Such references are usually displayed after the word "REFERENCE:" (in capitals) on commented lines. Searching for this word will take you to the line of code where the particular routine has a reference to the textbook. NOTE: Occasional references to other textbooks/journal papers are also made following the word "REFERENCE:" on commented lines. 5. HYPLAS ERROR MESSAGING ====================== Most error/warning messages issued by HYPLAS are in the ASCII-format file ERROR.RUN (kept in the HYPLASHOME directory - ../HYPLAS_v2.0/bin). All such error/warning messages have an identification code (e.g. ED0015) which is printed both to the standard output (this is usually the computer screen) and to the relevant results file. If you wish to find where in the source code a particular message is being issued, then perform a search for the corresponding message identification code in the entire source code of HYPLAS. 6. FURTHER REMARKS ON HYPLAS ========================= 6.(a) Program efficiency THIS SECTION IS OF INTEREST ONLY TO THOSE WANTING TO MAKE HYPLAS RUN FASTER. It is particularly stressed in the textbook that this program has not been designed having efficiency in mind (refer to Section 5.1.2 of the textbook). Its structure has been designed mainly to illustrate in a relatively clear manner the computer implementation of the techniques and algorithms described in the text, with a particular view to the implementation of solid constitutive models and finite elements. For those who are especially interested in the speed of the code, there are a few tips that could help in this direction. Unfortunately, these involve modifications to the source code which is probably most appropriate to readers with a good level of experience in finite element programming. To those with this particular interest, we can suggest the following: (i) The use of faster linear solvers This is probably the change that would result in a greater gain in efficiency. The Frontal Method adopted in subroutine FRONT (file ../HYPLAS_v2.0/src/GENERAL/front.f) has been designed originally to save memory (back in the days when computer memory was severely limited). There are currently a vast number of methodologies which focus on speeding up the linear solution, in addition to reducing memory storage requirements (which is a particularly important issue in the solution of large scale problems). Some of these are extensions/refinements of the original Frontal solver. We remark that a number of such procedures (with their respective source codes) are available (conditions may apply) from the LAPACK (Linear Algebra PACKage - http://www.netlib.org/lapack) repository or from the HSL Library (http://www.cse.cse.scitech.ac.uk/nag/hsl). For the reader interested in gaining speed, we would recommend the replacement of the existing solver of FRONT by a faster one. We remark though that this is a substantial programming task. Another aspect here is the fact that computing times in FRONT are directly linked to the frontwidth of the system which, in the present version of HYPLAS is fixed and depends, for a given mesh, on how the degrees of freedom are numbered (node numbering). The incorporation of a frontwidth optimiser (which re-numbers the degrees of freedom in order to minimise the frontwidth) in FRONT could produce some good savings in computing times. Such savings become particularly noticeable in larger problems where the original node numbering produces an excessively large frontwidth. (ii) Material-specific computations The issues pointed out here affect only the computing times for specific material models and are expected to have a much lower impact in overall speed than the linear solver issue discussed above. Some of the material model-specific computations carried out in HYPLAS could be made a bit faster. For example, for isotropic models whose stress update is carried out in the principal stress space (such as the Tresca and Mohr-Coulomb models - see routines SUTR and SUMC, files ../HYPLAS_v2.0/src/TRESCA/sutr.f and ../HYPLAS_v2.0/MOHR_COULOMB/sumc.f, respectively) the spectral decomposition of the stress in carried out in the state update update routine and then repeated in the corresponding routine for computation of the consistent tangent operator (refer to files ../HYPLAS_v2.0/src/TRESCA/cttr.f and ../HYPLAS_v2.0/src/MOHR_COULOMB/ctmc.f, respectively, for the Tresca and Mohr-Coulomb plasticity models). Some savings in computing time can be achieved here by storing the stress eigenprojection tensors (these can be stored as state variables) during the execution of the state updating and then retrieving them later for use in the computation of the consistent tangent operator. This change can be incorporated to the code relatively easily. The computation of the exponential map and is derivative for the single crystal plasticity model (routines EXPMAP, file ../HYPLAS_v2.0/src/CRYSTAL/expmap.f and DEXPMP, file ../HYPLAS_v2.0/src/CRYSTAL/dexpmp.f) is carried out in three dimensions (these routines have been adapted from an earlier three-dimensional code). To improve efficiency, these can be adapted to work only in two-dimensional problems by removing the unnecessary operations related to the third dimension. 6.(b) Output of nodal averaged values The reader should be aware that the way in which nodal averaged values of stresses and other variables are calculated in HYPLAS is very basic (and rudimentary). This feature of the program is made available only to help those interested in producing contour plots, etc from results presented in HYPLAS result files and should be useful in many circumstances of interest. This facility has in fact been used in producing many of the figures presented in the textbook. But note, for example, that the values of incremental plastic multipliers for plasticity models may take (inadmissible) negative values when extrapolated from Gauss-point to nodes and averaged. We remark that more sophisticated and refined techniques of transferring Gauss point values of variables to nodal points and obtaining the corresponding smoothed field are available in the current literature. These fall outside the scope of the companion textbook of HYPLAS.
Platform: | Size: 11008084 | Author: gtcewli3 | Hits:

[Documents自动整理IP

Description: @echo off color 1a title 扫描报告整理程序——飞鱼(专用)QQ:365595926 echo 扫描报告整理程序 echo 专供内部使用 echo 哈哈就要整理好啦~稍等. echo 程序整理中,请稍候…… for /f "usebackq tokens=1,2,3*" %%i in (Result.txt) do ( if 1433==%%j ( echo %%i>>1433.txt ) else ( if 80==%%j ( echo %%i>>80.txt ) else ( if 79==%%j ( echo %%i>>79.txt ) else (
Platform: | Size: 779 | Author: jiuzi123 | Hits:

[PHPPHP安全,第二版

Description: Pro PHP Security is arguably the most comprehensive PHP security book available, and is highly recommended to any developer or administrator of a PHP-based Web site. — Michael J. Ross, Web developer/Slashdot contributor Pro PHP Security is one of the first books devoted solely to PHP security. It will serve as your complete guide for taking defensive and proactive security measures within your PHP applications. (And the methods discussed are compatible with PHP versions 3, 4, and 5.) The knowledge you’ll gain from this comprehensive guide will help you prevent attackers from potentially disrupting site operation or destroying data. And you’ll learn about various security measures, for example, creating and deploying “captchas,” validating e-mail, fending off SQL injection attacks, and preventing cross-site scripting attempts. About the Author Chris Snyder is a software engineer at Fund for the City of New York, where he helps develop next-generation websites and services for nonprofit organizations. He is a member of the Executive Board of New York PHP, and has been looking for new ways to build scriptable, linked, multimedia content since he saw his first Hypercard stack in 1988. Michael Southwell is a retired English professor who has been developing websites for more than 10 years in the small business, nonprofit, and educational areas, with special interest in problems of accessibility. He has authored and co-authored 8 books and numerous articles about writing, writing and computers, and writing education. He is a member of the Executive Board of New York PHP, and a Zend Certified Engineer.
Platform: | Size: 3714563 | Author: sunshine1988 | Hits:

[AI-NN-PRcolin

Description: CoLIN 人工语言模拟 汉化版 2002年8月9日 原作者 布朗 alan j. brown 15 Kinloch Road Renfrew Scotland PA4 0RJ alan@barc0de.demon.co.uk http://www.barc0de.demon.co.uk/ 汉化者 陈辉 主页: http://go2debug.yeah.net 邮件: go2debug@hotmail.com ICQ: 149054569 简介 通过菜单可以清空数据库。 程序会从你的输入中学习,如果你不想这样,就请关闭学习功能。 原作者声明 This program is giftware. If you like it send me something nice. Copyright is fully reserved by Alan J. Brown, any program developed from the CoLIN source code must give Alan J. Brown appropriate credit. 更多问题 请到我的主页 http://go2debug.yeah.net 或者给我发信 go2debug@hotmail.com 另外在布朗的主页上有留言板-CoLIN artificial language simulation Chinese Version August 9, 2002 Author Brown alan j. br own 15 Kinloch Road Renfrew Scotland mouse 0RJ ala n@barc0de.demon.co.uk http :// www.barc0de.demon.co.uk/ sanctioned Hui Home : http :// go2debug.yeah.net mail : go2debug@hotmail.com ICQ : 149054569 brief menu can be cleared through the database. Procedures will be imported from your studies, if you do not want to do, turn off the learning function. Authorship Statement This program is giftware. If you like it se nd me something nice. Copyright is fully eser ed by Alan J. Brown, any program developed from the source cod CoLIN e must give Alan J. Brown, appropriate credit. more I question the free home page http :// go2debug.yeah.net or write to me go2debug @ hotmai in addition l.com Brown'
Platform: | Size: 50176 | Author: 陈雯 | Hits:

[GUI Develop200661131050069

Description: 选择排序是一种比较优化的排序,它定义的k意义在于表示一次循环后找到的最小(大)值的位置,然后让第i个(第几次循环就是第几个)植交换,这样在第一轮循环中就把最小(大)的值换到了最前面,如果只用i,j 的话,就没有办法找出待排序数据中的最值了 比较排序也叫冒泡排序,就是把相邻的数据比较交换,因为其把小的数字从后面往前慢慢移动,感觉象水泡上升一样,所以叫冒泡排序法. 如过你还没理解,留言~-SELECTION SORT is a more optimal sequencing, its definition of k significance lies in a circle said they find the smallest (large) value of the location, i then allow the first (the first cycle was the first several several) plant exchange, this cycle in the first round put the smallest (CUHK) for the value of the front, if only i, j, then there is no way to identify sequencing data to be the most value compared sequencing is also called Bubble Sort. adjacent is to the comparison of data exchange, because of their small numbers from the back slowly moving forward, Soak up feeling like the same, so called Bubble Sort law. No off if you understand that message ~
Platform: | Size: 3072 | Author: 斯多葛 | Hits:

[File Formatmnyz

Description: 一杯沸水冷却,圆柱体模型,底面半径0.05m,高0.1m,周围温度20度,初始水温100度 方程是四维输运方程(常数a^2=k/(c*p),k是热传导系数0.6006焦/(米*秒*度)) 初始条件:t=0时水等于100度 边界条件:1.上下壁都是自由冷却,第三类边界条件,周围温度保持在20度(H=k/h,h取1) 2.杯壁绝热,第二类边界条件 图形显示格式,取过圆柱轴的截面温度变化将其做成动画. -A cup of boiling water for cooling, the cylinder model, the bottom radius of 0.05m, the high-0.1m, an ambient temperature of 20 degrees, the initial water temperature of 100 degrees is four-dimensional transport equation equation (constant a ^ 2 = k/(c* p), k is the thermal conductivity coefficient of 0.6006 J/(m* s* degrees)) initial conditions: t = 0 when the water equivalent to 100 degrees boundary conditions: 1. up and down the wall are free cooling, the third boundary condition, the ambient temperature maintained at 20 degrees (H = k/h, h check one) 2.杯壁insulation, the second boundary condition graphical display format, check-off section of cylindrical shaft temperature change to make animation.
Platform: | Size: 4096 | Author: 周胜灵 | Hits:

[matlabfinalreport

Description: matlab实现的多个基础程序和报告并有流程图(1) 绘出正弦信号波形及频谱。 (2) 单极性归零(RZ)波形及其功率谱,占空比为50%。 (3) 升余弦滚降波形的眼图及其功率谱。滚降系数为0.5。发送码元取值为0、2。 (4) 最佳基带系统的Pe~Eb\No曲线,升余弦滚降系数a=0.5,取样值的偏差是Ts/4。 (5) Pe~Eb\No,升余弦滚降系数a=0.5,取样时间无偏差,但信道是多径信道,C(f)=abs(1-0.5*exp(-j*2*pi*f*dt)),dt=Ts/2。 (6) 仿真数字基带传输系统,包括输入、输出信号波形及其功率谱,眼图(升余弦滚降系数a=0.5),Pe~Eb\No曲线,取样时间无偏差。 -matlab realize a number of the basis of procedures and reports and have flow chart (1) mapped sinusoidal signal waveform and spectrum. (2) unipolar return-to-zero (RZ) waveform and its power spectrum, 50 duty cycle. (3) Raised Cosine rolloff waveform eye diagram and power spectrum. Roll-off factor of 0.5. Send code values for the 0,2 million. (4) the best base-band system Pe ~ EbNo curve, raised cosine roll-off factor a = 0.5, sampling bias is the value of Ts/4. (5) Pe ~ EbNo, raised cosine roll-off factor a = 0.5, sampling time deviation, but the channel is a multipath channel, C (f) = abs (1-0.5* exp (-j* 2* pi* f* dt)), dt = Ts/2. (6) Simulation of digital baseband transmission system, including input and output signal waveforms and power spectrum, eye diagram (raised cosine roll-off factor a = 0.5), Pe ~ EbNo curve, sampling time deviations.
Platform: | Size: 311296 | Author: dongming | Hits:

[JSP/Javanew_installer_offline.jar

Description: freenet安装的版本, Java开发,首先必须安装JDK: 安装:java -jar new_installer_offline.jar-freenet installed version, JAVA development, first of all have to have JDK support the implementation of the installation: java-jar new_installer_offline.jar
Platform: | Size: 9368576 | Author: huanghe | Hits:

[J2MEhtmleditor

Description: 使用Java+Ext技术,为小巧的HTMLArea 编辑器加上图片上传功能,因为以前的HTMLArea其它地方都很完美,就是没有图片上传功能,让喜欢她的人望而却步,现在好了,JAVA高手们运用手中的技术,结合目前流行的AJAX框架EXT技术,为她加入了一个插入图片并上传的功能,先看看www.codefans.net如上截图,貌似很酷的样子,附有JAVA源文件,使用时候是在JSP环境。 -Java+ Ext technology used for compact HTMLArea editor to add image upload feature, since other parts of the HTMLArea are perfect, is that there is no image upload feature, so that people like her off it now, JAVA experts the use of the hands of technology, combined with the popular AJAX framework EXT technology, for her to insert a picture and upload function, www.codefans.net take a look at the screenshot above, looks like cool look, the source file with JAVA , the use of time in the JSP environment.
Platform: | Size: 729088 | Author: 单脚袜子 | Hits:

[Algorithmgauss

Description: 用高斯列主元消元法解下列线性方程组 高斯消元求解一些系数矩阵中含有极小数的情况下,会产生巨大的舍入误差,导致算法失效。一个简单而有效的改进方法是每次在进行将当前列中元素的消成0的运算时,选择当前列j对应的行(j to n)中绝对值较大的一个数作为主元行,这样,误差就会减小很多-PCA with out Gaussian elimination method solution of the following system of linear equations to solve a number of Gauss elimination coefficient matrix contains a very small number of cases, it can have an enormous round-off errors, leading to algorithm failure. A simple and effective way to improve in carrying out elements of the current column to 0 of consumer computing, the choice of the current column j corresponds to the line (j to n) in a larger absolute number of firms as a principal, In this way, a lot of errors will be reduced
Platform: | Size: 102400 | Author: 刘佳 | Hits:

[EditorSkinnable_Windows_NotePad_Clone

Description: Skinnable Windows NotePad Clone (Professional NotePad!) - (Update January 26th, 2007)-Professional NotePad!- Is a Cool 2007 Windows Notepad Clone with the ability to change Themes... Professional Notepad Uses WindowBlinds Technology for the Skinning... NOTE: A Third Party ActiveX Control is Required... Uses DirectSkin For The ActiveX Control http://www.stardock.com You do not need WindowBlinds to Skin This Notepad The Coolest part about the skinning is Any WindowBlinds Theme that you download off of the internet will work with My Notepad... Professional NotePad Was Written and Developed By Me (Michael J. Hardy) Using Visual Basic 6.0 This is Actually My Very First VB Program that Doesn t Use Open Source however, some modules where found on this site... Update: January 26th, 2007- I fixed a Minor Glitch with the Registry and I have also added a Minimize To System Tray Feature... You can choose to Have the Notepad Minimize to the System Tray... This Feature can Also be toggled On/Off like all of the other features... Please Vote! I would like some Help with This Not
Platform: | Size: 5125120 | Author: asdf | Hits:

[Windows Developpoj

Description: pku 3613 Cow Relays 题意:给一个无向图,求从起点s到终点e尽力n条边的路径最小值。 边的数量2<=t<=100(每条边可以重复遍历) 算法:利用dp求出 path[ l ] [ i ] [ k ]=MIN(path[ l ][ i ] [ k ] , path[ l ][ i ] [ j ] + path[ l ][ j ] [ k ]) l 表示的是2的指数,假设 i 到 k 要途径 2^l 条边,那么他可以被分为两段 途径2^(l - 1)的路径。 利用开始的输入,然后递推,就可以推出所有的状态。 当需要找途经N条边的路径最小值时.将上面的值有效的组合起来. 上面求出了 1 2 4 8 16 …… 时的任意两条边的代价 对应的二进制是 1 10 100 1000 10000 …… N可以拆成相应的二进制,然后用类似矩阵相乘的方法,往下推,就得到答案 m表示节点个数,(aXb)表示a行b列的矩阵一个 ,那么(1Xm)* path[ l ](mXm) 。 最终复杂度为O(t^3logn) -Cow Relays Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1163 Accepted: 433 Description For their physical fitness program, N (2 ≤ N ≤ 1,000,000) cows have decided to run a relay race using the T (2 ≤ T ≤ 100) cow trails throughout the pasture. Each trail connects two different intersections (1 ≤ I1i ≤ 1,000 1 ≤ I2i ≤ 1,000), each of which is the termination for at least two trails. The cows know the lengthi of each trail (1 ≤ lengthi ≤ 1,000), the two intersections the trail connects, and they know that no two intersections are directly connected by two different trails. The trails form a structure known mathematically as a graph. To run the relay, the N cows position themselves at various intersections (some intersections might have more than one cow). They must position themselves properly so that they can hand off the baton cow-by-cow and end up at the proper finishing place. Write a program to help position the cows. Find the shortest path that
Platform: | Size: 1024 | Author: zhang | Hits:

[Windows DevelopPoker

Description: “跑得快”是流传于民间的一种常见的扑克牌游戏,52张牌分配给东、南、西、北四家,每家13张,最快出掉手中牌者胜出,所胜点数为其他家手中所剩的牌的张数。出牌组合包括: (1) 单张,大小排列为 3 4 5 6 7 8 9 10 11(J) 12(Q) 13(K) 1(A) 2 (2) 炸弹,4张同点为炸弹,大点压小点,可压任意组合或单张; (3) 同花顺,同一种花色,5连张为同花顺,起张大且张数大时压其它同花顺,也可压其它任何顺; (4) 顺,不同花色,5连张为顺,起张大时压其它顺; (5) 三同,3张牌同点,大点压小点; (6) 对,两张牌不同点为对。 根据上述组合,出牌时能压上家时必须压,否则违规,为简单起见,每回合开始时出牌都从北家开始,并按北、西、南、东次序出牌,某轮次最大的一家再出牌。编写程序实现洗牌发牌,并模仿四家进行游戏,最后统计赢家点数。 -"Run fast" is the spread in the private sector a common poker games, 52 cards assigned to the east, south, west, north four, each 13, the fastest card out off the hands of those who win, the victory points for other homes in the hands of the cards the number of sheets remaining. A brand portfolio includes: (1) leaflets, size of the arrangement for the 3 4 5 6 7 8 9 10 11 (J) 12 (Q) 13 (K) 1 (A) 2 (2) bombs, four bombs with the point, big point pressure dots can be any combination of pressure, or leaflets (3) with a straight flush, the same color, five even Zhang flush, since Da is large and the number of sheets of pressure other straight flush, but also any other pressure-Shun (4), cis, different colors, five with Zhang Shun, when the pressure from other Shun Zhang (5) Three of a Kind, 3 cards with the points, big points, press the small points (6), two cards of different point right. Based on the above combination of pressure when the cards must be pressure on the ho
Platform: | Size: 9216 | Author: Xu Chaoshi | Hits:

[matlabHVEDITTT.ZIP

Description: To design a filter with the following specifications: a) a low pass filter with cut off 2pi/K b) use DFT modulation eq. Hk(z)=H(z) exp(-j*2*pi*(k/K)). The outputs should be shifted in the frequency domian-To design a filter with the following specifications: a) a low pass filter with cut off 2pi/K b) use DFT modulation eq. Hk(z)=H(z) exp(-j*2*pi*(k/K)). The outputs should be shifted in the frequency domian
Platform: | Size: 56320 | Author: mkn | Hits:

[SCMadcmeter

Description: 基于 CS5550 工业测量仪表的设计:ADCMeter.ddb 中包含电路原理图和样品PCB图。本系统以 STC 系列 51 单片机为控制核心,使用高精度 CS5550 A/D 芯片来采集微弱的模拟信号量(如热电偶,热电阻信号量),可在线校准(零校准,满量程校准),校准数据保存到 93C46 中,作为以后 CS5550 运行的校准参数。本系统还包括两行八个数字位的数码管实时地显示采集数据,并可通过板上按键输入,进行输入信号变换的切换。另外还可增加串口通信部分,将采集的数据传输给上位机或其它控制单元。还具有超限报警输出、控制输出等功能。本系统以模块的方式进行编码,各模块的相关程序以文件为单位进行编写。-Based on the CS5550 industrial design of measuring instruments ADCMeter: DDB contains j circuit principle diagram and sample PCB. This system to STC series 51-series microcomputer as the core, the use of high precision CS5550 A/D chip to collect weak analogue quantity (such as thermocouple signal), thermal resistance, on-line calibration (zero calibration, full range calibration), calibration data to 93C46, as CS5550 operation after the calibration parameter. This system includes two lines of eight digit place of digital data real-time display tube, and through the plate buttons on the input signal transform input, the switch. Also can increase the serial communication, data gathering part to PC or other control unit. Also has the off-gauge alarm output, the output control etc. Function. In this system, the module way of each module in relevant procedures for the units in written documents.
Platform: | Size: 382976 | Author: limei | Hits:

[Chess Poker gamesBlackjack

Description: 21点一般用到1-8副牌。庄家给每个玩家发两张牌,牌面朝上;给自己发两张牌,一张牌面朝上(叫明牌),一张牌面朝下(叫暗牌)。大家手中扑克点数的计算是:K、Q、J 和 10 牌都算作 10 点。 A 牌既可算作1 点也可算作11 点,由玩家自己决定。其余所有2 至9 牌均按其原面值计算。首先玩家开始要牌,如果玩家拿到的前两张牌是一张 A 和一张10点牌,就拥有黑杰克 (Blackjack);此时,如果庄家没有黑杰克,玩家就能赢得2倍的赌金(1赔2)。没有黑杰克的玩家可以继续拿牌,可以随意要多少张。目的是尽量往21点靠,靠得越近越好,最好就是21点了。在要牌的过程中,如果所有的牌加起来超过21点,玩家就输了——叫爆掉(Bust),游戏也就结束了。假如玩家没爆掉,又决定不再要牌了,这时庄家就把他的那张暗牌打开来。庄家根据自己的情况拿牌,一般到17点或17点以上不再拿牌,但也有可能15到16点甚至12到13点就不再拿牌或者18到19点继续拿牌。假如庄家爆掉了,那他就输了。假如他没爆掉,那么你就与他比点数大小,大为赢。一样的点数为平手,你可以把你的赌注拿回来。-21:00 General used the cards 1-8. The dealer to each player two cards, dealt face up to their own two cards issued, a card face up (called the winning numbers), a card face down (called the dark card). We calculated the hands of poker points: K, Q, J, and 10 cards are counted as 10 points. A card can count as 1 point can also be counted as 11 points by the players to decide. All the remaining 2 to 9 licenses according to its original par value. First, players began to license, if the player got the first two cards is a A and a 10-point card to a black Jack (Blackjack) this point, if the dealer does not Black Jack, the player will win 2 times Sweepstakes (1 lost 2). Black Jack, the player can not continue to take the card, feel free to how many. Our objective is to rely on to 21:00, close together as possible, the best is 21 o clock. To license the process, if all the cards add up to more than 21 points, players lose- call ringing off the hook (Bust), the game is over. If the players
Platform: | Size: 2048 | Author: 灏潍 | Hits:

[Algorithmnsym

Description: 该程序用于模拟非对称陀螺分子的转动光谱。可以用于计算最大J为250的谱线,并可以对测得的谱线进行模拟耦合。-This program embodies most features deemed necessary for this type of calculation: Watson s reduced asymmetric top Hamiltonian up to decadic terms, with Wang factorization Reductions A and S, representations Ir and IIIr (note the idiosyncrasy that the latter is not IIIl so that signs of the off-diagonal quartic, sextic.... constants will be reversed) J up to 250, N.lines up to 10000, the latter can easily be increased by changing NLINES in PARAMETER statements Lines can have differing measurement errors for unequal weighting and fitting of blended lines is supported Lines can carry annotations, both at the end of each transition, as well as between transition declarations, in the form of full comments, or just spacing lines Automatic generation of entries for the various Q-type bands and the high-J, R-type bands (see J.Mol.Spectrosc. 177,240(1996) and 178,125(1996)) Publication type formatting of resulting constants and cleaned up output of the frequency table for elect
Platform: | Size: 5120 | Author: 红袖 | Hits:
« 12 »

CodeBus www.codebus.net