2007년 6월 1일 금요일

Arity

수학용어에서 Arity는 1진(unary), 2진(binary), 3진(ternary) 등등으로 올라가는 것을 의미합니다.
(The mathematical term "arity" sprang from words like unary, binary, ternary, etc.)

그러나, 컴퓨터 공학에서 arity는 함수(function)이나 연산(operation)에서 사용되는 함수의 인자(arguments) 또는 연산자(operand)의 개수를 의미합니다.
(In logic, mathematics, and computer science, the arity (synonyms include type, adicity, and rank) of a function or operation is the number of arguments or operands that the function takes.)
  • A nullary function takes no arguments.
  • A unary function takes one argument.
  • A binary function takes two arguments.
  • A ternary function takes three arguments.
  • An n-ary function takes n arguments.
출처: Arity in Wikipedia

P.S. 오늘도 공돌이 포스트군요. -_-;;

댓글 3개:

  1. 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 ㅌㅌㅌ

    답글삭제
  2. @쟤시켜 알바 - 2007/06/06 20:16
    댁도 공돌이면서.. ㅋㅋ

    답글삭제
  3. @옷장수 - 2007/06/06 21:06
    그렇지 나도 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이 공돌이

    심심했거든-_-;

    답글삭제