อาเรย์
aa-reeMeaning
1NounB2
array (data structure)
a data structure that stores elements, typically of the same type, in a sequence and allows access by index
Examples
โปรแกรมเมอร์bproo-grɛɛm-mə̂əโปรแกรมเมอร์bproo-grɛɛm-mə̂əprogrammer; software developerเก็บgèpเก็บgèp1to keep; save; put away2to collect; pick up; gather3to tidy up; put in order4[to] harvest; pick (fruit/flowers)5to charge; take (a fee/payment)6[to] tuck in; gather up (hair/clothes)รายชื่อraai-chʉ̂ʉรายชื่อraai-chʉ̂ʉlist of names; rosterพนักงานpá-nák-ngaanพนักงานpá-nák-ngaanemployee; staff member; workerทั้งหมดtáng-mòtทั้งหมดtáng-mòt1all; entire; whole2all; in total; completely3the whole; everythingไว้wáiไว้wái1[to] keep; save; store2for later; in reserve3[to] leave (something) as is4marks retention or maintenance of a state5[to] wear; sport (hair/moustache/etc.)ในnaiในnai1in; inside; within2during; in (time)3of; belonging to (formal)อาเรย์aa-reeอาเรย์aa-reearray (data structure)เดียวdiiaoเดียวdiiaosingle; one; only; same
The programmer stored the list of all employees in a single array.
7 more examplesShow less
ข้อมูลkɔ̂ɔ-muunคะแนนสอบká-nɛɛn-sɔ̀ɔpของkɔ̌ɔngนักเรียนnák-riianถูกtùukจัดเรียงjàt-riiangตามลำดับdtaam-lam-dàpในnaiอาเรย์aa-reeเพื่อให้pʉ̂ʉa-hâiง่ายngâaiต่อdtɔ̀ɔการเข้าถึงgaan-kâo-tʉ̌ng
The students' test score data was arranged sequentially in an array for easy access.
การใช้gaan-cháiดัชนีdàt-chá-niiเพื่อpʉ̂ʉaเข้าถึงkâo-tʉ̌ngข้อมูลkɔ̂ɔ-muunในnaiอาเรย์aa-reeเป็นbpenวิธีwí-tiiที่tîiมีmiiประสิทธิภาพสูงbprà-sìt-tí-pâap-sǔungเพราะprɔ́สามารถsǎa-mâatระบุrá-bùตำแหน่งdtam-nɛ̀ngของkɔ̌ɔngข้อมูลkɔ̂ɔ-muunได้dâaiโดยตรงdooi-dtrong
Using an index to access data in an array is a highly efficient method because it can directly specify the data's location.
ในnaiการประมวลผลภาพgaan-bprà-muuan-pǒn-pâapดิจิทัลdì-jì-tâlค่าสีkâa-sǐiของkɔ̌ɔngแต่ละdtɛ̀ɛ-láพิกเซลpík-seenมักจะmák-jàถูกtùukเก็บไว้gèp-wáiในnaiอาเรย์aa-reeสองsɔ̌ɔngมิติmí-dtìเพื่อpʉ̂ʉaแสดงsà-dɛɛngโครงสร้างkroong-sâangของkɔ̌ɔngรูปภาพrûup-pâap
In digital image processing, the color values of each pixel are often stored in a two-dimensional array to represent the structure of the picture.
เมื่อmʉ̂ʉaคุณkunประกาศอาเรย์bprà-gàat-aa-reeโปรแกรมbproo-grɛɛmจะjàจองjɔɔngพื้นที่pʉ́ʉn-tîiหน่วยความจำnùuai-kwaam-jamต่อเนื่องกันdtɔ̀ɔ-nʉ̂ʉang-ganสำหรับsǎm-ràpเก็บข้อมูลgèp-kɔ̂ɔ-muun
When you declare an array, the program reserves a contiguous block of memory to store data.
การเข้าถึงข้อมูลgaan-kâo-tʉ̌ng-kɔ̂ɔ-muunในnaiอาเรย์aa-reeทำได้tam-dâaiเร็วreoเพราะprɔ́ตำแหน่งdtam-nɛ̀ngในnaiหน่วยความจำnùuai-kwaam-jamสามารถsǎa-mâatคำนวณkam-nuuanได้dâaiโดยตรงdooi-dtrongจากjàakดัชนีdàt-chá-nii
Accessing data in an array is fast because its location in memory can be calculated directly from the index.
อาเรย์aa-reeสองsɔ̌ɔngมิติmí-dtìจะjàถูกtùukจัดเก็บjàt-gèpในnaiหน่วยความจำnùuai-kwaam-jamเป็นbpenบล็อกblɔ́kต่อเนื่องกันdtɔ̀ɔ-nʉ̂ʉang-ganไม่ว่าจะเป็นmâi-wâa-jà-bpenแบบbɛ̀ɛpแถวtɛ̌ɛoต่อแถวdtɔ̀ɔ-tɛ̌ɛoหรือrʉ̌ʉคอลัมน์kɔɔ-lamต่อdtɔ̀ɔคอลัมน์kɔɔ-lamก็ตามgɔ̂-dtaam
A two-dimensional array is stored in memory as a contiguous block, whether in row-major or column-major order.
ข้อจำกัดkɔ̂ɔ-jam-gàtอย่างหนึ่งyàang-nʉ̀ngของkɔ̌ɔngอาเรย์aa-reeคือkʉʉขนาดkà-nàatของkɔ̌ɔngบล็อกblɔ́kหน่วยความจำnùuai-kwaam-jamที่tîiจองไว้jɔɔng-wáiจะjàไม่สามารถmâi-sǎa-mâatเปลี่ยนแปลงbplìian-bplɛɛngได้dâaiหลังจากlǎng-jàakสร้างsâangแล้วlɛ́ɛo
One limitation of an array is that the size of its allocated memory block cannot be changed after creation.
Tones
See how the spelling sets each syllable's tone, step by step.
Why is อาเรย์ said อา-เร?
aa-ree
The tone rules below use the spoken syllables.
2 syllables · pick one to see its rule
How the tone is decided
- Consonant classMid class
- Tone markNo tone mark
- Syllable endingLive syllableA long vowel with no final consonant, so it is live.
Mid class consonants
กจฎฏดตบปอ
Result
Mid tone
aa
Level, in your normal speaking voice.
Mid class + No tone mark + Live syllable → Mid
Tone chart
Every class and spelling pattern, with this syllable outlined.
| Mid class | High class | Low class | |
|---|---|---|---|
| No mark + live | Mid | Rising | Mid |
| No mark + dead short | Low | Low | High |
| No mark + dead long | Low | Low | Falling |
| Mai ek | Low | Low | Falling |
| Mai tho | Falling | Falling | High |
| Mai tri | High | — | — |
| Mai chattawa | Rising | — | — |