segment n. 1.(自然形成的)段落;斷片;部分;分節;段;節。 2.【數學】(線)段;弓形。 3.圓缺;球缺。 4.環節;切片。 5.【生物學】分裂片;體節;環節;【植物;植物學】細裂片;全裂片。 6.【電學】整流子片;【計算機】程序段;【機械工程】扇形體;弧層;拼合輪緣。 a segment of an orange 橘子的一片。 the jointed segments of a bamboo stem 一根竹子的許多節段。 in segments 成節[段],分節[段]。 vi. 【生物學】分裂。 guide segment 弓形座。 mica segment 云母片。 vt. 分割,分裂;【生物學】使分裂。 a segmented worm 環蟲。
array vt. 1.打扮,裝飾。 2.使…列隊,排列。 3.提出(陪審官)名單,使(陪審官)列席,召集(陪審官)。 The general arrayed his troops for battle. 將軍使軍隊列隊準備戰斗。 The girl arrayed herself in her finest clothes. 這女孩打扮得花枝招展。 The count and his men arrayed themselves against the king. 伯爵舉兵對抗國王。 n. 1.整列,隊列,陣(列);陣容。 2.〔詩〕衣裳,裝扮,打扮。 3.陪審官名單。 4.一大批,一大群,一連串。 5.【數學】排列。 a battle array 戰斗隊形,列陣。 holiday array 節日盛裝。 be in fine array 盛裝。 an array of actors 演員的陣容。 a window array 櫥窗陳列品。 an array of (umbrellas) 一排(傘)。 in battle array 列陣,嚴陣。 in proud array 堂堂正正。
Gets the number of elements in the range delimited by the array segment 獲取由數組段分隔的范圍中的元素個數。
Gets the original array containing the range of elements that the array segment delimits 獲取原始數組,其中包含數組段分隔的元素范圍。
Gets the position of the first element in the range delimited by the array segment , relative to the start of the original array 獲取由數組段分隔的范圍中的第一個元素的位置(相對于原始數組的開始位置) 。
It also provides three methods for accessing array elements : standard indexing , creating subarrays , and slicing , which produces a less dimensional view of an array segment 它還提供三種訪問數組元素的方法:標準索引、創建子數組和切片( slicing ) ,切片能產生維數更小的數組片段的視圖。