variadic

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English

[edit]

Etymology

[edit]

From variable +‎ -adic.

Pronunciation

[edit]

Adjective

[edit]

variadic (not comparable)

  1. (programming, mathematics, linguistics) Taking a variable number of arguments; especially, taking arbitrarily many arguments.
    C's printf is one of the most widely used variadic functions.
    • 1983, Alan Bundy, The Computer Modelling of Mathematical Reasoning[1], Academic Press, page 48:
      There are some functions and predicates which we tend to think of as being able to take any number of parameters – of being of variable arity or variadic.
    • 2004, François Récanati, Literal Meaning[2], Cambridge University Press, →ISBN, page 109:
      The variadic functions that increase the valence of the input relation through the addition of a circumstance to the set of its argument-roles can be represented by means of an operator (or rather, a family of operators) ‘Circ’.
    • 2006, Nils M. Holm, Sketchy LISP: An Introduction to Functional Programming in Scheme[3], 2nd edition, Lulu.com, →ISBN, page 53:
      However, the real max procedure of Scheme is a variadic procedure, which means that it accepts any positive number of arguments: ¶ (max 5 1 3 8 9 7 2 6 4) => 9
  2. (programming) Belonging to a variadic function.
    each variadic argument

Translations

[edit]

See also

[edit]

Noun

[edit]

variadic (plural variadics)

  1. (programming) A function that takes a variable number of arguments.
    • 2017, Andrew Beak, PHP 7 Zend Certification Study Guide, page 44:
      PHP 5.6 introduced variadics that explicitly accept a variable number of parameters.

Anagrams

[edit]