此函数中演示的内容还包括:将光标转变为不可见,清除屏幕,打印文本,以及返回到保存的光标位置。
Also demonstrated in this function are turning the cursor invisible, clearing the screen, printing text, and returning to the saved cursor location.
接下来的两行代码检索文章日期(从posted列)并使用之前提到的函数将其转变为RFC 3339格式。
The next two lines retrieve the article date (from the POSTED column) and convert it to RFC 3339 format using the aforementioned function.
首先,我们使用Clojure的str函数来将这个char转变为字符串。
First we use the STR function from Clojure to convert the char to a string.
md5()函数可以散列反馈的任何字符串,并将其转变为固定长度为 32 个字符的字符串。
The md5() function hashes whatever string is fed to it and turns it into a 32-character fixed-length string.
转向函数式编程的好处之一是让人们意识到,测试的存在是为了检查代码中成功发生的转变。
One of the benefits of switching to a functional mindset is the realization that tests exist to check that changes occur successfully in code.
这反过来揭示了函数式语言的根本性转变:关注结果,而不是步骤。
This in turn exposes a fundamental shift in thinking in functional languages: Focus on results, not steps.
有一个特定的函数可以将从TMP36测得的毫伏数转变为摄氏度,范围也将从0-1023 转改为从1-5,找到零点后即可将结果缩放 100。
There is a specific function for converting the measured millivolts from the TMP36 to degrees Celsius, changing from a range of 0-1023 to 1 to 5, finding the zero point and scaling the result by 100.
为了将这个序列转变为多个元素后再传递给max,我们使用apply函数。
To turn the sequence into multiple elements to pass to Max, we use the apply function.
存储了时间数据后,就可以使用nf函数创建一个字符串,它可以将数字转变为字符串。
With the time data stored, you then create a string using the nf function, which converts Numbers into strings.
我们使用seq函数来将 big-num-str转变为一个序列。
We use the seq function to turn big-num-str into a sequence.
除非针对特定对象重写,否则这种转变应在内部documentcontext类的构造函数中发生。
Unless overridden for a specific object, this conversion happens within the constructor of the internal DocumentContext class.
您只需使用json_encode函数来将已返回的数组转变为json代码。
You only need to use the json_encode function to turn the returned array into json code.
通过对各目标实现程度的隶属函数进行定义,将多目标优化问题转变成模糊规划问题进行求解。
By defining the membership function of the realization extent of each objective, the multi-objective optimization problem has been turned into a fuzzy programming problem to be solved.
对系统的介电函数作了RPA近似计算,得到了超导转变温度的表达式,并讨论了混合对效应。
The RPA approximation is used to calculate the dielectric function, to derive the expression for the superconducting transition temperature and to discuss the effect of hybrid pairs.
由此给出了晶体、玻璃和液体的热力学函数和玻璃转变的激活能。
The thermodynamic functions of glass and liquid and the activation energy of glass transformation are determined by the above method.
使用这些函数,含三维异常体的二层大地的边值问题转变为积分方程。
With these functions, the boundary-value problem of the two-layered earth which contains three-dimensional inhomogeneities reduces to an integral equation.
若要切换到纯函数式开发,开发人员必须转变开发思路和方法。
To switch to developing in a pure functional style, they have to make a transition in their thinking and their approach to development.
分析了基于部分迭代函数系统(PIFS)的传统分形图像压缩编码中8 种对称旋转变换对编码性能的影响;
The effects of 8 isometry transforms used in PIFS based fractal image coding on performance are discussed.
我们需要将这些函数转变为真正的菜单页面。
我们需要将这些函数转变为真正的菜单页面。
应用推荐