这个简单的perl脚本用来在阿拉伯数字与罗马数字之间互相转换。 程序的功能有限,帮助信息也没有,但是很短小,我写这个代码的目的也是just-for-fun,呵呵。 使用方法 ======== 把函数 Arabic2Roman 或者 Roman2Arabic 复制到你的代码里,然后调用就行了。 版权 ==== 没有:)
上传时间: 2016-03-27
上传用户:manlian
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
标签: introductory HelloWorld containing Directory
上传时间: 2016-03-29
上传用户:exxxds
多项式曲线拟合 任意介数 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
标签: Least-squares arbitrary Purpose Builder
上传时间: 2013-12-18
上传用户:宋桃子
Kiss FFT is a small and simple FFT library. It has no complicated platform-specific optimizations, can do either fixed or floating point with just a recompile, and is efficient enough for all but the most demanding applications.
标签: platform-specific optimizations complicated FFT
上传时间: 2016-04-07
上传用户:h886166
Here we are at the crossroads once again Youre telling me youre so confused You cant make up your mind Is this meant to be Youre asking me Trademark But only love can say - try again or walk away But I believe for you and me The sun will shine one day So Ill just play my part And pray you ll have a change of heart But I cant make you see it through Thats something only love can do Face to face and a thousand miles apart Ive tried my best to make you see Theres hope beyond the pain If we give enough if we learn to trust [Chorus] I know if I could find the words To touch you deep inside Youd give our dream just one more chance Dont let this be our good-bye
标签: crossroads confused telling again
上传时间: 2016-04-12
上传用户:changeboy
// // Histogram Sample // This sample shows how to use the Sample Grabber filter for video image processing. // Conceptual background: // A histogram is just a frequency count of every pixel value in the image. // There are various well-known mathematical operations that you can perform on an image // using histograms, to enhance the image, etc. // Histogram stretch (aka automatic gain control): // Stretches the image histogram to fill the entire range of values. This is a "point operation," // meaning each pixel is scaled to a new value, without examining the neighboring pixels. The // histogram stretch does not actually require you to calculate the full histogram. The scaling factor // is calculated from the minimum and maximum values in the image.
标签: Sample Histogram Grabber sample
上传时间: 2013-12-15
上传用户:ryb
These listed libraries are written in WTL. But it s really hard to mix both MFC & WTL together. Obviously, it s not reasonable to ask a developer or a team to giving up MFC and move to the WTL world just because there were some great controls or visual Frameworks written in WTL (there are many things that should be considered especially in a company with hundreds of developers like the company I work for). Unfortunately, there was no such good and free visual Framework in MFC until now. Whatever difficulties there are, I still desire to be able to use them and now my effort is here to be shared with you. Under the Hood
标签: libraries WTL together written
上传时间: 2013-12-18
上传用户:wcl168881111111
ATViewer is a component for Delphi/C++Builder, which allows to view files of various types. There is no edit possibility, just quick view - so it s useful to implement "View file" feature in your Delphi/C++Builder application. The following view modes are implemented: Text, Binary, Hex, Unicode: all files, of unlimited size. Plain file dump is shown. Used ATBinHex component: only visible part of file is loaded into memory. Modes are suitable for huge files and files of unknown type. RTF/UTF-8: RTF and UTF-8 encoded texts. File is shown using RichEdit control. Image: all general image formats: BMP JPG ICO GIF PNG... File is shown using ATImageBox component. Multimedia: all file types supported by MS Windows Media Player: AVI MPEG WMV MP3... File is shown using WMP ActiveX control. Internet: all file types supported by MS Internet Explorer: HTML XML DOC XLS... File is shown using MSIE ActiveX control. Plugins: all files supported by Total Commander Lister plugins.
标签: component ATViewer Builder various
上传时间: 2013-12-24
上传用户:小鹏
I ve written some many years ago dynamic Huffman algorithm to compress and decompress data. It is mainly targeted to data with some symbols occuring more often than the rest (e.g. having some data file consisted of 3 different symbols and their total number of occurence in that file s1(1000), s2(200), s3(30) so the total length of file is 1000+200+30=1230 bytes, it will be encoded assigning one bit to s1 and 2 bits to s2, s3 so the encoded length will be 1*1000+2*(200+30)=1460 bits=182 bytes). In the best case the file consisted of just one symbol will be encoded with compression ratio as 1:8. Huffman coding is used in image compression, however in JPEG2000 arithmetic codec is imployed.
标签: decompress algorithm compress Huffman
上传时间: 2016-05-16
上传用户:aysyzxzm
I made a lot of changed on this object,such as * // 1.Encapsulates all code in one userobjet,since PB does not * // support "Address of Function" , so we can not set new * // WndProc, just makes the object more easy to use. * // 2.Uses structure array instead of Datastore * // 3.Calc width of menuitem at runtime(MEASUREITEM) * // 4.Draw disabled status
标签: Encapsulates userobjet changed object
上传时间: 2014-01-14
上传用户:lx9076