青年中文青年中文

comparison function的意思

comparison function中文翻譯:

[數]比較函數

相似詞語短語

comparison───n.比較;對照;比喻;比較關系

comparison chart───對比圖

rower comparison───賽艇比較

comparison between───在兩者間比較

beyond comparison───adv.無以倫比

comparison theorem───[數]比較定理

comparison synonym───比較同義詞

comparison definition───比較定義

by comparison───相比之下,比較起來;(與...)相比較

雙語使用場景

This table, sorted in alphabetical order, requires a lexical key comparison function, and USES support for duplicate keys in BDB.───本表,按字母順序排序的,需要一個詞匯重點比較功能,并使用在BD B重復鍵的支持。

This function takes two parameters — the first is the HTML select list to sort, and the second is the comparison function.───該函數帶有兩個參數——第一個參數是要排序的HTML選擇列表,第二個參數是比較函數。

Mind you, even this comparison function was rather complicated at the time.───提醒您,即使此比較函數時起來相當復雜。

The function has no effect if an exception is thrown, unless it is thrown by the container's hash function or comparison function.───如果拋出異常,則該函數沒有作用,除非異常是從容器的散列函數或比較函數中拋出的。

This warning indicates that a string copy function was used where a string comparison function should have been used.───此警告意味著在應當使用字符串比較函數的位置使用了字符串復制函數。

The u sort() function sorts an array by a user defined comparison function.───函數的作用是:使用用戶自定義的比較函數對數組中的值進行排序。

The DSU idiom is much faster than passing sort a comparison function, as discussed in other recipes.───DSU慣例是比傳遞一個比較函數更快,就象在其他配方里討論的那樣。

This function will sort an array by its values using a user-supplied comparison function.───本函數將用用戶自定義的比較函數對一個數組中的值進行排序。

英語使用場景

This warning indicates that a string copy function was used where a string comparison function should have been used.

In addition to speed, decorate-sort-undecorate (DSU) offers flexibility that sort with a comparison function argument just can't match.

A naive approach might be to use a library entry point for sorting, supplied with a comparison function to say that "Kim Black" precedes "Dan Smith" because 40,000 is greater than 6,000, and so on.

This is a big step forward in reducing verbosity but is still not any more abstract — it still forces the user to calculate the comparison function imperatively.