开源Math.NET基础数学类库使用(07)一些常用的数学物理常数

时间:2021-10-03 11:43:41

原文:【原创】开源Math.NET基础数学类库使用(07)一些常用的数学物理常数

              本博客所有文章分类的总目录:http://www.cnblogs.com/asxinyu/p/4288836.html

开源Math.NET基础数学类库使用总目录http://www.cnblogs.com/asxinyu/p/4329737.html

1.前言

  在前几篇关于Math.NET的博客中(见上面链接),主要是介绍了Math.NET中主要的数值功能,并进行了简单的矩阵向量计算例子,接着使用Math.NET的矩阵等对象,对3种常用的矩阵数据交换格式的读写。一方面可以了解Math.NET的使用,另一方面以后也可以直接读取和保存数据为这两种格式,并在第六篇中介绍了直接求解线性方程组的方法,下面介绍一个Math.NET中非常有用的类:Constants,其中封装了大量的数学及物理常数,可以直接拿来使用。

  如果本文资源或者显示有问题,请参考 本文原文地址http://www.cnblogs.com/asxinyu/p/4299983.html

  Math.NET中的数学物理常数类包括5个类型,下面分别一一进行介绍,主要是对源码的参数进行翻译,更加直观,使用的话根据自己的需要,就无需多说。

2.数学常数

  数学常数都是Double类型,已经非常精确了。直接看源码注释即可,部分没有翻译的,很少用到,看英文吧。  

 /// <summary>数学常数 e ,也称 欧拉数(Euler's number)</summary>
public const double E = 2.7182818284590452353602874713526624977572470937000d; /// <summary>log[2](e):2为底,e的对数</summary>
public const double Log2E = 1.4426950408889634073599246810018921374266459541530d; /// <summary>log[10](e):10为底,e的对数</summary>
public const double Log10E = 0.43429448190325182765112891891660508229439700580366d; /// <summary>log[e](2):e为底,2的对数</summary>
public const double Ln2 = 0.69314718055994530941723212145817656807550013436026d; /// <summary>log[e](10):e为底,10的对数</summary>
public const double Ln10 = 2.3025850929940456840179914546843642076011014886288d; /// <summary>log[e](pi):e为底,pi的对数</summary>
public const double LnPi = 1.1447298858494001741434273513530587116472948129153d; /// <summary>log[e](2*pi)/2</summary>
public const double Ln2PiOver2 = 0.91893853320467274178032973640561763986139747363780d; /// <summary>1/e:e的倒数</summary>
public const double InvE = 0.36787944117144232159552377016146086744581113103176d; /// <summary>sqrt(e)</summary>
public const double SqrtE = 1.6487212707001281468486507878141635716537761007101d; /// <summary>sqrt(2)</summary>
public const double Sqrt2 = 1.4142135623730950488016887242096980785696718753769d; /// <summary>sqrt(3)</summary>
public const double Sqrt3 = 1.7320508075688772935274463415058723669428052538104d; /// <summary>sqrt(1/2) = 1/sqrt(2) = sqrt(2)/2</summary>
public const double Sqrt1Over2 = 0.70710678118654752440084436210484903928483593768845d; /// <summary>sqrt(3)/2</summary>
public const double HalfSqrt3 = 0.86602540378443864676372317075293618347140262690520d; /// <summary>pi,圆周率</summary>
public const double Pi = 3.1415926535897932384626433832795028841971693993751d; /// <summary>pi*2</summary>
public const double Pi2 = 6.2831853071795864769252867665590057683943387987502d; /// <summary>pi/2</summary>
public const double PiOver2 = 1.5707963267948966192313216916397514420985846996876d; /// <summary>pi*3/2</summary>
public const double Pi3Over2 = 4.71238898038468985769396507491925432629575409906266d; /// <summary>pi/4</summary>
public const double PiOver4 = 0.78539816339744830961566084581987572104929234984378d; /// <summary>sqrt(pi)</summary>
public const double SqrtPi = 1.7724538509055160272981674833411451827975494561224d; /// <summary>sqrt(2pi)</summary>
public const double Sqrt2Pi = 2.5066282746310005024157652848110452530069867406099d; /// <summary>sqrt(2*pi*e)</summary>
public const double Sqrt2PiE = 4.1327313541224929384693918842998526494455219169913d; /// <summary>log(sqrt(2*pi))</summary>
public const double LogSqrt2Pi = 0.91893853320467274178032973640561763986139747363778; /// <summary>log(sqrt(2*pi*e))</summary>
public const double LogSqrt2PiE = 1.4189385332046727417803297364056176398613974736378d; /// <summary>log(2 * sqrt(e / pi))</summary>
public const double LogTwoSqrtEOverPi = 0.6207822376352452223455184457816472122518527279025978; /// <summary>1/pi</summary>
public const double InvPi = 0.31830988618379067153776752674502872406891929148091d; /// <summary>2/pi</summary>
public const double TwoInvPi = 0.63661977236758134307553505349005744813783858296182d; /// <summary>1/sqrt(pi)</summary>
public const double InvSqrtPi = 0.56418958354775628694807945156077258584405062932899d; /// <summary>1/sqrt(2pi)</summary>
public const double InvSqrt2Pi = 0.39894228040143267793994605993438186847585863116492d; /// <summary>2/sqrt(pi)</summary>
public const double TwoInvSqrtPi = 1.1283791670955125738961589031215451716881012586580d; /// <summary>2 * sqrt(e / pi)</summary>
public const double TwoSqrtEOverPi = 1.8603827342052657173362492472666631120594218414085755; /// <summary>(pi)/180 - 角度与弧度的转换常数</summary>
/// <seealso cref="Trig.DegreeToRadian"/>
/// <seealso cref="Trig.RadianToDegree"/>
public const double Degree = 0.017453292519943295769236907684886127134428718885417d; /// <summary> (pi)/200 - factor to convert from NewGrad (grad) to Radians (rad).</summary>
/// <seealso cref="Trig.GradToRadian"/>
/// <seealso cref="Trig.RadianToGrad"/>
public const double Grad = 0.015707963267948966192313216916397514420985846996876d; /// <summary>The number ln(10)/20 - factor to convert from Power Decibel (dB) to Neper (Np). Use this version when the Decibel represent a power gain but the compared values are not powers (e.g. amplitude, current, voltage).</summary>
public const double PowerDecibel = 0.11512925464970228420089957273421821038005507443144d; /// <summary>The number ln(10)/10 - factor to convert from Neutral Decibel (dB) to Neper (Np). Use this version when either both or neither of the Decibel and the compared values represent powers.</summary>
public const double NeutralDecibel = 0.23025850929940456840179914546843642076011014886288d; /// <summary>The Catalan constant</summary>
/// <remarks>Sum(k=0 -> inf){ (-1)^k/(2*k + 1)2 }</remarks>
public const double Catalan = 0.9159655941772190150546035149323841107741493742816721342664981196217630197762547694794d; /// <summary>The Euler-Mascheroni constant</summary>
/// <remarks>lim(n -> inf){ Sum(k=1 -> n) { 1/k - log(n) } }</remarks>
public const double EulerMascheroni = 0.5772156649015328606065120900824024310421593359399235988057672348849d; /// <summary>(1+sqrt(5))/2, 黄金比例</summary>
public const double GoldenRatio = 1.6180339887498948482045868343656381177203091798057628621354486227052604628189024497072d; /// <summary>Glaisher常数</summary>
/// <remarks>e^(1/12 - Zeta(-1))</remarks>
public const double Glaisher = 1.2824271291006226368753425688697917277676889273250011920637400217404063088588264611297d; /// <summary>Khinchin常数</summary>
/// <remarks>prod(k=1 -> inf){1+1/(k*(k+2))^log(k,2)}</remarks>
public const double Khinchin = 2.6854520010653064453097148354817956938203822939944629530511523455572188595371520028011d;

3.普适常数  

 /// <summary>真空中的光速: c_0 = 2.99792458e8 [m s^-1] (defined, exact; 2007 CODATA)</summary>
public const double SpeedOfLight = 2.99792458e8; /// <summary>真空中的磁导率: mu_0 = 4*Pi * 10^-7 [N A^-2 = kg m A^-2 s^-2] (defined, exact; 2007 CODATA)</summary>
public const double MagneticPermeability = 1.2566370614359172953850573533118011536788677597500e-6; /// <summary>真空中的介电常数: epsilon_0 = 1/(mu_0*c_0^2) [F m^-1 = A^2 s^4 kg^-1 m^-3] (defined, exact; 2007 CODATA)</summary>
public const double ElectricPermittivity = 8.8541878171937079244693661186959426889222899381429e-12; /// <summary>真空中的特性阻抗常数: Z_0 = mu_0*c_0 [Ohm = m^2 kg s^-3 A^-2] (defined, exact; 2007 CODATA)</summary>
public const double CharacteristicImpedanceVacuum = 376.73031346177065546819840042031930826862350835242; /// <summary>牛顿引力常数: G = 6.67429e-11 [m^3 kg^-1 s^-2] (2007 CODATA)</summary>
public const double GravitationalConstant = 6.67429e-11; /// <summary>普朗克常数: h = 6.62606896e-34 [J s = m^2 kg s^-1] (2007 CODATA)</summary>
public const double PlancksConstant = 6.62606896e-34; /// <summary>约化普朗克常数: h_bar = h / (2*Pi) [J s = m^2 kg s^-1] (2007 CODATA)</summary>
public const double DiracsConstant = 1.054571629e-34; /// <summary>普朗克质量: m_p = (h_bar*c_0/G)^(1/2) [kg] (2007 CODATA)</summary>
public const double PlancksMass = 2.17644e-8; /// <summary>普朗克温度: T_p = (h_bar*c_0^5/G)^(1/2)/k [K] (2007 CODATA)</summary>
public const double PlancksTemperature = 1.416786e32; /// <summary>普朗克长度: l_p = h_bar/(m_p*c_0) [m] (2007 CODATA)</summary>
public const double PlancksLength = 1.616253e-35; /// <summary>普朗克时间: t_p = l_p/c_0 [s] (2007 CODATA)</summary>
public const double PlancksTime = 5.39124e-44;

4.电磁常数   

 /// <summary>基本电子电荷: e = 1.602176487e-19 [C = A s] (2007 CODATA)</summary>
public const double ElementaryCharge = 1.602176487e-19; /// <summary>磁通量子: theta_0 = h/(2*e) [Wb = m^2 kg s^-2 A^-1] (2007 CODATA)</summary>
public const double MagneticFluxQuantum = 2.067833668e-15; /// <summary>电导量子(Conductance Quantum): G_0 = 2*e^2/h [S = m^-2 kg^-1 s^3 A^2] (2007 CODATA)</summary>
public const double ConductanceQuantum = 7.7480917005e-5; /// <summary>约瑟夫森效应常数(Josephson Constant): K_J = 2*e/h [Hz V^-1] (2007 CODATA)</summary>
public const double JosephsonConstant = 483597.891e9; /// <summary>克里青常数(Von Klitzing Constant): R_K = h/e^2 [Ohm = m^2 kg s^-3 A^-2] (2007 CODATA)</summary>
public const double VonKlitzingConstant = 25812.807557; /// <summary>玻尔磁子(Bohr Magneton): mu_B = e*h_bar/2*m_e [J T^-1] (2007 CODATA)</summary>
public const double BohrMagneton = 927.400915e-26; /// <summary>核磁子(Nuclear Magneton): mu_N = e*h_bar/2*m_p [J T^-1] (2007 CODATA)</summary>
public const double NuclearMagneton = 5.05078324e-27;

5.原子和核常量

  一些常用的:  

 /// <summary>精细结构常数(Fine Structure Constant): alpha = e^2/4*Pi*e_0*h_bar*c_0 [1] (2007 CODATA)</summary>
public const double FineStructureConstant = 7.2973525376e-3; /// <summary>里德伯常量(Rydberg Constant): R_infty = alpha^2*m_e*c_0/2*h [m^-1] (2007 CODATA)</summary>
public const double RydbergConstant = 10973731.568528; /// <summary>Bor Radius: a_0 = alpha/4*Pi*R_infty [m] (2007 CODATA)</summary>
public const double BohrRadius = 0.52917720859e-10; /// <summary>Hartree Energy: E_h = 2*R_infty*h*c_0 [J] (2007 CODATA)</summary>
public const double HartreeEnergy = 4.35974394e-18; /// <summary>Quantum of Circulation: h/2*m_e [m^2 s^-1] (2007 CODATA)</summary>
public const double QuantumOfCirculation = 3.6369475199e-4; /// <summary>Fermi Coupling Constant: G_F/(h_bar*c_0)^3 [GeV^-2] (2007 CODATA)</summary>
public const double FermiCouplingConstant = 1.16637e-5; /// <summary>Weak Mixin Angle: sin^2(theta_W) [1] (2007 CODATA)</summary>
public const double WeakMixingAngle = 0.22256; /// <summary>电子质量(Electron Mass): [kg] (2007 CODATA)</summary>
public const double ElectronMass = 9.10938215e-31; /// <summary>Electron Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double ElectronMassEnergyEquivalent = 8.18710438e-14; /// <summary>电子摩尔质量(Electron Molar Mass): [kg mol^-1] (2007 CODATA)</summary>
public const double ElectronMolarMass = 5.4857990943e-7; /// <summary>电子的康普顿波长(Electron Compton Wavelength): [m] (2007 CODATA)</summary>
public const double ComptonWavelength = 2.4263102175e-12; /// <summary>经典电子半径(Classical Electron Radius): [m] (2007 CODATA)</summary>
public const double ClassicalElectronRadius = 2.8179402894e-15; /// <summary>Tomson Cross Section: [m^2] (2002 CODATA)</summary>
public const double ThomsonCrossSection = 0.6652458558e-28; /// <summary>电子磁矩(Electron Magnetic Moment): [J T^-1] (2007 CODATA)</summary>
public const double ElectronMagneticMoment = -928.476377e-26;

还有一些不常用的,需要在很专业的地方才能用得上,代码折叠了:  

 /// <summary>Electon G-Factor: [1] (2007 CODATA)</summary>
public const double ElectronGFactor = -2.0023193043622; /// <summary>μ介子质量(Muon Mass): [kg] (2007 CODATA)</summary>
public const double MuonMass = 1.88353130e-28; /// <summary>Muon Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double MuonMassEnegryEquivalent = 1.692833511e-11; /// <summary>Muon Molar Mass: [kg mol^-1] (2007 CODATA)</summary>
public const double MuonMolarMass = 0.1134289256e-3; /// <summary>Muon Compton Wavelength: [m] (2007 CODATA)</summary>
public const double MuonComptonWavelength = 11.73444104e-15; /// <summary>Muon Magnetic Moment: [J T^-1] (2007 CODATA)</summary>
public const double MuonMagneticMoment = -4.49044786e-26; /// <summary>Muon G-Factor: [1] (2007 CODATA)</summary>
public const double MuonGFactor = -2.0023318414; /// <summary>Tau Mass: [kg] (2007 CODATA)</summary>
public const double TauMass = 3.16777e-27; /// <summary>Tau Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double TauMassEnergyEquivalent = 2.84705e-10; /// <summary>Tau Molar Mass: [kg mol^-1] (2007 CODATA)</summary>
public const double TauMolarMass = 1.90768e-3; /// <summary>Tau Compton Wavelength: [m] (2007 CODATA)</summary>
public const double TauComptonWavelength = 0.69772e-15; /// <summary>Proton Mass: [kg] (2007 CODATA)</summary>
public const double ProtonMass = 1.672621637e-27; /// <summary>Proton Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double ProtonMassEnergyEquivalent = 1.503277359e-10; /// <summary>Proton Molar Mass: [kg mol^-1] (2007 CODATA)</summary>
public const double ProtonMolarMass = 1.00727646677e-3; /// <summary>Proton Compton Wavelength: [m] (2007 CODATA)</summary>
public const double ProtonComptonWavelength = 1.3214098446e-15; /// <summary>Proton Magnetic Moment: [J T^-1] (2007 CODATA)</summary>
public const double ProtonMagneticMoment = 1.410606662e-26; /// <summary>Proton G-Factor: [1] (2007 CODATA)</summary>
public const double ProtonGFactor = 5.585694713; /// <summary>Proton Shielded Magnetic Moment: [J T^-1] (2007 CODATA)</summary>
public const double ShieldedProtonMagneticMoment = 1.410570419e-26; /// <summary>Proton Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA)</summary>
public const double ProtonGyromagneticRatio = 2.675222099e8; /// <summary>Proton Shielded Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA)</summary>
public const double ShieldedProtonGyromagneticRatio = 2.675153362e8; /// <summary>中子质量(Neutron Mass): [kg] (2007 CODATA)</summary>
public const double NeutronMass = 1.674927212e-27; /// <summary>Neutron Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double NeutronMassEnegryEquivalent = 1.505349506e-10; /// <summary>Neutron Molar Mass: [kg mol^-1] (2007 CODATA)</summary>
public const double NeutronMolarMass = 1.00866491597e-3; /// <summary>Neuron Compton Wavelength: [m] (2007 CODATA)</summary>
public const double NeutronComptonWavelength = 1.3195908951e-1; /// <summary>Neutron Magnetic Moment: [J T^-1] (2007 CODATA)</summary>
public const double NeutronMagneticMoment = -0.96623641e-26; /// <summary>Neutron G-Factor: [1] (2007 CODATA)</summary>
public const double NeutronGFactor = -3.82608545; /// <summary>Neutron Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA)</summary>
public const double NeutronGyromagneticRatio = 1.83247185e8; /// <summary>氘核质量(Deuteron Mass): [kg] (2007 CODATA)</summary>
public const double DeuteronMass = 3.34358320e-27; /// <summary>Deuteron Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double DeuteronMassEnegryEquivalent = 3.00506272e-10; /// <summary>Deuteron Molar Mass: [kg mol^-1] (2007 CODATA)</summary>
public const double DeuteronMolarMass = 2.013553212725e-3; /// <summary>Deuteron Magnetic Moment: [J T^-1] (2007 CODATA)</summary>
public const double DeuteronMagneticMoment = 0.433073465e-26; /// <summary>Helion Mass: [kg] (2007 CODATA)</summary>
public const double HelionMass = 5.00641192e-27; /// <summary>Helion Mass Energy Equivalent: [J] (2007 CODATA)</summary>
public const double HelionMassEnegryEquivalent = 4.49953864e-10; /// <summary>Helion Molar Mass: [kg mol^-1] (2007 CODATA)</summary>
public const double HelionMolarMass = 3.0149322473e-3; /// <summary>Avogadro constant: [mol^-1] (2010 CODATA)</summary>
public const double Avogadro = 6.0221412927e23;

6.科学计算前缀

 /// <summary>The SI prefix factor corresponding to 1 000 000 000 000 000 000 000 000</summary>
public const double Yotta = 1e24; /// <summary>The SI prefix factor corresponding to 1 000 000 000 000 000 000 000</summary>
public const double Zetta = 1e21; /// <summary>The SI prefix factor corresponding to 1 000 000 000 000 000 000</summary>
public const double Exa = 1e18; /// <summary>The SI prefix factor corresponding to 1 000 000 000 000 000</summary>
public const double Peta = 1e15; /// <summary>The SI prefix factor corresponding to 1 000 000 000 000</summary>
public const double Tera = 1e12; /// <summary>The SI prefix factor corresponding to 1 000 000 000</summary>
public const double Giga = 1e9; /// <summary>The SI prefix factor corresponding to 1 000 000</summary>
public const double Mega = 1e6; /// <summary>The SI prefix factor corresponding to 1 000</summary>
public const double Kilo = 1e3; /// <summary>The SI prefix factor corresponding to 100</summary>
public const double Hecto = 1e2; /// <summary>The SI prefix factor corresponding to 10</summary>
public const double Deca = 1e1; /// <summary>The SI prefix factor corresponding to 0.1</summary>
public const double Deci = 1e-; /// <summary>The SI prefix factor corresponding to 0.01</summary>
public const double Centi = 1e-; /// <summary>The SI prefix factor corresponding to 0.001</summary>
public const double Milli = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 001</summary>
public const double Micro = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 000 001</summary>
public const double Nano = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 000 000 001</summary>
public const double Pico = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 000 000 000 001</summary>
public const double Femto = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 000 000 000 000 001</summary>
public const double Atto = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 000 000 000 000 000 001</summary>
public const double Zepto = 1e-; /// <summary>The SI prefix factor corresponding to 0.000 000 000 000 000 000 000 001</summary>
public const double Yocto = 1e-;

7.资源

  源码下载:http://www.cnblogs.com/asxinyu/p/4264638.html

  如果本文资源或者显示有问题,请参考 本文原文地址http://www.cnblogs.com/asxinyu/p/4299983.html

开源Math.NET基础数学类库使用(07)一些常用的数学物理常数的更多相关文章

  1. 【原创】开源Math&period;NET基础数学类库使用&lpar;07&rpar;常用的数学物理常数

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 1.前 ...

  2. 【目录】开源Math&period;NET基础数学类库使用总目录

    本博客所有文章分类的总目录链接:[总目录]本博客博文总目录-实时更新  1.开源Math.NET数学组件文章   1.开源Math.NET基础数学类库使用(01)综合介绍   2.开源Math.NET ...

  3. 【原创】开源Math&period;NET基础数学类库使用&lpar;01&rpar;综合介绍

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

  4. 【原创】开源Math&period;NET基础数学类库使用&lpar;02&rpar;矩阵向量计算

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

  5. 【原创】开源Math&period;NET基础数学类库使用&lpar;03&rpar;C&num;解析Matlab的mat格式

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

  6. 【原创】开源Math&period;NET基础数学类库使用&lpar;04&rpar;C&num;解析Matrix Marke数据格式

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

  7. 【原创】开源Math&period;NET基础数学类库使用&lpar;05&rpar;C&num;解析Delimited Formats数据格式

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

  8. 【原创】开源Math&period;NET基础数学类库使用&lpar;06&rpar;直接求解线性方程组

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

  9. 【原创】开源Math&period;NET基础数学类库使用&lpar;08&rpar;C&num;进行数值积分

                   本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新  开源Math.NET基础数学类库使用总目录:[目录]开源Math.NET基础数学类库使用总目录 前言 ...

随机推荐

  1. EntityFramework 7 OrderBy Skip Take-计算排序分页 SQL 翻译

    先解释一下这个标题的意思,OrderBy 在 Linq 语句中,我们经常使用,比如 OrderBy(b => b.BlogId) 就是对 BlogId 字段进行升序排序,这是针对一个字段的排序, ...

  2. 从技术经理的角度算一算,如何可以多快好省的做个app

    [导读]前端时间,一篇“从产品经理的角度算一算,做个app需要多少钱”的文章在网上疯传,可见大家对互联网创业的热情!这次,从一名技术经理的角度再给大家分析一下,如何使用跨平台开发技术为你节省上百万的开 ...

  3. windows下安装Apache 64bit

    文件下载:http://pan.baidu.com/s/1c0oDjFE 一.Apache的安装 http://www.blogjava.net/greatyuqing/archive/2013/02 ...

  4. python os模块&lpar;1&rpar;

    os模块主要处理文件和目录(文件夹)的创建.删除.检查判定.属性值修改.路径修改. (1)获取当前目录的两种方法 1 os.getcwd() os.path.abspath('.') (2)创建文件夹 ...

  5. pycharm 使用小结

    1.pycharm 自动换行,显示行号,缩进向导 在代码右侧右键 2.自动注释/取消注释 ctrl + /

  6. Android开发设计模式之——单例模式关于线程不安全问题处理

    单例模式是设计模式中最常见也最简单的一种设计模式,保证了在程序中只有一个实例存在并且能全局的访问到.比如在Android实际APP 开发中用到的 账号信息对象管理, 数据库对象(SQLiteOpenH ...

  7. Java多线程并发

    http://wangjianwei866.blog.163.com/blog/static/9295823201231665319314/ 基于以上网文,调整了一下格式,修改了一些标点和拼写错误. ...

  8. &lpar;转载&rpar;iscroll&period;js的使用

    入门 Scroll是一个类,每个需要使用滚动功能的区域均要进行初始化.每个页面上的iScroll实例数目在设备的CPU和内存能承受的范围内是没有限制的. 尽可能保持DOM结构的简洁.iScroll使用 ...

  9. Windows消息队列

    一 Windows中有一个系统消息队列,对于每一个正在执行的Windows应用程序,系统为其建立一个“消息队列”,即应用程序队列,用来存放该程序可能 创建的各种窗口的消息.应用程序中含有一段称作“消息 ...

  10. Python内置函数&lpar;59&rpar;——open

    英文文档: open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, ope ...