如果你发现自己总是过分注释,请先把函数命名和变量命名处理好。
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.
通过分析函数的一阶导数与二阶导数图像的特征,提出了一种含有权值的图像边缘锐化的新算法。
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.
本文在试验基础上,通过分析给出了定量考察声发射过程自相似性的自相似特征函数。
Based on the test and analysis, this paper gives self similarity feature functions of phonon emission process in quantitative test.
提出了一种基于估价函数的启发式生成uio序列的算法,通过分析比较该算法能更有效地产生UIO序列。
A heuristic algorithm based on evaluation function for UIO sequence generation is proposed, this algorithm can efficiently generate UIO sequence.
通过分析一类特殊的状态变权向量,进一步揭示了状态变权向量与均衡函数之间的内在联系。
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.
通过分形理论中分形插值运算来构造迭代函数系统,并对其损伤裂纹进行了预测。
Iterative function system was constructed by fractal interpolation operation and the fracture cracks were predicted.
通过分析季节冻土区的温度分布规律,建立了温度随时间的变化函数。
By analyzing the rule of temperature distribution in seasonal frozen soil area, the function of temperature with time is established.
通过分析双边环境可持续性以及重复博弈情况下收益格局与合作行为的关系,研究了效用函数在环境合作机制设计中的作用。
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 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.
通过分析输出序列的状态空间,提出了一种改进的非线性转移函数来改善跳频序列的性能。
By the analysis of state space, nonlinear transfer function was employed to improve the performance of FH sequence.
通过分析影响汽车覆盖件冲压方向选择的因素,建立了以评价函数法为基础的冲压方向优化模型。
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 the analysts of state space, nonlinear transfer function is employed to improve the performance of FH sequence.
通过分析模糊函数表达式,得到了单、多周期信号的理论多普勒分辨率与时延分辨率。
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.
通过分析点扩散函数、斯特列比和离焦量的关系来评价三种不同掩模板对光学系统成像质量的影响。
Point spread function (PSF) and Strehl ratio (SR) are used to evaluate the imaging quality of the system with different defocus parameters.
其次,通过分析代价函数的稳定点,证明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.
将GERT网络技术应用于桥梁施工进度控制,通过分析矩母函数、梅森公式阐述了GERT网络的解析法,提出确定工序参数的方法。
The analytic calculation of GERT network was presented by solving moment function and Mason formula to determine the construction procedure parameters.
通过分析目标谱分布,并运用MODTRAN模拟计算背景程辐射和整层大气透过率,得到对应不同目标的权函数。
The weight functions were obtained by analyzing target spectra distribution and background radiance, transmittance computed by MODTRAN.
通过分析在一给定形状的势能中核子组态的相对能量,可以得到壳结构对势能函数的贡献。
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.
本文通过分析T形等效电路,建立了电机启动转矩随频率变化的函数方程,建立了电机启动电流随频率变化的函数方程;
This paper analyzes T-shape equivalent circuit, establishes starting torque function equation with the variation of requency and starting current function equation with the variation of requency.
通过分析故障诊断征兆的变化规律,建立了基于模糊隶属函数的诊断征兆模糊化处理方案。
The changing law of symptom value is analyzed and fuzzy normalization method based on fuzzy membership functions is built.
通过分析金属化膜脉冲电容器的退化失效机理,利用该竞争失效模型,对金属化膜脉冲电容器进行了可靠性分析,确定了该型电容器的可靠度函数。
Then, by analyzing degradation mechanism of metallized-film capacitor, this paper presents a life distribution model of metallized-film pulse capacitor using the models.
通过分析适应函数的等值线谱,分象限构造出相应的函数。
Through analysis of the contours of fitness functions, the fitness function is constructed separately in every quadrant.
通过分析互连几何参数波动与互连寄生参数的关系,得到其近似的函数关系表达式。
The approximate function relationships are obtained by analyzing the impact of interconnect geometric parameters fluctuation on the interconnect parasitic parameters.
通过分析闭环传递函数的幅频特性,对系统的稳定性进行了判定。
The system stability is determined by analyzing the amplitude-frequency characteristics of closed-loop transfer function.
通过分析闭环传递函数的幅频特性,对系统的稳定性进行了判定。
The system stability is determined by analyzing the amplitude-frequency characteristics of closed-loop transfer function.
应用推荐