对于用c编写代码的项目,Meschach(读作me - shark)提供了例程,用于矩阵和向量的运算。
For projects coded in c, Meschach (pronounced: me-shark) provides routines for operating on matrices and vectors.
运算很简单,但前提是记下代码,否则无法完整地在头脑中使用这种方法。
The math is pretty easy, but unless you memorize the codes, you won't be able to perform the entire technique in your head.
如果程序逻辑依赖于任何这些附加代码,您可能应该避免使用短路运算符。
If your program logic depends on any of that additional code, you should probably avoid short-circuiting operators.
虽然代码也使用了一些向量运算,但我们只关注一个寄存器内的一个值,而其他值则被简单忽略。
It will use some vector operations, but we will only be concerned with one value within each register — the others we will simply ignore.
使用 PreparedStatement 的那种代码片段在编码方面更为优雅,因为在将STATE和TYPE的值置入SQL语句时,不需要进行字符串运算。
The variant with the PreparedStatement is more elegant regarding the coding, as no string arithmetic is required to put the values for STATE and TYPE in the SQL statement.
微处理器执行代码指令进行算术运算,内部数据的传递以及与外部设备通信。
A microprocessor executes encoded instructions to perform arithmetic operations, internal data transfer, and communications with external devices.
通过在计算机上的模拟测试,证明该算法对网络病毒具有较高的检测精度与速度,且运算开销小,代码简单,可以嵌入到网络设备中。
Simulation experiments indicate that the algorithm has the higher detecting accuracy and speed and spends less system resources, and can be embedded into network devices for its simple codes.
采用直接和随机测试方法,对浮点运算单元进行了测试和验证,代码覆盖率和功能覆盖率都达到了100%。
Tests and verifies the floating point unit in direct and random methods, with 100% functional coverage and code coverage.
如果逗号运算符左侧的表达式没有任何副作用,则编译器可能不再生成该表达式的代码。
If the left expression to comma-operator has no side effects, the compiler might omit code generation for the expression.
然而其性能提高的同时却带来了巨大的运算量,使得很难直接运用其源代码来达到实时编解码。
However, along with its performance improved, it has brought a tremendous amount of computing, so it is difficult to use its source code directly to achieve the real-time encoding and decoding.
程序量是一种以代码中运算符和操作数为基础的度量方法,表示理解某个类型或方法的难易程度。
Program volume is a measure of the difficulty of understanding of a type or method that is based on the number of operators and operands in the code.
本发明通过借助符号语言翻译器处理接合文件,产生本机运算符和测试代码文件。
The present invention generates the native operators and test code file by processing the splice file through the symbolic language translator.
公开一种在计算机上产生模拟多孔介质中流体流动的有限元模拟程序的本机运算符和测试代码文件的改进方法和系统。
An improved method and system are disclosed for creating on a computer a native operators and test code file for a finite element simulator to model fluid flow in porous media.
不幸的是,多数代码格式化工具都会漠视运算符优先级,从头到尾采用同样的空格方式。
Unfortunately, most tools for reformatting code are blind to the precedence of operators and impose the same spacing throughout.
通过使用适当的运算符,可以轻松地将枚举转换为基础类型,如以下代码中所示。
You can easily convert enumerations to the underlying type by using the appropriate operator, as shown in the following code.
表达式可以使用在常数值、命令的退出代码、字符串、宏和文件系统路径上使用的运算符。
Expressions can use operators that act on constant values, exit codes from commands, strings, macros, and file-system paths.
第一行代码进行了最简单的运算;后面的代码是用来应对我们之前讨论过的特例情况。
The first line performs the basic operation; the remainder deals with the special cases we saw before.
此模块使我们可以很容易地模拟我们不同的控制运算法则和测试代码,而不用使用任何硬件。
The module made it easy for us to simulate our different control algorithms and test the code without the use of any hardware.
既然所有必要的计算都在第一行代码中完成了,那么后两行代码不会产生递归运算,因为直接返回缓存中的数值。
Since all of the necessary calculations are completed on the first line, the next two lines need not perform any recursion because cached values are returned.
既然所有必要的计算都在第一行代码中完成了,那么后两行代码不会产生递归运算,因为直接返回缓存中的数值。
Since all of the necessary calculations are completed on the first line, the next two lines need not perform any recursion because cached values are returned.
应用推荐