modulo

[计] 模

发音

UK /ˈmɒd͡ʒələʊ/
UK /ˈmɒdjʊləʊ/
US /ˈmɑd͡ʒəloʊ/

释义与例句

n.
  1. 1.

    The operation or function that returns the remainder of one number divided by another.

    不可数 计算机 工程 数学
prep.
  1. 1.

    Given a specified modulus of.

    数学

    21 and 84 are congruent to each other modulo 9, since both numbers leave the same remainder, 3, when divided by 9.

    Thus 21 modulo 9 is 3, because when 21 is divided by 9, the remainder is 3.

    21 is congruent to 3 modulo 9.

  2. 2.

    Except for differences accounted for by.

    工程

    "A is the same as B modulo C" means A is the same as B except for differences accounted for by C.

  3. 3.

    With due allowance for (a specified exception or particular detail).

    In the Lisp programming language, the "tail recursion modulo cons" technique allows functions that would be tail recursive but for a cons call to be transformed into a tail recursive form.

    All mammals, modulo the monotremes, give birth to live young.

词源

From Latin modulō, ablative of modulus (“a measure”).

来源:wiktionary