好词典

lambda

UK /ˈlæmdə/US /ˈlæmdə/

词源

源自希腊字母λ(λάμβδα),最早来自腓尼基字母lamedh。在编程领域的用法始于20世纪60年代的λ演算理论。

noun

❶ 希腊字母表中的第11个字母,形状类似倒置的Y,常用于数学、物理等学科中表示特定符号或变量。

“The wavelength is often represented by the Greek letter lambda.”

(波长通常用希腊字母λ表示。)

“Lambda calculus is a formal system in mathematical logic.”

(λ演算是数理逻辑中的一个形式系统。)

❶ 在计算机科学中,指一种匿名函数,常用于简化代码或作为参数传递。

“Python allows you to create lambda functions for simple operations.”

(Python允许你为简单操作创建lambda函数。)

“The map function takes a lambda as its first argument.”

(map函数的第一个参数是一个lambda表达式。)

同义词:anonymous function, λ

常见短语

lambda expression — 编程中的匿名函数表达式,通常用于简化代码或实现函数式编程。

“The lambda expression (x) => x * x squares the input.”

(lambda表达式(x) => x * x实现了输入值的平方计算。)

lambda particle — 物理学中的Λ粒子,一种重子,由夸克组成。

“The lambda particle has a strangeness of -1.”

(Λ粒子的奇异数为-1。)