Variable vs Variadic - What's the difference?
variable | variadic |
Able to vary.
Likely to vary.
* Shakespeare
Marked by diversity or difference.
(mathematics) Having no fixed quantitative value.
(biology) Tending to deviate from a normal or recognized type.
Something that is .
Something whose value may be dictated or discovered.
* {{quote-magazine, year=2013, month=May-June, author=
, title= (mathematics) A quantity that may assume any one of a set of values.
(mathematics) A symbol representing a variable.
(programming) A named memory location in which a program can store intermediate results and from which it can read them.
(astronomy) A variable star.
(nautical) A shifting wind, or one that varies in force.
(nautical, in the plural) Those parts of the sea where a steady wind is not expected, especially the parts between the trade-wind belts.
(computing, mathematics, linguistics) Taking a variable number of arguments; especially , taking arbitrarily many arguments.
* 1983 , Alan Bundy, The Computer Modelling of Mathematical Reasoning ,[http://books.google.com.au/books?id=El8_AQAAIAAJ&q=variadic] Academic Press, page 48:
* 2004 , François Récanati, Literal Meaning , Cambridge University Press, ISBN 0-521-53736-3,
* 2006 , Nils M. Holm, Sketchy LISP: An Introduction to Functional Programming in Scheme , Second Edition, Lulu.com, ISBN 978-1-4116-7448-6:
:C's printf is one of the most widely used variadic functions.
As adjectives the difference between variable and variadic
is that variable is able to vary while variadic is taking a variable number of arguments; especially, taking arbitrarily many arguments.As a noun variable
is something that is variable.variable
English
(wikipedia variable)Adjective
(en adjective)- variable''' winds or seasons; a '''variable quantity
- Lest that thy love prove likewise variable .
Synonyms
* (able to vary) alterable, flexible, changeable, mutable * (likely to vary) fickle, fluctuating, inconstant, shifting, unstable, unsteady * (marked by diversity or difference) varying * aberrantAntonyms
* (able to vary) constant, invariable, immutable, unalterable, unchangeable * (likely to vary) constant, invariable, immutable, unchangeable * (marked by diversity or difference) unchanging * constant, invariableDerived terms
* variability * variablenessNoun
(en noun)Katie L. Burke
In the News, volume=101, issue=3, page=193, magazine=(American Scientist) , passage=Bats host many high-profile viruses that can infect humans, including severe acute respiratory syndrome and Ebola. A recent study explored the ecological variables that may contribute to bats’ propensity to harbor such zoonotic diseases by comparing them with another order of common reservoir hosts: rodents.}}
Synonyms
* (something that is variable) changeable * (something whose value may be dictated or discovered) parameter * variable quantityAntonyms
* (something that is variable) constant, invariableHyponyms
* See alsoDerived terms
* bound variable * categorical variable * continuous variable * dependent variable * discrete variable * flow variable * free variable * global variable * independent variable * instance variable * interval variable * local variable * member variable * metasyntactic variable * nominal variable * ordinal variable * ratio variable * stock variable * variable star * variably * varySee also
* argument * variateExternal links
* * * ----variadic
English
Adjective
(-)- 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 .
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’.
-
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
-
page 54
: Because (non-primitive) procedures are created using lambda, there must be a way to create variadic lambda functions, too.
