parameterize a function

/pəˈræmɪtəraɪz ə ˈfʌŋkʃən/

verb phrase

  1. To express or define a function in terms of one or more parameters—values that can vary across cases—so a single formula describes different functions or results.

    B2

    transitive; often used in the passivetechnical (mathematics, computing)

    • "We parameterized the function so it can calculate the area of circles with different radii."B2
    • "We can parameterize the function by its slope and intercept."B2
    • "The function is parameterized by the user's chosen settings."C1
  2. In programming, to write or adapt a function so that it accepts parameters, making it reusable with different inputs rather than hard-coding values.

    C1

    transitivetechnical (software)

    • "You should parameterize the function so it works for any list, not just this one."C1

Collocations

Word family