如果你发现自己总是过分注释,请先把函数命名和变量命名处理好。
If you are over-commenting, you're probably naming your functions and variables poorly.
对于这么小的函数,这似乎太麻烦了,甚至有点过分,但是对于shell脚本编程新手和阅读这个函数的人员而言,注释是非常有价值的。
This may seem tedious and a bit of overkill for such a small function, but the value of the comments to a novice shell scripter or someone just looking at the function can be invaluable.
匿名函数通常通过分配到一个代理变量,来在其他函数的上下文中定义。
An anonymous function is defined within the context of another function, usually by assigning it to a delegate variable.
通过分别单击procedures和Functions文件夹,可以查看存储过程和函数的列表。
You can view a list of stored procedures and functions by clicking the procedures and functions folders respectively.
本文在试验基础上,通过分析给出了定量考察声发射过程自相似性的自相似特征函数。
Based on the test and analysis, this paper gives self similarity feature functions of phonon emission process in quantitative test.
其次,通过分析代价函数的稳定点,证明LCCMA算法只是试图抑制期望用户信号的多径,而不是利用它。
Secondly, the stationary points of the LCCM cost function are analyzed to demonstrate that the LCCMA attempts to suppress multipath of the desired user's signal rather than exploit it.
通过分形理论中分形插值运算来构造迭代函数系统,并对其损伤裂纹进行了预测。
Iterative function system was constructed by fractal interpolation operation and the fracture cracks were predicted.
通过分析在一给定形状的势能中核子组态的相对能量,可以得到壳结构对势能函数的贡献。
The contribution of shell structure to the potential energy function can be obtained from an analysis of relative energies of nucleonic configurations in a potential of given shapes.
通过分析各参数对传递函数的影响,认为桩土间的极限位移是双曲线传递函数的主要参数。
By discussing the influence of various parameters on transfer function in this model, it was considered that the limit displacement among pile-soil was a main parameter in transfer function.
通过分析适应函数的等值线谱,分象限构造出相应的函数。
Through analysis of the contours of fitness functions, the fitness function is constructed separately in every quadrant.
通过分析函数的一阶导数与二阶导数图像的特征,提出了一种含有权值的图像边缘锐化的新算法。
By analyzing the characteristics of the function's once and quadratic differential coefficient's image, a new algorithm of images' edge sharpening which contains weights.
通过分别建立供需双方的利润函数模型并导出供方的最优定价和需方的最优订货量。
We could derive the supplier's optimum price and the consumer's optimum ordering quantity through separately establishing the profit function models of both sides of the supply and demand.
通过分析模糊函数表达式,得到了单、多周期信号的理论多普勒分辨率与时延分辨率。
By analyzing ambiguity function expressions, this paper resolves theoretic Doppler signal resolutions and delay resolutions of single-period and multi-period symmetrical triangle LFMCW signals.
通过分析季节冻土区的温度分布规律,建立了温度随时间的变化函数。
By analyzing the rule of temperature distribution in seasonal frozen soil area, the function of temperature with time is established.
将GERT网络技术应用于桥梁施工进度控制,通过分析矩母函数、梅森公式阐述了GERT网络的解析法,提出确定工序参数的方法。
The analytic calculation of GERT network was presented by solving moment function and Mason formula to determine the construction procedure parameters.
通过分析一类特殊的状态变权向量,进一步揭示了状态变权向量与均衡函数之间的内在联系。
Then via the analysis of a special state variable weight vector, an essential relation between state variable weight vector and balance function is interpreted further.
通过分析输出序列的状态空间,提出了一种改进的非线性转移函数来改善跳频序列的性能。
By the analysis of state space, nonlinear transfer function was employed to improve the performance of FH sequence.
通过分析输出序列的状态空间,提出了一种改进的非线性转移函数来改善跳频序列的性能。
By the analysts of state space, nonlinear transfer function is employed to improve the performance of FH sequence.
通过分析目标谱分布,并运用MODTRAN模拟计算背景程辐射和整层大气透过率,得到对应不同目标的权函数。
The weight functions were obtained by analyzing target spectra distribution and background radiance, transmittance computed by MODTRAN.
通过分析故障诊断征兆的变化规律,建立了基于模糊隶属函数的诊断征兆模糊化处理方案。
The changing law of symptom value is analyzed and fuzzy normalization method based on fuzzy membership functions is built.
通过分析闭环传递函数的幅频特性,对系统的稳定性进行了判定。
The system stability is determined by analyzing the amplitude-frequency characteristics of closed-loop transfer function.
通过分析期望利润函数的性质,得出最优订货量应位于模糊需求的支集内。
By analyzing the properties of the expected profit function, it can be concluded that the optimal order quantity locates in the support of fuzzy demands.
通过分析互连几何参数波动与互连寄生参数的关系,得到其近似的函数关系表达式。
The approximate function relationships are obtained by analyzing the impact of interconnect geometric parameters fluctuation on the interconnect parasitic parameters.
然后,通过分析选用两个经典测试函数验证了MABC算法的有效性。
Then two test functions are selected in the simulation experiments through analysis, and the results verify the feasibility of MABC algorithm.
通过分析双边环境可持续性以及重复博弈情况下收益格局与合作行为的关系,研究了效用函数在环境合作机制设计中的作用。
By analyzing the relations between gains structure and cooperation action in iterated game, the effect of utility function in environmental cooperation mechanism design is studied.
通过分析自平衡试桩数据,提出了注浆前后荷载传递函数模型。
By analyzing the data of O-cell pile testing, new load transfer models before and after post grouting are proposed.
通过分析影响汽车覆盖件冲压方向选择的因素,建立了以评价函数法为基础的冲压方向优化模型。
By analyzing influencing factors on selection of pressing direction of automotive outer panels, the pressing direction optimization model based on the evaluation function method is created.
通过分析影响汽车覆盖件冲压方向选择的因素,建立了以评价函数法为基础的冲压方向优化模型。
By analyzing influencing factors on selection of pressing direction of automotive outer panels, the pressing direction optimization model based on the evaluation function method is created.
应用推荐