OpenModelica/C2/Array-Functions-and-Operations/Khasi

From Script | Spoken-Tutorial
Revision as of 12:51, 4 June 2018 by John123 (Talk | contribs)

Jump to: navigation, search

Editing OpenModelica/C2/Array-Functions-and-Operations/English-timed

Time Narration
00:01 Ngi pdiang sngewbha sha ka Spoken Tutorial ha Array Functions and Operations.
00:07 Ha kane ka jinghikai, ngin ia leit ban pule: kumno ban pyndonkam OMShell, kumno ban pyndonkam array construction functions.
00:17 Kumno ban pynlong arithmetic operations ha vectors bad matrices.
00:23 Kumno ban pyndonkam array conversion functions.
00:27 Ban record kane ka jinghikai, nga pyndonkam OpenModelica 1.9.2 Ubuntu Operating System version 14.04 bad gedit
00:40 U nongpyndonkam jong ka Windows u lah ban pyndonkam kano kano ka text editor kum Notepad ha ka jaka jong ka gedit.
00:47 Ban sngewthhuh bad ban practice kane ka jinghikai, phi donkam ka jingtip jong ka function bad array declaration ha Modelica.
00:56 Ka jinghikai Prerequisite lah kdew ha ka website ka jong ngi. Sngewbha pule ia ki.
01:02 To ngin ia pule kham bun shaphang OMShell mynta.
01:06 OMShell ka dei ka interactive command line tool.
01:10 Ka dei ka bynta jong ka OpenModelica.
01:13 OpenModelica compiler lah ban invoke da kaba pyndonkam commands typed ha OMShell.
01:20 Ka lah ban pyndonkam na ka bynta ban loading ka classes bad simulating ia ki.
01:25 Functions lah ruh ban call ha OMShell.
01:29 Ngin ia pyndonkam mynta classes ba kyrteng polynomialEvaluatorUsingVectors bad functionTester ban pyni OMShell.
01:38 Kine ki classes ngi lah ia kren ha ka jignhikai ka ba lah dep.
01:42 Na ka bynta ka jingtip ba kham bun ha kine ki classes, sngewbha peit ia ka jinghikai kaba lah dep.
01:48 Baroh ki commands ban pyndonkam ha kane ka jignhikai lah pynbiang ha ka file ba kyrteng OMShell-command.txt.
01:57 Phi lah ban shem bad download baroh ki code files ba lah ban ioh na ka website ka jong ngi.
02:03 Sngewbha save baroh kine ki code files ha kawei ka directory n aka bynta ka jingrung kaba suk.
02:09 Mynta to ngan pynmih ka OMShell.
02:12 Ban plie OMShell ha Ubuntu Operating System, klik ha Dash Home icon hajrong jong ka liang kadiang ha ka launcher.
02:21 Type OMShell ha ka search bar.
02:25 Klik ha OMShell icon.
02:28 Ha ka Windows, phi lah ban lap ka icon ha ka Start menu.
02:33 Mynta, to ngin ia pule khyndiat ki commands ba donkam .
02:37 Nyngkong, leit sha ka jaka kaba phi lah save ia ka text file ba kyrteng OMShell-commands.txt bad plie ia ka.
02:47 Kynmaw ba kane ka file ka don baroh ki commands ban pyndonkam ha kane ka jinghikai.
02:52 Te, phi lah ban refer na kane ka file haba phi don jing eh.
02:57 Mynta to ngan switch sha ka OMShell.
03:00 Type cd open and close parentheses.
03:05 Press Enter ban pyni ka result ba pynmih ha ka execution jong ka command.
03:11 Kane ka prints ia ka lynti sha ka directory ba mynta.
03:15 Mynta to ngin ia pynkylla ka directory ba mynta sha ka jaka ba phi lah save iaka code files.
03:22 To ngan pynkylla ka directory ha ka system ka jong nga.
03:25 Type cd (open bad close parentheses) (hapoh double quotes), specify ia ka path. Press Enter.
03:38 Kynmaw ba ka Windows path ka pyndonkam forward slash ym kum ka backward slash ba pyndonkam ha Ubuntu.
03:46 U nongpyndonkam jong ka Windows u donkam ban husiar ia kane ka jingshisha.
03:51 Mynta to ngin ia load polynomialEvaluatorUsingVectors function.
03:57 Type loadFile() (hapoh parentheses) (hapoh double quotes) polynomialEvaluatorUsingVectors.mo.
04:11 Kynmaw ba F udei u upper-case ha loadFile() command.
04:16 Kane ka command lah ban pyndonkam ban load class lane model files bad ka file extension jong .mo.
04:25 Mynta press Enter.
04:28 Lada ka file la lap, OMShell returns true.
04:33 Mynta to ngin ia khot ia kane ka function interactively.
04:37 Type polynomialEvaluatorUsingVectors (hapoh ka arguments jong) 10. Press Enter.
04:47 Kane ka command ka shim ia ka input argument jong 10 units bad pynpaw ia ka result.
04:55 To mynta ngan load ka functionTester Class.
04:59 Type loadFile (open bad close parentheses)(hapoh double quotes) functionTester.mo. Press Enter.
05:12 Mynta to ngin ia simulate functionTester class.
05:16 Type simulate (within parantheses) functionTester(comma)startTime(equals) 0 stopTime(equals) 1 Press Enter.
05:32 Ka simulation mynta ka lah dep.
05:35 To ngin ia plot u variable z na functionTester class.
05:40 Type plot (hapoh parantheses) (hapoh curly braces) z bad press Enter.
05:50 Kane ka command ka pynmih ka plot jong ki variable z vs time.
05:56 Mynta to ngan phai biang sha ka slides.
06:01 Array construction functions la pyndonkam ban shna arrays jogn ka size ba lah ai.
06:06 Mynta to ngin ia peit ha khyndiat ki array construction functions.
06:11 Ngin ia practice ruh ia ki da kaba pyndonkam ka OMShell.
06:15 fill() u dei u function ba pyndonka ba shna kano kano ka array bad baroh ki elements kumjuh.: ka sytax na ka bynta ka fill ka dei kumba la pyni.
06:25 Nyngkong argument ka ieng ia ka number kaba pyndap ia ka array.
06:29 Ka arguments kaba sah ka ieng ia ka size jong man la ka dimension.
06:34 zeros() ka dei ka function ba pyndonkam ban shna ka array pyndap bad u zeros.: Syntax naka bynta zero() function ka dei kumba lah pyni.
06:44 Arguments ka ieng ia ka size jong man la ka dimension jong ka array.
06:50 identity() function ka shna ka identity matrix. Ka shim kawei ka argument kaba ieng ia ka size jong baroh ar ki dimension.
07:02 Mynta to ngan pyni kine ki functions da kaba pyndonkam OMShell.
07:06 To ngan phai biang sha ka OMShell.
07:09 Type fill(hapoh parantheses) 5 (comma) 2 (comma) 2.
07:16 Kane ka command ka pynmih ki two by two matrix bad baroh ki elements ki dei 5.
07:24 Ka arguments kaba nyngkong ka ieng ia ka element ka ban pyndap hapoh ka array.
07:30 2 ka ieng ia ka size jogn ka dimension kaba nyngkong.
07:30 bad kaba lai ka argument 2, ka ieng ia ka size jong ka dimension kaba ar.
07:40 Mynta press Enter.
07:43 Ka result ka dei kumba la khmih lynti.
07:46 Elements bad uwei u set jong u curly braces ka ieng na ka bynta ka row.
07:52 Te kane ka matrix ka don ar tylli ka rows bad ar tylli kacolumns.
07:57 Mynta to ngin ia pyndonkam zeros() function ban shna ka (two by two) matrix ryngkat bad baroh ki elements zero.
08:05 Type zeros (hapoh parentheses) 2 (comma) 2 bad press Enter.
08:13 Ka result ka dei kumba la khmih lynti.
08:16 To ngin ia pyrshang mynta identity function.
08:19 Type ‘‘‘identity(3)’‘‘.
08:23 Kane ka shna ka identity matrix kaba dei 3 (by) 3 ha ka size.
08:29 Ngi lah ruh ban leh arithmetic operations bad pyndonkam assignment statements ha OMShell.
08:36 To ngin ia shna ar tylli ki matrices bad pynlong ‘‘‘arithmetic operations’‘‘ ha ki.
08:42 Type a (colon) (equals) (hapoh square brackets) 1 (comma) 2 (semicolon) 3 (comma) 4.
08:54 Comma la pyndonkam ban pyniapher ki elements ha ka row
08:58 Katba semi-colon la pyndonkam ban pyniapher ka row da lade. Mynta press Enter.
09:07 Type b (colon) (equals) identity(2).
09:15 Kane ka pynmih ka 2 by 2 identity matrix.
09:19 Mynta to ngin ia pynlong arithmetic operations ha a bad b.
09:24 Type a (plus) b bad press Enter.
09:29 Kane ka pynlong ka matrix addition.
09:32 Type a (asterisk) b.
09:36 Kane ka pynlong matrix multiplication. Nion Enter.
09:42 Type a (dot) (asterisk) b bad nion Enter.
09:49 Kane ka pynlong ia ki element ka multiplication jong artylli ki matrices.
09:55 Kynmaw ba kam dei kaba donkam ban define ia ka data-types jong u variables ba pyndonkam ha ka OMShell.
10:02 Mynta to ngin ia phai biang sha ki slides.
10:06 Reduction functions ka shim ia ka array kum ka input bad return scalar kum kaoutput.
10:13 min() ka dei ka function kaba return ka value kaba rit ha ka array.
10:19 Kumjuh ruh, max() function ka return ia ka value kaba heh ha ka array. sum()’‘‘ ka returns ia ka sum jong baroh ki elements bad product() ka returns ka product jong baroh ki elements.
10:33 To ngan phai sha ka OMShell ban pyni kine ki functions.
10:38 To ngan shna ka matrix kaba thymmai.
10:41 x (colon)(equals) (hapoh square brackets) 3 (comma) 4 (semicolon) 5 (comma) 6.
10:52 Type min (x) ban ioh ia ka value kaba rit jong u x.
11:00 Type max(x) ban ioh ia ka value kaba heh ha ka array x..
11:08 Kumjuh ruh type sum(x) ban ioh ia ka sum jong baroh ki elements.
11:15 Bad product (x) ban ioh ia ka product jong man la ki elements min array x.
11:23 To ngan leit phai biang sha ki slides sa shisien.
11:27 To ngin ia kren mynta shibun kiwei ki functions kaba shim ia ka array kum ka input.
11:33 abs() ka dei ka function kaba return ia ka array bad ka absolute values jong baroh ki elements.
11:40 size() ka returns ia ka vector ryngkat bad ka size jong man la ka dimension.
11:45 ndims() returns ia ka number jong ka dimensions ha ka array.
11:51 Kane ka wanrah ia ngi sha kaba kut jong kane ka jinghikai.
11:54 Ha kane ka jinghikai, ngi pyndonkam OMShell ban leh interactively ban pyni array functions.
12:01 Kine ki functions ki dei shi bynta jong ka Modelica language specification.
12:05 Te, ki lah ban pyndonkam katba dang thoh classes ha ka OMEdit kumjuh ruh.
12:11 Kum ka assignment, apply abs(),ndims() bad size() functions ha ka array.
12:19 Kaba ar, ngi hap ban pyndonkam ka two-dimensional array lane matrix kum ka argument sha man la ki functions.
12:28 Kum ka assignment, leh ia baroh kine ki functions bad three-dimensional arrays.
12:35 Peit ia ka video ba lah ban ioh na ka link harum:org /What\_is\_a\_Spoken\_Tutorial
12:39 Ka batai kyllum ia ka Spoken Tutorial project.
12:42 Ngi pynlong ki workshop da kaba pyndonkam ka spokentutorials. Ka ai certificates. Sngewbha contact sha ngi.
12:48 Lad phi don ka jing kylli ha kane ka spoken tutorial, sngewbha wan jngoh ha ka webpage ba lah kdew.
12:54 Ngi coordinate coding jong ki nuksa kiba lah dep khein jong ki kot kiba paw. Sngewbha thoh sha ngi.
13:00 Ngi iarap ban migrate commercial simulator labs sha ka OpenModelica.
13:06 Spoken Tutorial Project lah noh synniang da ka NMEICT, MHRD jong ka Sorkar India.
13:14 Ngi ai khublei ia ka kynhun ki nongshna jong ka OpenModelica na kabynta ka jing kyrshan ka jong ki. Ma nga I jong Nongkynrih Khublei shibun.

Contributors and Content Editors

John123, Mousumi