轉換(Map, Function)或者係函數,係抽象數學入面一個基本概念。
可以比喻成將兩個集入面嘅元素用線連埋一齊。
假設有 兩個集。
一個由 轉成 嘅轉換就係一個方法將 入面嘅元素轉換成 入面嘅元素。
一般會寫做 。
轉換同函數嘅分別:轉換係無咩要求,只要將兩個集連埋一齊就得。
就叫原域(Domain)。
轉換後嘅所有元素嘅集合, 就叫蓋域(Range)。
恆等轉換(Identity Map)就係轉換完之後,係咩都無變過。
This article uses material from the Wikipedia 粵語 article 轉換, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). 呢度嘅所有文字係根據 CC BY-SA 4.0 牌照嘅條款發佈;可能會有附加嘅條款。 Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki 粵語 (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.