idempotent
1. A function f : D -> D i s idempotent if f (f x) = f x for all x in D. I.e. repeated application s have the same effect a s one. Thi s can be extended to function s of more than one argument, e.g. Boolean & ha s x & x = x. Any value in the image of an idempotent function i s a fixed point of the function. 2. Thi s term can be u sed to de scribe C header file s, which contain common definition s and declaration s to be included by several source file s. If a header file i s ever included twice during the same compilation (perhap s due to ne sted #include file s), compilation error s can re sult unle ss the header file ha s protected it self again st multiple inclu sion a header file so protected i s said to be idempotent. 3. The term can al so be u sed to de scribe an initiali sation subroutine that i s arranged to perform some critical action exactly once, even if the routine i s called several time s. [ Jargon File] (1995-01-11) style="border-width:thin; border-color:#333333; border-style:dashed; padding:5px;" align="left">In addition suitable contents: [ 2 ] [ = ] [ ad ] [ ag ] [ ai ] [ al ] [ am ] [ an ] [ app ] [ application ] [ ar ] [ arc ] [ arg ] [ argument ] [ as ] [ at ] [ av ] [ B ] [ b ] [ be ] [ Boolean ] [ br ] [ by ] [ C ] [ ca ] [ cat ] [ ch ] [ cl ] [ co ] [ com ] [ con ] [ cr ] [ D ] [ de ] [ dec ] [ du ] [ ec ] [ ed ] [ er ] [ era ] [ error ] [ es ] [ extend ] [ fi ] [ file ] [ fix ] [ fixed point ] [ fo ] [ for ] [ function ] [ ga ] [ ge ] [ gu ] [ h ] [ hat ] [ header ] [ hr ] [ id ] [ il ] [ image ] [ in ] [ inc ] [ include ] [ int ] [ io ] [ is ] [ it ] [ J ] [ Jargon File ] [ la ] [ Lex ] [ li ] [ ls ] [ lt ] [ lu ] [ ly ] [ ma ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ mu ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ nl ] [ ns ] [ om ] [ pe ] [ perf ] [ ph ] [ pl ] [ point ] [ pr ] [ query ] [ range ] [ rc ] [ re ] [ repeat ] [ ro ] [ routine ] [ sa ] [ sam ] [ sc ] [ se ] [ si ] [ so ] [ source ] [ st ] [ su ] [ subroutine ] [ T ] [ th ] [ to ] [ tw ] [ um ] [ us ] [ va ] [ value ] [ ve ]
[ Go Back ]
Free On-line Dictionary of Computing Copyright © by OnlineWoerterBuecher.de - (5461 Reads) |