When approaching a regular expression, treat it as its own programming problem, even though only one or two lines of code may be involved; those lines effectively form a small program.
当处理规则表达式时,将它作为它自己的编程问题来处理,即使只涉及一或两行代码;这些行有效地构成了一个小程序。
If you've spent a significant amount of time working with object-oriented languages, you've probably run into examples of the Expression Problem.
如果您已经花费了大量的时间使用面向对象的语言,则您可能已经遇到了表达式问题的例子。
Coined by Philip Wadler, the expression problem defines a program's data as a set of cases (types) and a set of operations over those cases.
表达式问题这个词是由Philip Wadler定义的,它将一个程序的数据定义为一组用例(类型)和对于这些用例的一组操作。
The XPath expression //Name[1] selects the first element regardless of where it's located in the XML document; however, there is a problem.
XPath表达式 //Name[1]选择第一个元素,无论它位于XML文档中的何处;但是,这里有一个问题。
I'm talking about masterpieces of coding that you can't help admiring for their style, structure, and concise expression of a solution to a complex problem.
我是说代码之中的杰作使得你不得不钦佩它们的风格、结构以及对一个复杂问题解决方法的简明表达。
In reasoning process of product conceptual design, expression of knowledge of design problem is a pivotal step.
在产品概念设计的推理过程中,设计问题的知识表达是关键的第一步。
To illustrate the Expression Problem, Wadler's paper USES the idea of a table that has types as rows and functions as columns.
为说明表达式问题,Wadler的文章使用了表的概念,其中类型为行,函数为列。
When a regular expression stalls your browser for seconds, minutes, or longer, the problem is most likely a bad case of runaway backtracking.
当一个正则表达式占用浏览器上秒,上分钟或者更长时间时,问题原因很可能是回溯失控。
To the inverse problem of the system of linear algebraic equations, tiauthor gives a symmetric matrix solution and the expression of its general solution.
本文给出线性代数方程组反问题的对称矩阵解,及其通解表达式。
In his blog post the Problem with URLs points out some of the issues with trying to detect URLs in a larger body of text using a regular expression.
在他的博客文章URL难题一文中指出了使用正则表达式在大量文本中尝试检测url所遇到的一些问题。
This paper studies the asymptotic expression of solution of Cauchy's problem for a forth order equation when the limit equation has singularity.
本文研究当极限方程有奇性时四阶线性常微分方程的柯西问题解的渐近式。
Based on a mathematic model of the multi-vehicle distribution scheduling problem, the authors find a tabu search algorithm for it through designing a new solution expression method.
在建立多车型配送车辆调度问题的数学模型的基础上,通过设计一种新的解的表示方法建立了求解该问题的禁忌搜索算法。
Based on the theory of sensitivity analysis, the problem of construction control was translated into a minimum problem with restraints, and the expression for sensitivity index was denied.
基于敏感性分析的基本原理,将施工控制目标转化为有约束的极小值问题,推导了结构设计参数对控制目标的敏感因子计算公式。
Not to mention the problem of language: is not the presupposition of a scanner directly reading my thoughts that language is merely a secondary medium for the expression of my thoughts?
更不用说语言的问题:直接阅读我思想的扫描器难道不是预先假设,语言仅仅是思想表达的次要媒体?
The core of design is a kind of creative behavior, which expresses the ideas through visual form; the process of expression is a creating and an approach of problem solution.
设计的核心是一种创造行为,是把思想通过视觉的形式表达出来,表达的过程是创造也是一种解决问题的办法。
The obtained result is an accurate and analytical expression for the Sommerfeld half-space problem and can give a good service to correlated investigations in theory of electromagnetic fields.
该展开式是此类索末菲半空间问题精确解答,它能够为相关电磁场问题研究提供方便、准确的解析表达式。
The theory of intuitionistic fuzzy set expands the expression ability of classical fuzzy set, which can provide a new method for the problem of emitter threat evaluating.
直觉模糊集理论扩展了经典模糊集的表达能力,给辐射源威胁评估问题提供了一种新的解决方法。
Service Language in tourism is a medium and a tool as well for expression of wishes, communication and problem-solving between the tourism workers and tourists.
旅游服务语言是旅游工作者与旅游者之间为了表达愿望、交流感情、进行交往和解决各种问题而使用的一种媒介和工具。
This paper studies a class of stopping problem, proves the existence of optimal stopping and give the analytical expression of optimal cost function.
本文用不同于传统的方法,求出了一类停时问题最佳费用函数的解析表达式并构造出了依赖于此函数的最佳停时。
In this paper, using the theories of linear model in the statistics, we can give the general expression on solution of a class of equality constrained quadratic programs problem.
本文利用统计学中线性模型的理论给出一类等式约束二次规划问题解的表达式。
However, gene therapy for cancer is also faced with a specificity problem: the specific targeting of transgene expression to the site of the tumour.
然而,肿瘤基因治疗同样面临一个特殊问题即转基因特异性表达于肿瘤部位问题,靶向性基因转导依然是目前基因治疗的一大障碍。
Based on geometrical optics formulation, this paper deals with the problem of Angle of arrival influence of reflected beam by a reflector, and derived the expression of Angle of arrival variance.
本文运用几何光学近似,导出了湍流大气中束状反射回波的到达角起伏表达式。
However, as each entry in the determinant is symbolic, that is, a polynomial in variable(s), this leads to the intermediate expression swell(or explosion) problem in the expansion of determinant.
但是,由于行列式中的元素通常是符号化的,即其中每个元素都是关于变元(或参数)的多项式,导致行列式展开时的中间计算过程膨胀(甚至爆炸)。
However, as each entry in the determinant is symbolic, that is, a polynomial in variable(s), this leads to the intermediate expression swell(or explosion) problem in the expansion of determinant.
但是,由于行列式中的元素通常是符号化的,即其中每个元素都是关于变元(或参数)的多项式,导致行列式展开时的中间计算过程膨胀(甚至爆炸)。
应用推荐