object n. 1. 物,物體,物件。 2.目標 (of; for); 目的,宗旨。 3.【哲學】對象,客體,客觀 (opp. subject); 【語法】賓語。 4.〔口語〕(可笑或可憐的)人[物]。 a small [strange] object 小[奇怪]東西。 the object of study 研究的對象。 the direct [indirect] object 直接[間接]受詞。 What an object you have made (of) yourself! 〔口語〕你這家伙把自己搞得真不像樣子! attain [achieve, gain, secure] one's object 達到目的。 fail [succeed] in one's object 沒有達到[達到]目的。 for that object 為了那個目的。 no object 〔廣告用語〕怎樣都好,不成問題;沒有困難(Distance is no object. (待聘者)上班距離(遠、近)不成問題)。 propose an objectto oneself = set an object before one 立志,立下目標。 with that object in view 懷著那個目的。 vi. 1.反對,抗議,表示異議 (against, to)。 2.抱反感,不服氣,有意見。 vt. 提出…作反對的理由 (that)。 If you don't object. 假使你不反對。 I object. 〔英下院〕我反對。 I object against him that he is a hypocrite. 我反對他,因為他是個偽君子。 object to 1. 反對(I object to your doing that. 我反對你做那件事)。 2.討厭(I object very much to a wet weather. 我非常討厭潮濕的天氣)。 adj. -less 沒有目的[宗旨]的,沒有物像的。
object to 反對,不贊成; 反對;抗議,抱反感; 反對;抗議;不支持; 聲稱; 提出異議; 贊成……的人則認為
function n. 1.功能,官能,機能,作用。 2.〔常 pl.〕職務,職責。 3.慶祝儀式;(盛大的)集會,宴會。 4.【數(shù)學】函數(shù);與其他因素有密切關系的事。 The function of the ear is to listen. 耳的功能是聽。 the function of education 教育的功能。 discharge one's functions 盡職。 the functions and powers of the National Congress 全國代表大會的職權。 a controllable function【火箭】遙控程序。 public [social] function招待會,文娛晚會,社交集會。 vital functions 生命機能。 vi. (器官等)活動,(機器等)運行,發(fā)揮作用。 function as teacher 擔任教師。 a sofa functioning as a bed 兼當床用的沙發(fā)。 The lathe doesn't function well. 這臺車床有毛病。 function digit [letter] 【計算機】操作數(shù)碼[字碼]。
function of function迭函數(shù); function合成函數(shù); 元函數(shù)
Function objects to names in the example , but that is not strictly necessary . we could instead simply nest the definitions . for readability we do it this way ; but also because 我們定義的每一個閉包函數(shù)都攜帶了函數(shù)范圍內(nèi)定義的任何值,然后將這些值綁定到函數(shù)對象的全局范圍。
But just as we can use the number 23 without binding it to any name in other words , as a function argument , we can use the function object we created with 閉包就象是fp的jekyll對于oop的hyde (角色或者也可能對調(diào)) 。閉包類似對象示例,是一種將一大批數(shù)據(jù)和功能封裝在一起的一種方式。
From multimethods import dispatch " multimethods " is generally a synonym for multiple dispatch ; but the name multimethod suggests the concrete function object handling the more abstract concept multiple dispatch . an instance of “多元法( multimethods ) ”通常是多分派的同義詞;但是多元法這個名稱暗示著處理較抽象的概念時應采用具體的函數(shù)對象。
If the name denotes a valid class attribute that is a function object , a method object is created by packing ( pointers to ) the instance object and the function object just found together in an abstract object : this is the method object 如果這個命名確認為一個有效的函數(shù)對象類屬性,就會將實例對象和函數(shù)對象封裝進一個抽象對象:這就是方法對象。
When the method object is called with an argument list , it is unpacked again , a new argument list is constructed from the instance object and the original argument list , and the function object is called with this new argument list 以一個參數(shù)列表調(diào)用方法對象時,它被重新拆封,用實例對象和原始的參數(shù)列表構造一個新的參數(shù)列表,然后函數(shù)對象調(diào)用這個新的參數(shù)列表。
For instance , while a function object has parameters associated with it in all the visual studio languages , in visual c the function can have additional properties unique to the c language , such as being virtual , a constant , or part of an idl file 例如,某個函數(shù)對象在所有visual studio語言中均具有與其相關聯(lián)的參數(shù)時,而在visual c + +中,此函數(shù)可以包含c + +語言中特有的附加屬性,如虛擬性、常數(shù)或idl文件的一部分。
Also in this paper , we modify the control function object function and the separation condition of system , and point out more precise and more correct conditions . in the view of material mechanics and structural mechanics , we analyze the results we get and make them more persuaded 另外,本文還對前人工作中的目標函數(shù)、控制函數(shù)及系統(tǒng)解體條件進行了研究和改進,提出了更加準確、更加科學的目標函數(shù)、控制函數(shù)和系統(tǒng)解體條件,并且我們還對所得到的結果從材料力學和結構力學上進行了分析,使得所得結果更具有依據(jù)和說服力。
A function object is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax (a function parameter that can also be a function).