V2EX decrement

Decrement

定义 Definition

decrement 是一个名词和动词,意为"减少、递减"。作为名词,指减少的量或递减的过程;作为动词,指将某个值减少(通常减少一个单位)。在计算机编程中尤为常见,表示将变量的值减一。

发音 Pronunciation

/dk.r.mnt/

例句 Examples

The counter will decrement by one each time you press the button.
每按一次按钮,计数器就会递减一。

In the loop, the program decrements the variable until it reaches zero, at which point the function terminates gracefully.
在循环中,程序不断递减该变量直到它变为零,届时函数会正常终止。

词源 Etymology

decrement 源自拉丁语 decrementum,由 decrescere 演变而来,意为"减少、变小"。其中 de- 表示"向下",crescere 表示"生长"。该词在17世纪进入英语,最初用于数学和科学领域,后来在计算机科学中广泛使用,与 increment(递增)相对应。

相关词汇 Related Words

文学与著作引用 Literary References

  • 在 Donald Knuth 的经典著作 The Art of Computer Programming 中,decrement 被大量使用,用于描述算法中变量的递减操作。
  • 在数学与物理学文献中,decrement 常见于描述衰减过程,例如 logarithmic decrement(对数递减率)出现在振动力学的经典教材中。
  • Charles Babbage 在描述其差分机(Difference Engine)的文献中也使用了 decrement 来表示数值的逐步减少。
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2524 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 6ms UTC 10:12 PVG 18:12 LAX 03:12 JFK 06:12
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86