Difference between revisions of "OpenModelica/C2/Array-Functions-and-Operations/Khasi"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "Editing OpenModelica/C2/Array-Functions-and-Operations/English-timed {| border=1 ||''' Time ''' ||'''Narration''' |- || 00:01 || Ngi pdiang sngewbha sha ka Spoken Tutorial h...")
 
Line 7: Line 7:
 
|-
 
|-
 
|| 00:01
 
|| 00:01
|| Ngi pdiang sngewbha sha ka Spoken Tutorial ha “Array Functions and Operations”.  
+
|| Ngi pdiang sngewbha sha ka Spoken Tutorial ha '''Array Functions and Operations'''.  
 
|-
 
|-
 
|| 00:07
 
|| 00:07
|| Ha kane ka jinghikai, ngin ia leit ban pule: kumno ban pyndonkam “OMShell”, kumno ban pyndonkam “array construction functions”.
+
|| Ha kane ka jinghikai, ngin ia leit ban pule: kumno ban pyndonkam '''OMShell''', kumno ban pyndonkam '''array construction functions'''.
 
|-
 
|-
 
|| 00:17
 
|| 00:17
||  Kumno ban pynlong “arithmetic operations” ha “vectors” bad “matrices”.
+
||  Kumno ban pynlong '''arithmetic operations''' ha '''vectors''' bad '''matrices'''.
 
|-
 
|-
 
|| 00:23
 
|| 00:23
||Kumno ban pyndonkam “array conversion functions”.
+
||Kumno ban pyndonkam '''array conversion functions'''.
 
|-
 
|-
 
|| 00:27
 
|| 00:27
|| Ban record kane ka jinghikai, nga pyndonkam “OpenModelica 1.9.2” “Ubuntu Operating System version 14.04” bad “gedit”
+
|| Ban record kane ka jinghikai, nga pyndonkam '''OpenModelica 1.9.2''' '''Ubuntu Operating System version 14.04''' bad '''gedit'''
 
|-
 
|-
 
|| 00:40
 
|| 00:40
||U nongpyndonkam jong ka “Windows” u lah ban pyndonkam kano kano ka text editor kum “Notepad” ha ka jaka jong ka “gedit”.
+
||U nongpyndonkam jong ka '''Windows''' u lah ban pyndonkam kano kano ka text editor kum '''Notepad''' ha ka jaka jong ka '''gedit'''.
 
|-
 
|-
 
|| 00:47
 
|| 00:47
||  Ban sngewthhuh bad ban practice kane ka jinghikai, phi donkam ka jingtip jong ka “function” bad “array declaration” ha “Modelica”.
+
||  Ban sngewthhuh bad ban practice kane ka jinghikai, phi donkam ka jingtip jong ka '''function''' bad '''array declaration''' ha '''Modelica'''.
 
|-
 
|-
 
|| 00:56
 
|| 00:56
Line 31: Line 31:
 
|-
 
|-
 
|| 01:02
 
|| 01:02
|| To ngin ia pule kham bun shaphang “OMShell” mynta.
+
|| To ngin ia pule kham bun shaphang '''OMShell''' mynta.
 
|-
 
|-
 
|| 01:06
 
|| 01:06
||“OMShell” ka dei ka interactive command line tool.
+
||'''OMShell''' ka dei ka interactive command line tool.
 
|-
 
|-
 
|| 01:10
 
|| 01:10
||Ka dei ka bynta jong ka “OpenModelica”.
+
||Ka dei ka bynta jong ka '''OpenModelica'''.
 
|-
 
|-
 
|| 01:13
 
|| 01:13
||“OpenModelica compiler” lah ban invoke da kaba pyndonkam “commands” typed ha “OMShell”.
+
||'''OpenModelica compiler''' lah ban invoke da kaba pyndonkam '''commands''' typed ha '''OMShell'''.
 
|-
 
|-
 
|| 01:20
 
|| 01:20
||Ka lah ban pyndonkam na ka bynta ban loading ka “classes” bad simulating ia ki.
+
||Ka lah ban pyndonkam na ka bynta ban loading ka '''classes''' bad simulating ia ki.
 
|-
 
|-
 
|| 01:25
 
|| 01:25
||“Functions” lah ruh ban call ha “OMShell”.
+
||'''Functions''' lah ruh ban call ha '''OMShell'''.
 
|-
 
|-
 
|| 01:29
 
|| 01:29
|| Ngin ia pyndonkam mynta “classes” ba kyrteng “polynomialEvaluatorUsingVectors” bad “functionTester” ban pyni “OMShell”.
+
|| Ngin ia pyndonkam mynta '''classes''' ba kyrteng '''polynomialEvaluatorUsingVectors''' bad '''functionTester''' ban pyni '''OMShell'''.
 
|-
 
|-
 
|| 01:38
 
|| 01:38
||Kine ki “classes” ngi lah ia kren ha ka jignhikai ka ba lah dep.
+
||Kine ki '''classes''' ngi lah ia kren ha ka jignhikai ka ba lah dep.
 
|-
 
|-
 
||01:42
 
||01:42
||Na ka bynta ka jingtip ba kham bun ha kine ki “classes”, sngewbha peit ia ka jinghikai kaba lah dep.
+
||Na ka bynta ka jingtip ba kham bun ha kine ki '''classes''', sngewbha peit ia ka jinghikai kaba lah dep.
 
|-
 
|-
 
||01:48
 
||01:48
||Baroh ki “commands” ban pyndonkam ha kane ka jignhikai lah pynbiang ha ka file ba kyrteng “OMShell-command.txt”.
+
||Baroh ki '''commands''' ban pyndonkam ha kane ka jignhikai lah pynbiang ha ka file ba kyrteng '''OMShell-command.txt'''.
 
|-
 
|-
 
|| 01:57
 
|| 01:57
||Phi lah ban shem bad download baroh ki “code files” ba lah ban ioh na ka website ka jong ngi.
+
||Phi lah ban shem bad download baroh ki '''code files''' ba lah ban ioh na ka website ka jong ngi.
 
|-
 
|-
 
|| 02:03
 
|| 02:03
Line 67: Line 67:
 
|-
 
|-
 
|| 02:09
 
|| 02:09
|| Mynta to ngan pynmih ka “OMShell”.
+
|| Mynta to ngan pynmih ka '''OMShell'''.
 
|-
 
|-
 
|| 02:12
 
|| 02:12
||Ban plie “OMShell” ha “Ubuntu” Operating System, klik ha “Dash Home” icon hajrong jong ka liang kadiang ha ka launcher.
+
||Ban plie '''OMShell''' ha '''Ubuntu''' Operating System, klik ha '''Dash Home''' icon hajrong jong ka liang kadiang ha ka launcher.
 
|-
 
|-
 
|| 02:21
 
|| 02:21
|| Type “OMShell” ha ka search bar.
+
|| Type '''OMShell''' ha ka search bar.
 
|-
 
|-
 
|| 02:25
 
|| 02:25
||Klik ha “OMShell” icon.
+
||Klik ha '''OMShell''' icon.
 
|-
 
|-
 
||02:28
 
||02:28
||Ha ka “Windows”, phi lah ban lap ka icon ha ka “Start” menu.
+
||Ha ka '''Windows''', phi lah ban lap ka icon ha ka '''Start''' menu.
 
|-
 
|-
 
|| 02:33
 
|| 02:33
Line 85: Line 85:
 
|-
 
|-
 
|| 02:37
 
|| 02:37
||Nyngkong, leit sha ka jaka kaba phi lah save ia ka text file ba kyrteng “OMShell-commands.txt” bad plie ia ka.
+
||Nyngkong, leit sha ka jaka kaba phi lah save ia ka text file ba kyrteng '''OMShell-commands.txt''' bad plie ia ka.
 
|-
 
|-
 
|| 02:47
 
|| 02:47
||Kynmaw ba kane ka file ka don baroh ki “commands” ban pyndonkam ha kane ka jinghikai.
+
||Kynmaw ba kane ka file ka don baroh ki '''commands''' ban pyndonkam ha kane ka jinghikai.
 
|-
 
|-
 
|| 02:52
 
|| 02:52
Line 94: Line 94:
 
|-
 
|-
 
||02:57
 
||02:57
||Mynta to ngan switch sha ka “OMShell”.
+
||Mynta to ngan switch sha ka '''OMShell'''.
 
|-
 
|-
 
|| 03:00
 
|| 03:00
|| Type “cd open and close parentheses”.
+
|| Type '''cd open and close parentheses'''.
 
|-
 
|-
 
|| 03:05
 
|| 03:05
||Press “Enter” ban pyni ka result ba pynmih ha ka execution jong ka “command”.
+
||Press '''Enter''' ban pyni ka result ba pynmih ha ka execution jong ka '''command'''.
 
|-
 
|-
 
|| 03:11
 
|| 03:11
Line 106: Line 106:
 
|-
 
|-
 
||03:15
 
||03:15
|| Mynta to ngin ia pynkylla ka directory ba mynta sha ka jaka ba phi lah save iaka “code files”.
+
|| Mynta to ngin ia pynkylla ka directory ba mynta sha ka jaka ba phi lah save iaka '''code files'''.
 
|-
 
|-
 
|| 03:22
 
|| 03:22
Line 112: Line 112:
 
|-
 
|-
 
|| 03:25
 
|| 03:25
||Type “cd” (open bad close parentheses) (hapoh double quotes), specify ia ka path. Press '''Enter'''.
+
||Type '''cd''' (open bad close parentheses) (hapoh double quotes), specify ia ka path. Press '''Enter'''.
 
|-
 
|-
 
|| 03:38
 
|| 03:38
|| Kynmaw ba ka “Windows” path ka pyndonkam “forward slash” ym kum ka “backward slash” ba pyndonkam ha “Ubuntu”.
+
|| Kynmaw ba ka '''Windows''' path ka pyndonkam '''forward slash''' ym kum ka '''backward slash''' ba pyndonkam ha '''Ubuntu'''.
 
|-
 
|-
 
|| 03:46
 
|| 03:46
||U nongpyndonkam jong ka “Windows” u donkam ban husiar ia kane ka jingshisha.
+
||U nongpyndonkam jong ka '''Windows''' u donkam ban husiar ia kane ka jingshisha.
 
|-
 
|-
 
|| 03:51
 
|| 03:51
|| Mynta to ngin ia load “polynomialEvaluatorUsingVectors” function.
+
|| Mynta to ngin ia load '''polynomialEvaluatorUsingVectors''' function.
 
|-
 
|-
 
|| 03:57
 
|| 03:57
||Type “loadFile”() (hapoh parentheses) (hapoh double quotes) '''polynomialEvaluatorUsingVectors.mo'''.
+
||Type '''loadFile'''() (hapoh parentheses) (hapoh double quotes) '''polynomialEvaluatorUsingVectors.mo'''.
 
|-
 
|-
 
||04:11
 
||04:11
||Kynmaw ba “F” udei u upper-case ha “loadFile()command.
+
||Kynmaw ba '''F''' udei u upper-case ha '''loadFile()''' command.
 
|-
 
|-
 
||04:16
 
||04:16
||Kane ka command lah ban pyndonkam ban load “class” lane “model” files bad ka file extension jong .mo”.
+
||Kane ka command lah ban pyndonkam ban load '''class''' lane '''model''' files bad ka file extension jong '''.mo'''.
 
|-
 
|-
 
|| 04:25
 
|| 04:25
||Mynta press “Enter”.
+
||Mynta press '''Enter'''.
 
|-
 
|-
 
|| 04:28
 
|| 04:28
|| Lada ka file la lap, “OMShell” returns “true”.
+
|| Lada ka file la lap, '''OMShell''' returns '''true'''.
 
|-
 
|-
 
|| 04:33
 
|| 04:33
Line 142: Line 142:
 
|-
 
|-
 
|| 04:37
 
|| 04:37
||Type “polynomialEvaluatorUsingVectors” (hapoh ka  arguments jong) “10”. Press “Enter”.
+
||Type '''polynomialEvaluatorUsingVectors''' (hapoh ka  arguments jong) '''10'''. Press '''Enter'''.
 
|-
 
|-
 
|| 04:47
 
|| 04:47
|| Kane ka command ka shim ia ka input argument jong “10” units bad pynpaw ia ka result.
+
|| Kane ka command ka shim ia ka input argument jong '''10''' units bad pynpaw ia ka result.
 
|-
 
|-
 
|| 04:55
 
|| 04:55
||To mynta ngan load ka “functionTester Class”.
+
||To mynta ngan load ka '''functionTester Class'''.
 
|-
 
|-
 
|| 04:59
 
|| 04:59
||Type “loadFile” (open bad close parentheses)(hapoh double quotes) “functionTester.mo”. Press “Enter”.
+
||Type '''loadFile''' (open bad close parentheses)(hapoh double quotes) '''functionTester.mo'''. Press '''Enter'''.
 
|-
 
|-
 
|| 05:12
 
|| 05:12
|| Mynta to ngin ia simulate “functionTester class”.
+
|| Mynta to ngin ia simulate '''functionTester class'''.
 
|-
 
|-
 
|| 05:16
 
|| 05:16
||Type “simulate” (within parantheses) “functionTester”(comma)”startTime”(equals) “0 stopTime”(equals) ”1” Press “Enter”.
+
||Type '''simulate''' (within parantheses) '''functionTester'''(comma)'''startTime'''(equals) '''0 stopTime'''(equals) '''1''' Press '''Enter'''.
 
|-
 
|-
 
|| 05:32
 
|| 05:32
Line 163: Line 163:
 
|-
 
|-
 
||05:35
 
||05:35
||To ngin ia plot u variable “z” na “functionTester” class.
+
||To ngin ia plot u variable '''z''' na '''functionTester''' class.
 
|-
 
|-
 
|| 05:40
 
|| 05:40
|| Type “plot” (hapoh parantheses) (hapoh curly braces) “z” bad press “Enter”.
+
|| Type '''plot''' (hapoh parantheses) (hapoh curly braces) '''z''' bad press '''Enter'''.
 
|-
 
|-
 
|| 05:50
 
|| 05:50
||Kane ka command ka pynmih ka plot jong ki variable “z” vs “time”.
+
||Kane ka command ka pynmih ka plot jong ki variable '''z''' vs '''time'''.
 
|-
 
|-
 
|| 05:56
 
|| 05:56
Line 178: Line 178:
 
|-
 
|-
 
|| 06:06
 
|| 06:06
||Mynta to ngin ia peit  ha khyndiat ki “array construction functions”.
+
||Mynta to ngin ia peit  ha khyndiat ki '''array construction functions'''.
 
|-
 
|-
 
|| 06:11
 
|| 06:11
||Ngin ia practice ruh ia ki da kaba pyndonkam ka “OMShell”.
+
||Ngin ia practice ruh ia ki da kaba pyndonkam ka '''OMShell'''.
 
|-
 
|-
 
|| 06:15
 
|| 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.
+
||'''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
 
|| 06:25
||Nyngkong “argument” ka ieng ia ka number kaba pyndap ia ka “array”.
+
||Nyngkong '''argument''' ka ieng ia ka number kaba pyndap ia ka '''array'''.
 
|-
 
|-
 
|| 06:29
 
|| 06:29
|| Ka “arguments” kaba sah ka ieng  ia ka size jong man la ka dimension.
+
|| Ka '''arguments''' kaba sah ka ieng  ia ka size jong man la ka dimension.
 
|-
 
|-
 
|| 06:34
 
|| 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.
+
||'''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
 
|| 06:44
||“Arguments” ka ieng ia ka size jong man la ka dimension jong ka array.
+
||'''Arguments''' ka ieng ia ka size jong man la ka dimension jong ka array.
 
|-
 
|-
 
|| 06:50
 
|| 06:50
||“identity()function ka shna ka identity matrix. Ka shim kawei ka “argument” kaba ieng ia ka size jong baroh ar ki dimension.
+
||'''identity()''' function ka shna ka identity matrix. Ka shim kawei ka '''argument''' kaba ieng ia ka size jong baroh ar ki dimension.
 
|-
 
|-
 
|| 07:02
 
|| 07:02
|| Mynta to ngan pyni kine ki functions da kaba pyndonkam “OMShell”.
+
|| Mynta to ngan pyni kine ki functions da kaba pyndonkam '''OMShell'''.
 
|-
 
|-
 
|| 07:06
 
|| 07:06
||To ngan phai biang sha ka “OMShell”.
+
||To ngan phai biang sha ka '''OMShell'''.
 
|-
 
|-
 
||07:09
 
||07:09
|| Type “fill”(hapoh parantheses) “5” (comma) “2” (comma) “2”.
+
|| Type '''fill'''(hapoh parantheses) '''5''' (comma) '''2''' (comma) '''2'''.
 
|-
 
|-
 
|| 07:16
 
|| 07:16
||Kane ka command ka pynmih ki two by two matrix bad baroh ki elements ki dei “5”.  
+
||Kane ka command ka pynmih ki two by two matrix bad baroh ki elements ki dei '''5'''.  
 
|-
 
|-
 
|| 07:24
 
|| 07:24
||Ka “arguments” kaba nyngkong ka ieng ia ka element ka ban pyndap hapoh ka “array”.
+
||Ka '''arguments''' kaba nyngkong ka ieng ia ka element ka ban pyndap hapoh ka '''array'''.
 
|-
 
|-
 
|| 07:30
 
|| 07:30
||“2” ka ieng ia ka size jogn ka dimension kaba nyngkong.
+
||'''2''' ka ieng ia ka size jogn ka dimension kaba nyngkong.
 
|-
 
|-
 
|| 07:30
 
|| 07:30
||bad kaba lai ka argument “2”, ka ieng ia ka size jong ka dimension kaba ar.
+
||bad kaba lai ka argument '''2''', ka ieng ia ka size jong ka dimension kaba ar.
 
|-
 
|-
 
||07:40
 
||07:40
||Mynta press “Enter”.
+
||Mynta press '''Enter'''.
 
|-
 
|-
 
||07:43
 
||07:43
Line 235: Line 235:
 
|-
 
|-
 
|| 07:57
 
|| 07:57
|| Mynta to ngin ia pyndonkam “zeros() function” ban shna ka (two by two) matrix ryngkat bad baroh ki elements “zero”.
+
|| Mynta to ngin ia pyndonkam '''zeros() function''' ban shna ka (two by two) matrix ryngkat bad baroh ki elements '''zero'''.
 
|-
 
|-
 
|| 08:05
 
|| 08:05
|| Type “zeros” (hapoh parentheses) “2” (comma) “2” bad press “Enter”.
+
|| Type '''zeros''' (hapoh parentheses) '''2''' (comma) '''2''' bad press '''Enter'''.
 
|-
 
|-
 
||08:13
 
||08:13
Line 244: Line 244:
 
|-
 
|-
 
|| 08:16
 
|| 08:16
|| To ngin ia pyrshang mynta “identity function”.
+
|| To ngin ia pyrshang mynta '''identity function'''.
 
|-
 
|-
 
|| 08:19
 
|| 08:19
||Type “identity(3).
+
||Type ‘‘‘identity(3)’‘‘.
 
|-
 
|-
 
|| 08:23
 
|| 08:23
||Kane ka shna ka “identity” matrix kaba dei “3” (by) “3” ha ka size.
+
||Kane ka shna ka '''identity''' matrix kaba dei '''3''' (by) '''3''' ha ka size.
 
|-
 
|-
 
|| 08:29
 
|| 08:29
|| Ngi lah ruh ban leh “arithmetic operations” bad pyndonkam “assignment statements” ha “OMShell”.
+
|| Ngi lah ruh ban leh '''arithmetic operations''' bad pyndonkam '''assignment statements''' ha '''OMShell'''.
 
|-
 
|-
 
|| 08:36
 
|| 08:36
||To ngin ia shna ar tylli ki matrices bad pynlong “arithmetic operations” ha ki.
+
||To ngin ia shna ar tylli ki matrices bad pynlong ‘‘‘arithmetic operations’‘‘ ha ki.
 
|-
 
|-
 
|| 08:42
 
|| 08:42
Line 262: Line 262:
 
|-
 
|-
 
|| 08:54
 
|| 08:54
||“Comma” la pyndonkam ban pyniapher ki elements ha ka row
+
||'''Comma''' la pyndonkam ban pyniapher ki elements ha ka row
 
|-
 
|-
 
|| 08:58
 
|| 08:58
||Katba “semi-colon” la pyndonkam ban pyniapher ka row da lade. Mynta press “Enter”.
+
||Katba '''semi-colon''' la pyndonkam ban pyniapher ka row da lade. Mynta press '''Enter'''.
 
|-
 
|-
 
|| 09:07
 
|| 09:07
|| Type “b” (colon) (equals) “identity(2).
+
|| Type '''b''' (colon) (equals) '''identity(2)'''.
 
|-
 
|-
 
|| 09:15
 
|| 09:15
||Kane ka pynmih ka “2 by 2 identity” matrix.
+
||Kane ka pynmih ka '''2 by 2 identity''' matrix.
 
|-
 
|-
 
|| 09:19
 
|| 09:19
|| Mynta to ngin ia pynlong “arithmetic operations” ha “a” bad “b”.
+
|| Mynta to ngin ia pynlong '''arithmetic operations''' ha '''a''' bad '''b'''.
 
|-
 
|-
 
|| 09:24
 
|| 09:24
||Type “a” (plus) “b” bad press “Enter”.
+
||Type '''a''' (plus) '''b''' bad press '''Enter'''.
 
|-
 
|-
 
|| 09:29
 
|| 09:29
Line 283: Line 283:
 
|-
 
|-
 
|| 09:32
 
|| 09:32
|| Type “a” (asterisk) “b”.
+
|| Type '''a '''(asterisk) '''b'''.
 
|-
 
|-
 
|| 09:36
 
|| 09:36
||Kane ka pynlong matrix multiplication. Nion “Enter”.
+
||Kane ka pynlong matrix multiplication. Nion '''Enter'''.
 
|-
 
|-
 
|| 09:42
 
|| 09:42
|| Type “a” (dot) (asterisk) “b” bad nion “Enter”.
+
|| Type '''a''' (dot) (asterisk) '''b''' bad nion '''Enter'''.
 
|-
 
|-
 
|| 09:49
 
|| 09:49
Line 295: Line 295:
 
|-
 
|-
 
|| 09:55
 
|| 09:55
|| Kynmaw ba kam dei kaba donkam ban define ia ka data-types jong u variables ba pyndonkam ha ka “OMShell”.
+
|| Kynmaw ba kam dei kaba donkam ban define ia ka data-types jong u variables ba pyndonkam ha ka '''OMShell'''.
 
|-
 
|-
 
||10:02
 
||10:02
Line 304: Line 304:
 
|-
 
|-
 
|| 10:13
 
|| 10:13
||“min()ka dei ka “function” kaba return ka value kaba rit ha ka “array”.
+
||'''min()''' ka dei ka '''function''' kaba return ka value kaba rit ha ka '''array'''.
 
|-
 
|-
 
|| 10:19
 
|| 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.
+
||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
 
||10:33
|| To ngan phai sha ka “OMShell” ban pyni kine ki functions.
+
|| To ngan phai sha ka '''OMShell''' ban pyni kine ki functions.
 
|-
 
|-
 
|| 10:38
 
|| 10:38
Line 319: Line 319:
 
|-
 
|-
 
|| 10:52
 
|| 10:52
|| Type “min (x)ban ioh ia ka value kaba rit jong u “x”.
+
|| Type '''min (x)''' ban ioh ia ka value kaba rit jong u '''x'''.
 
|-
 
|-
 
|| 11:00
 
|| 11:00
|| Type “max(x)ban ioh ia ka value kaba heh ha ka array “x”..
+
|| Type '''max(x)''' ban ioh ia ka value kaba heh ha ka array '''x'''..
 
|-
 
|-
 
|| 11:08
 
|| 11:08
|| Kumjuh ruh type “sum(x)ban ioh ia ka sum jong baroh ki elements.
+
|| Kumjuh ruh type '''sum(x)''' ban ioh ia ka sum jong baroh ki elements.
 
|-
 
|-
 
||  11:15
 
||  11:15
|| Bad “product (x)ban ioh ia ka product jong man la ki elements min array “x”.
+
|| Bad '''product (x)''' ban ioh ia ka product jong man la ki elements min array '''x'''.
 
|-
 
|-
 
|| 11:23
 
|| 11:23
Line 334: Line 334:
 
|-
 
|-
 
|| 11:27
 
|| 11:27
|| To ngin ia kren mynta shibun kiwei ki “functions” kaba shim ia ka “array” kum ka “input”.
+
|| To ngin ia kren mynta shibun kiwei ki '''functions''' kaba shim ia ka '''array''' kum ka '''input'''.
 
|-
 
|-
 
|| 11:33
 
|| 11:33
||“abs()ka dei ka “function” kaba return ia ka “array” bad ka “absolute values” jong baroh ki elements.
+
||'''abs()''' ka dei ka '''function''' kaba return ia ka '''array''' bad ka '''absolute values''' jong baroh ki elements.
 
|-
 
|-
 
|| 11:40
 
|| 11:40
||“size()ka returns ia ka “vector” ryngkat bad ka size jong man la ka dimension.
+
||'''size()''' ka returns ia ka '''vector''' ryngkat bad ka size jong man la ka dimension.
 
|-
 
|-
 
|| 11:45
 
|| 11:45
||“ndims()returns ia ka number jong ka dimensions ha ka array.
+
||'''ndims()''' returns ia ka number jong ka dimensions ha ka array.
 
|-
 
|-
 
|| 11:51
 
|| 11:51
Line 349: Line 349:
 
|-
 
|-
 
|| 11:54
 
|| 11:54
||Ha kane ka jinghikai, ngi pyndonkam “OMShell” ban leh interactively ban pyni “array functions”.
+
||Ha kane ka jinghikai, ngi pyndonkam '''OMShell''' ban leh interactively ban pyni '''array functions'''.
 
|-
 
|-
 
|| 12:01
 
|| 12:01
||Kine ki “functions” ki dei shi bynta jong ka “Modelica” language specification.
+
||Kine ki '''functions''' ki dei shi bynta jong ka '''Modelica''' language specification.
 
|-
 
|-
 
|| 12:05
 
|| 12:05
|| Te, ki lah ban pyndonkam katba dang thoh “classes” ha ka “OMEdit” kumjuh ruh.
+
|| Te, ki lah ban pyndonkam katba dang thoh '''classes''' ha ka '''OMEdit''' kumjuh ruh.
 
|-
 
|-
 
|| 12:11
 
|| 12:11
|| Kum ka assignment, apply “abs(),”ndims()bad “size() functions” ha ka “array”.
+
|| Kum ka assignment, apply '''abs()''','''ndims()''' bad '''size() functions''' ha ka '''array'''.
 
|-
 
|-
 
|| 12:19
 
|| 12:19
||Kaba ar, ngi hap ban pyndonkam ka “two-dimensional array” lane matrix kum ka “argument” sha man la ki “functions”.
+
||Kaba ar, ngi hap ban pyndonkam ka '''two-dimensional array''' lane matrix kum ka '''argument''' sha man la ki '''functions'''.
 
|-
 
|-
 
|| 12:28
 
|| 12:28
||Kum ka assignment, leh ia baroh kine ki “functions” bad “three-dimensional arrays”.
+
||Kum ka assignment, leh ia baroh kine ki '''functions''' bad '''three-dimensional arrays'''.
 
|-
 
|-
 
|| 12:35
 
|| 12:35
Line 370: Line 370:
 
|-
 
|-
 
|| 12:39
 
|| 12:39
||Ka batai kyllum ia ka “Spoken Tutorial” project.
+
||Ka batai kyllum ia ka '''Spoken Tutorial''' project.
 
|-
 
|-
 
|| 12:42
 
|| 12:42
Line 382: Line 382:
 
|-
 
|-
 
|| 13:00
 
|| 13:00
|| Ngi iarap ban migrate commercial simulator labs sha ka “OpenModelica”.
+
|| Ngi iarap ban migrate commercial simulator labs sha ka '''OpenModelica'''.
 
|-
 
|-
 
|| 13:06
 
|| 13:06
|| “Spoken Tutorial Project” lah noh synniang da ka “NMEICT, MHRD” jong ka Sorkar India.
+
|| '''Spoken Tutorial Project''' lah noh synniang da ka '''NMEICT, MHRD''' jong ka Sorkar India.
 
|-
 
|-
 
|| 13:14
 
|| 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.
+
|| 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.

Revision as of 12:51, 4 June 2018

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