文件名称:RegEx
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 147kb
- 下载次数:
- 0次
- 提 供 者:
- ger***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用.net 4.0实现的计算器,和常见的计算器不同。这个计算器支持复数计算。比如说输入是
3.567E-10+4.89E+5i-.1
它会自动分析出其中的运算有
1. 0.00000000003567
2. 489000i
3. -0.1-As of .NET 4.0, the native library does offer a complex class in the namespace System.Numerics. The ideal situation had been to write the formulas in a way that they are written in for instance Matlab or Matematica.
The solution I have tried is to use Regular Expressions, and write the formula as a simple string, convert the string to a series of complex numbers, perform calculations and give out the calculated result.
The evaluator is more general then to just do calculations on complex numbers however. It can also function as a normal calculator with just real numbers
3.567E-10+4.89E+5i-.1
它会自动分析出其中的运算有
1. 0.00000000003567
2. 489000i
3. -0.1-As of .NET 4.0, the native library does offer a complex class in the namespace System.Numerics. The ideal situation had been to write the formulas in a way that they are written in for instance Matlab or Matematica.
The solution I have tried is to use Regular Expressions, and write the formula as a simple string, convert the string to a series of complex numbers, perform calculations and give out the calculated result.
The evaluator is more general then to just do calculations on complex numbers however. It can also function as a normal calculator with just real numbers
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RegEx\Regex.sln
.....\Regex.suo
.....\RegEx
.....\.....\Application.xaml
.....\.....\Application.xaml.vb
.....\.....\bin
.....\.....\...\Debug
.....\.....\...\.....\Regex.exe
.....\.....\...\.....\Regex.pdb
.....\.....\...\.....\Regex.vshost.exe
.....\.....\...\.....\Regex.vshost.exe.manifest
.....\.....\...\.....\Regex.xml
.....\.....\...\.....\WpfApplication1.exe
.....\.....\...\.....\WpfApplication1.pdb
.....\.....\...\.....\WpfApplication1.vshost.exe
.....\.....\...\.....\WpfApplication1.vshost.exe.manifest
.....\.....\...\.....\WpfApplication1.xml
.....\.....\...\Release
.....\.....\MainWindow.xaml
.....\.....\MainWindow.xaml.vb
.....\.....\My Project
.....\.....\..........\AssemblyInfo.vb
.....\.....\..........\MyExtensions
.....\.....\..........\............\MyWpfExtension.vb
.....\.....\..........\Resources.Designer.vb
.....\.....\..........\Resources.resx
.....\.....\..........\Settings.Designer.vb
.....\.....\..........\Settings.settings
.....\.....\obj
.....\.....\...\x86
.....\.....\...\...\Debug
.....\.....\...\...\.....\Application.g.i.vb
.....\.....\...\...\.....\Application.g.vb
.....\.....\...\...\.....\DesignTimeResolveAssemblyReferences.cache
.....\.....\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
.....\.....\...\...\.....\GenerateResource.read.1.tlog
.....\.....\...\...\.....\GenerateResource.write.1.tlog
.....\.....\...\...\.....\MainWindow.baml
.....\.....\...\...\.....\MainWindow.g.i.vb
.....\.....\...\...\.....\MainWindow.g.vb
.....\.....\...\...\.....\Regex.exe
.....\.....\...\...\.....\Regex.g.resources
.....\.....\...\...\.....\Regex.pdb
.....\.....\...\...\.....\Regex.vbproj.FileListAbsolute.txt
.....\.....\...\...\.....\Regex.xml
.....\.....\...\...\.....\Regex_MarkupCompile.cache
.....\.....\...\...\.....\Regex_MarkupCompile.i.cache
.....\.....\...\...\.....\TempPE
.....\.....\...\...\.....\......\My Project.Resources.Designer.vb.dll
.....\.....\...\...\.....\WpfApplication1.exe
.....\.....\...\...\.....\WpfApplication1.g.resources
.....\.....\...\...\.....\WpfApplication1.pdb
.....\.....\...\...\.....\WpfApplication1.Resources.resources
.....\.....\...\...\.....\WpfApplication1.vbproj.FileListAbsolute.txt
.....\.....\...\...\.....\WpfApplication1.xml
.....\.....\...\...\.....\WpfApplication1_MarkupCompile.cache
.....\.....\...\...\.....\WpfApplication1_MarkupCompile.i.cache
.....\.....\...\...\Release
.....\.....\Regex.vbproj
.....\.....\Regex.vbproj.user
.....\Regex.suo
.....\RegEx
.....\.....\Application.xaml
.....\.....\Application.xaml.vb
.....\.....\bin
.....\.....\...\Debug
.....\.....\...\.....\Regex.exe
.....\.....\...\.....\Regex.pdb
.....\.....\...\.....\Regex.vshost.exe
.....\.....\...\.....\Regex.vshost.exe.manifest
.....\.....\...\.....\Regex.xml
.....\.....\...\.....\WpfApplication1.exe
.....\.....\...\.....\WpfApplication1.pdb
.....\.....\...\.....\WpfApplication1.vshost.exe
.....\.....\...\.....\WpfApplication1.vshost.exe.manifest
.....\.....\...\.....\WpfApplication1.xml
.....\.....\...\Release
.....\.....\MainWindow.xaml
.....\.....\MainWindow.xaml.vb
.....\.....\My Project
.....\.....\..........\AssemblyInfo.vb
.....\.....\..........\MyExtensions
.....\.....\..........\............\MyWpfExtension.vb
.....\.....\..........\Resources.Designer.vb
.....\.....\..........\Resources.resx
.....\.....\..........\Settings.Designer.vb
.....\.....\..........\Settings.settings
.....\.....\obj
.....\.....\...\x86
.....\.....\...\...\Debug
.....\.....\...\...\.....\Application.g.i.vb
.....\.....\...\...\.....\Application.g.vb
.....\.....\...\...\.....\DesignTimeResolveAssemblyReferences.cache
.....\.....\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
.....\.....\...\...\.....\GenerateResource.read.1.tlog
.....\.....\...\...\.....\GenerateResource.write.1.tlog
.....\.....\...\...\.....\MainWindow.baml
.....\.....\...\...\.....\MainWindow.g.i.vb
.....\.....\...\...\.....\MainWindow.g.vb
.....\.....\...\...\.....\Regex.exe
.....\.....\...\...\.....\Regex.g.resources
.....\.....\...\...\.....\Regex.pdb
.....\.....\...\...\.....\Regex.vbproj.FileListAbsolute.txt
.....\.....\...\...\.....\Regex.xml
.....\.....\...\...\.....\Regex_MarkupCompile.cache
.....\.....\...\...\.....\Regex_MarkupCompile.i.cache
.....\.....\...\...\.....\TempPE
.....\.....\...\...\.....\......\My Project.Resources.Designer.vb.dll
.....\.....\...\...\.....\WpfApplication1.exe
.....\.....\...\...\.....\WpfApplication1.g.resources
.....\.....\...\...\.....\WpfApplication1.pdb
.....\.....\...\...\.....\WpfApplication1.Resources.resources
.....\.....\...\...\.....\WpfApplication1.vbproj.FileListAbsolute.txt
.....\.....\...\...\.....\WpfApplication1.xml
.....\.....\...\...\.....\WpfApplication1_MarkupCompile.cache
.....\.....\...\...\.....\WpfApplication1_MarkupCompile.i.cache
.....\.....\...\...\Release
.....\.....\Regex.vbproj
.....\.....\Regex.vbproj.user