请输入您要查询的字词:

 

单词 invariant
释义
invariant

Mathematics
  • A property or quantity that is not changed by one or more specified operations or transformations. For example, for a conic with equation

    Ax2+Bxy+Cy2+Dx+Ey+F=0

    the quantity B2−4AC is invariant under a rotation of axes. The distance between two points and the angle between two lines are invariants under translations and rotations of the plane, but distance is not invariant under dilations, while angle is.


Computer
  • A property that remains TRUE across some transformation or mapping. In the context of program correctness proofs, an invariant is an assertion that is associated with some program element and remains TRUE despite execution of some part of that element. For example, a loop invariant is an assertion that is attached at some point inside a program loop, and is TRUE whenever the attachment point is reached on each iteration around the loop. Similarly a module invariant is associated with a given module, and each operation provided by the module assumes that the invariant is TRUE whenever the operation is invoked and leaves the invariant TRUE upon completion.

    Note that invariants cannot accurately be described as TRUE AT ALL TIMES since individual operations may destroy and subsequently restore the invariant condition. However the invariant is always TRUE between such operations, and therefore provides a static characterization by which the element can be analysed and understood.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/12/25 13:01:35