<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6844611188591432607</id><updated>2026-07-05T23:27:17.783+09:00</updated><category term="Android"/><category term="Google"/><category term="iphone"/><category term="Apple"/><category term="RSS"/><category term="便利ソフト"/><category term="Chrome"/><category term="gmail"/><category term="python"/><category term="スマートフォン"/><category term="就活"/><category term="理系ソフト"/><category term="科学ソフト"/><category term="English"/><category term="GIMP"/><category term="LINEスタンプ"/><category term="Mac"/><category term="Windows"/><category term="game"/><category term="hack"/><category term="matlab"/><category term="ocado"/><category term="podcast"/><category term="viber"/><category term="ゲーム"/><category term="テンプレート"/><category term="フリーソフト"/><category term="無料"/><category term="編入"/><category term="英語"/><category term="野良アプリ"/><title type='text'>@tetsuji16のブログ</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>100</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-5721807130130220211</id><published>2022-11-02T23:08:00.002+09:00</published><updated>2026-07-05T23:27:17.783+09:00</updated><title type='text'>Amazon afiliate test</title><content type='html'>&lt;p&gt;&lt;a href=&#39;https://amzn.to/3sPr4Gf&#39;&gt;&amp;nbsp;https://amzn.to/3sPr4Gf&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; sandbox=&quot;allow-popups allow-scripts allow-modals allow-forms allow-same-origin&quot; scrolling=&quot;no&quot; src=&quot;//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;amp;OneJS=1&amp;amp;Operation=GetAdHtml&amp;amp;MarketPlace=GB&amp;amp;source=ss&amp;amp;ref=as_ss_li_til&amp;amp;ad_type=product_link&amp;amp;tracking_id=amz0375-21&amp;amp;language=en_GB&amp;amp;marketplace=amazon&amp;amp;region=GB&amp;amp;placement=B09B96TG33&amp;amp;asins=B09B96TG33&amp;amp;linkId=8b26c9caf3d9d3c3eea7477f427da662&amp;amp;show_border=true&amp;amp;link_opens_in_new_window=true&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;

https://amzn.to/4fl19Pq</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/5721807130130220211/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2022/11/amazon-afiliate-test.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5721807130130220211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5721807130130220211'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2022/11/amazon-afiliate-test.html' title='Amazon afiliate test'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-6614670455557231895</id><published>2020-04-13T18:31:00.003+09:00</published><updated>2020-04-13T18:36:44.899+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hack"/><category scheme="http://www.blogger.com/atom/ns#" term="ocado"/><title type='text'>How to Log in to Ocado</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
If you can not log in to &lt;a href=&quot;http://ocado.com/&quot; target=&quot;_blank&quot;&gt;Ocado&lt;/a&gt;, try following step.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghD4b5JosLKFEqY2oWXZGaqW042Oqfr3zAUoP_rwcxF7Rok6vYytaUPQSWeDzWMwKNieZk_a2-bfSTzP06zwLXhdDdUT_xzScQF82qMkf8TneHg1-0F1ywQjElUK1v5Paah3_XL5qr-tI3/s1600/ocado1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;956&quot; data-original-width=&quot;1274&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghD4b5JosLKFEqY2oWXZGaqW042Oqfr3zAUoP_rwcxF7Rok6vYytaUPQSWeDzWMwKNieZk_a2-bfSTzP06zwLXhdDdUT_xzScQF82qMkf8TneHg1-0F1ywQjElUK1v5Paah3_XL5qr-tI3/s400/ocado1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
(1)Install uBlock Origin from following website:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=ja&quot; style=&quot;text-align: start;&quot;&gt;https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=ja&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjxbR2BBtQ5xR-JTyr8TFeVM6HUMcH_zmPnaFe1Ri7McqtNSAsTF2x7MJUFjY3OldWnKzodYRr4lNWbErAcgIS3_7HY-Fh9F5X36WEj43owx4awNYdPwAkQvwCoA2PzAi3RN-NQD0Um5MO/s1600/ocado3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;956&quot; data-original-width=&quot;1274&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjxbR2BBtQ5xR-JTyr8TFeVM6HUMcH_zmPnaFe1Ri7McqtNSAsTF2x7MJUFjY3OldWnKzodYRr4lNWbErAcgIS3_7HY-Fh9F5X36WEj43owx4awNYdPwAkQvwCoA2PzAi3RN-NQD0Um5MO/s400/ocado3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
(2)Enjoy your shopping!!&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmNL5FXVUmotcFKgrSgn92rK_BCxa0hBCL35lIS8iTUsIwFTQZUl4cHWuia4A7qOK36dgzFrdkn9q8chALolTQn_y1QCtmVKwpcRv0U2vDgMJxMkiASPPy7b152QDJQVQrRrg9_O3gwLvZ/s1600/ocado2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;956&quot; data-original-width=&quot;1274&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmNL5FXVUmotcFKgrSgn92rK_BCxa0hBCL35lIS8iTUsIwFTQZUl4cHWuia4A7qOK36dgzFrdkn9q8chALolTQn_y1QCtmVKwpcRv0U2vDgMJxMkiASPPy7b152QDJQVQrRrg9_O3gwLvZ/s400/ocado2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/6614670455557231895/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2020/04/how-to-log-in-to-ocado.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/6614670455557231895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/6614670455557231895'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2020/04/how-to-log-in-to-ocado.html' title='How to Log in to Ocado'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghD4b5JosLKFEqY2oWXZGaqW042Oqfr3zAUoP_rwcxF7Rok6vYytaUPQSWeDzWMwKNieZk_a2-bfSTzP06zwLXhdDdUT_xzScQF82qMkf8TneHg1-0F1ywQjElUK1v5Paah3_XL5qr-tI3/s72-c/ocado1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-3614357639382632983</id><published>2018-01-21T16:17:00.002+09:00</published><updated>2018-01-21T16:17:59.190+09:00</updated><title type='text'>大学編入対策推薦図書</title><content type='html'>&lt;h2 style=&quot;background: url(&amp;quot;about:blank&amp;quot;) 0% 0% no-repeat rgb(255, 255, 255); font-size: 13px; margin: 0px 10px 0px 0px; padding: 6px 0px 15px 10px;&quot;&gt;
大学編入対策推薦図書&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-size: 12.8px; line-height: 15.36px; margin-bottom: 13px; margin-right: 10px; padding: 0px 10px;&quot;&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;数学&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: 12.8px; line-height: 15.36px; margin-bottom: 13px; margin-right: 10px; padding: 0px 10px;&quot;&gt;
・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4627048718?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4627048718&quot; style=&quot;color: #4e71a9;&quot;&gt;大学編入試験問題 数学/徹底演習&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4627048718&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;を使いました。高専の数学問題集は基本的に使いませんでした。ただ、高専の数学教科書章末の練習問題は難関大学の過去問と同じ問題がよく載っているので解いておいた方がいいかもしれません。&lt;br /&gt;
・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4627048726?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4627048726&quot; style=&quot;color: #4e71a9;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;大学編入試験問題 数学/徹底演習 (第2版)微分積分/線形代数/応用数学/確率&lt;/span&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4627048726&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
は今年から新しく発売されたみたいです。今まで載っていなかった確率も網羅しているみたいなので、かなり使える問題集だと思います。ただ、このシリーズは解答の間違いが多いので、森北出版のホームページにあがっている訂正プリントもたまに新しいのがないかどうかチェックしたほうがいいと思います。 ・証明等、難問対策としては&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4563001643?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4563001643&quot; style=&quot;color: #4e71a9;&quot;&gt;詳説演習(線形代数学)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4563001643&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;や&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4563001619?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4563001619&quot; style=&quot;color: #4e71a9;&quot;&gt;詳説演習(微分積分学)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4563001619&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;がお勧めです。解答も丁寧で分かりやすいです。ただ、問題が難しすぎるので、問題集としてはき使えないと思います。難問の解答用と割り切って使いました。&lt;/div&gt;
&lt;h2 style=&quot;background: url(&amp;quot;about:blank&amp;quot;) 0% 0% no-repeat rgb(255, 255, 255); font-size: 13px; margin: 0px 10px 0px 0px; padding: 6px 0px 15px 10px;&quot;&gt;
物理&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-size: 12.8px; line-height: 15.36px; margin-bottom: 13px; margin-right: 10px; padding: 0px 10px;&quot;&gt;
・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4777201058?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4777201058&quot; style=&quot;color: #4e71a9;&quot;&gt;物理のエッセンス力学・波動&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4777201058&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4777201066?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4777201066&quot; style=&quot;color: #4e71a9;&quot;&gt;物理のエッセンス電磁気・熱・原子&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4777201066&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
物理は基本的に物理のエッセンスのシリーズを解きましたが、もう少し難しい問題に挑戦できるようであれば、名門の森をお勧めします。 ・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4777202208?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4777202208&quot; style=&quot;color: #4e71a9;&quot;&gt;名問の森物理 (力学・波動)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4777202208&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;や&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4777202216?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4777202216&quot; style=&quot;color: #4e71a9;&quot;&gt;名問の森物理 (電磁気・熱・原子)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4777202216&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background: url(&amp;quot;about:blank&amp;quot;) 0% 0% no-repeat rgb(255, 255, 255); font-size: 13px; margin: 0px 10px 0px 0px; padding: 6px 0px 15px 10px;&quot;&gt;
化学&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-size: 12.8px; line-height: 15.36px; margin-bottom: 13px; margin-right: 10px; padding: 0px 10px;&quot;&gt;
化学科ではないので、一番苦戦したのがこの化学でした。解答が分からないときにいちいち色々な参考書、教科書から調べる時間もなかったので、とにかく解説が詳しいものを選びました。 ・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4877259945?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4877259945&quot; style=&quot;color: #4e71a9;&quot;&gt;こだわって!(脂肪族化合物・芳香族化合物)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4877259945&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4877259953?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4877259953&quot; style=&quot;color: #4e71a9;&quot;&gt;こだわって!(反応速度・化学平衡)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4877259953&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
試験前で勉強時間が足りないときはお風呂の中で&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4325140964?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4325140964&quot; style=&quot;color: #4e71a9;&quot;&gt;風呂で覚える化学(センター試験・赤本から選んだ100ポイント)&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4325140964&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;を使って勉強してましたwww&lt;br /&gt;
&lt;br /&gt;
・参考書としては、&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4877251545?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4877251545&quot; style=&quot;color: #4e71a9;&quot;&gt;理系化学精説&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4877251545&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;がお勧めです。分からない問題があれば、これで調べました。これに載っていない説明は基本的に大学受験では出ないといわれるほどの情報量です。&lt;/div&gt;
&lt;hr style=&quot;background-color: white; font-size: 12.8px;&quot; /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;大阪基礎工化学対策(炭化水素の範囲)ここは最低おさえとく!!!&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; font-size: 12.8px;&quot; /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;アセチレンの作り方(ケクレ)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;フェノール、アニリン、ニトロベンゼンの生成方法&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;各種検出反応(ヨードホルム反応、銀鏡反応、さらしこ、フェノール性ヒドロキシル基の塩化鉄酸)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;サリチル酸メチルとアセチルザリチルの違い&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;ジアゾ化、カップリングの流れ&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;各種官能基&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 12.8px;&quot;&gt;異性体&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: 12.8px; line-height: 15.36px; margin-bottom: 13px; margin-right: 10px; padding: 0px 10px;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background: url(&amp;quot;about:blank&amp;quot;) 0% 0% no-repeat rgb(255, 255, 255); font-size: 13px; margin: 0px 10px 0px 0px; padding: 6px 0px 15px 10px;&quot;&gt;
英語&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-size: 12.8px; line-height: 15.36px; margin-bottom: 13px; margin-right: 10px; padding: 0px 10px;&quot;&gt;
・&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4860661222?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4860661222&quot; style=&quot;color: #4e71a9;&quot;&gt;速読英単語1 必修編&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4860661222&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;br /&gt;
・大阪大学についてのみ言えば、&lt;a href=&quot;http://www.amazon.co.jp/gp/product/4325148094?ie=UTF8&amp;amp;tag=oserver-22&amp;amp;linkCode=as2&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;creativeASIN=4325148094&quot; style=&quot;color: #4e71a9;&quot;&gt;赤本&lt;/a&gt;&lt;span style=&quot;border-color: initial; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border-width: initial;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.jp/e/ir?t=oserver-22&amp;amp;l=as2&amp;amp;o=9&amp;amp;a=4325148094&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/span&gt;は高専からの編入試験と形式が似ているので案外使えると思います。中古で買えばそんなに値段が高くないので損はないはず。&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/3614357639382632983/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2018/01/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/3614357639382632983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/3614357639382632983'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2018/01/blog-post.html' title='大学編入対策推薦図書'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-5308961757418467400</id><published>2017-11-16T16:01:00.003+09:00</published><updated>2017-11-17T19:32:20.043+09:00</updated><title type='text'>HomebrewでOpenmodelicaをインストールする方法</title><content type='html'>以下のコマンドを実行します。公式サイトとは別の方法ですが、公式サイトの方法ではエラーが出ました(2017/11/16現在)。&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #f6f8fa; border-radius: 3px; box-sizing: border-box; color: #24292e; line-height: 1.45; margin-bottom: 16px; overflow: auto; padding: 16px; word-wrap: normal;&quot;&gt;
&lt;span class=&quot;re2&quot; style=&quot;background-color: #f1f0ed; color: #007800; font-family: monospace; font-size: x-small;&quot;&gt;MY_FORK&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=MyGitHubUserName ;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;background-color: #f1f0ed; color: #c20cb9; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;git clone&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;https:&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;openmodelica.org&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;git-readonly&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;OpenModelica.git&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--recursive&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;cd&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;OpenModelica&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;background-color: #f1f0ed; color: #c20cb9; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;git remote&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;set-url&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--push&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;origin&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;background-color: #f1f0ed; color: #c20cb9; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;git&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;github.com:&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;background-color: #f1f0ed; color: #007800; font-family: monospace; font-size: x-small;&quot;&gt;$MY_FORK&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;OpenModelica.git&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;background-color: #f1f0ed; color: #c20cb9; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;git submodule&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;foreach&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--recursive&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;st_h&quot; style=&quot;background-color: #f1f0ed; color: red; font-family: monospace; font-size: x-small;&quot;&gt;&#39;git remote set-url --push origin `git config --get remote.origin.url | sed s,^.*/,git@github.com:&#39;&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;background-color: #f1f0ed; color: #007800; font-family: monospace; font-size: x-small;&quot;&gt;$MY_FORK&lt;/span&gt;&lt;span class=&quot;st_h&quot; style=&quot;background-color: #f1f0ed; color: red; font-family: monospace; font-size: x-small;&quot;&gt;&#39;/,`&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;br style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: small;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;export&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re2&quot; style=&quot;background-color: #f1f0ed; color: #007800; font-family: monospace; font-size: x-small;&quot;&gt;CFLAGS&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=-I&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;opt&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;local&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;include&lt;/span&gt;&lt;br style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: small;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;export&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re2&quot; style=&quot;background-color: #f1f0ed; color: #007800; font-family: monospace; font-size: x-small;&quot;&gt;LDFLAGS&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=-L&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;opt&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;local&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;lib&lt;/span&gt;&lt;br style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: small;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;export&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re2&quot; style=&quot;background-color: #f1f0ed; color: #007800; font-family: monospace; font-size: x-small;&quot;&gt;PATH&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;opt&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;local&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;libexec&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;qt4&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;bin:&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;background-color: #f1f0ed; color: maroon; font-family: monospace; font-size: x-small;&quot;&gt;${PATH}&lt;/span&gt;&lt;br style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: small;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;background-color: #f1f0ed; color: #7a0874; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;cd&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;OpenModelica&lt;/span&gt;&lt;br style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: small;&quot; /&gt;&lt;span class=&quot;kw2&quot; style=&quot;background-color: #f1f0ed; color: #c20cb9; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;autoconf&lt;/span&gt;&lt;br style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;configure&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--disable-omshell-terminal&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--disable-modelica3d&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--without-omc&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--prefix&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;usr&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;local&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;openmodelica&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--without-paradiseo&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--disable-omnotebook&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--disable-python-interface&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--with-omniORB&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;usr&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;local&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;omniORB-4.2.0&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;background-color: #f1f0ed; color: #660033; font-family: monospace; font-size: x-small;&quot;&gt;--with-lapack&lt;/span&gt;&lt;span style=&quot;background-color: #f1f0ed; color: black; font-family: monospace; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot; style=&quot;background-color: #f1f0ed; color: red; font-family: monospace; font-size: x-small;&quot;&gt;&quot;-llapack -lblas&lt;br /&gt;make omc&lt;br /&gt;make install&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0v3S4m_H1q7sAusb3_nkcpjL4uMn_xeOFPdK7gpQ8Ix9ACKc9obwk_Iwj6WDGrSCyaBAaW2VzYTXasSbAYxhhTb1kCwP8JcoGRapRFxGTZ-3yQOkWZHwNR73jH2ga8jXcXN_-upsZsBGO/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-11-17+19.31.42.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;564&quot; data-original-width=&quot;697&quot; height=&quot;322&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0v3S4m_H1q7sAusb3_nkcpjL4uMn_xeOFPdK7gpQ8Ix9ACKc9obwk_Iwj6WDGrSCyaBAaW2VzYTXasSbAYxhhTb1kCwP8JcoGRapRFxGTZ-3yQOkWZHwNR73jH2ga8jXcXN_-upsZsBGO/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-11-17+19.31.42.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/5308961757418467400/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/11/homebrewopenmodelica.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5308961757418467400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5308961757418467400'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/11/homebrewopenmodelica.html' title='HomebrewでOpenmodelicaをインストールする方法'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0v3S4m_H1q7sAusb3_nkcpjL4uMn_xeOFPdK7gpQ8Ix9ACKc9obwk_Iwj6WDGrSCyaBAaW2VzYTXasSbAYxhhTb1kCwP8JcoGRapRFxGTZ-3yQOkWZHwNR73jH2ga8jXcXN_-upsZsBGO/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-11-17+19.31.42.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-98619530410928479</id><published>2017-07-08T13:11:00.001+09:00</published><updated>2017-07-26T08:27:51.482+09:00</updated><title type='text'>認証が必要な社内のネットワーク環境でpipコマンドを実行する方法</title><content type='html'>&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 1.875; margin-bottom: 1.4em; margin-top: 1.4em;&quot;&gt;
認証が必要な社内のネットワーク環境でpipコマンドを実行するときは、&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;「--proxy」&lt;/span&gt;オプションを使い、ユーザー名とパスワードを以下の例ように付与する。&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 1.875; margin-bottom: 1.4em; margin-top: 1.4em;&quot;&gt;numpyをインストールするコマンド例：&lt;/div&gt;
&lt;div class=&quot;code-frame&quot; data-lang=&quot;shell-session&quot; style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 0; margin: 1em 0px; overflow: hidden;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background: rgb(255, 255, 255); box-sizing: inherit;&quot;&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;gp&quot; style=&quot;box-sizing: inherit; color: #555555;&quot;&gt;$&lt;/span&gt; pip install —proxy&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;=&lt;/span&gt;http://username:password@domain.com:8080 numpy
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 1.875; margin-bottom: 1.4em; margin-top: 1.4em;&quot;&gt;
認証情報（ユーザー名・パスワード）に&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;「@」&lt;/span&gt;が含まれる場合は、認証情報を&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;「”」&lt;/span&gt;で囲む&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 1.875; margin-bottom: 1.4em; margin-top: 1.4em;&quot;&gt;numpyをインストールするコマンド例：&lt;/div&gt;
&lt;div class=&quot;code-frame&quot; data-lang=&quot;shell-session&quot; style=&quot;background-color: #f7f7f7; border-radius: 3px; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 0; margin: 1em 0px; overflow: hidden;&quot;&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background: rgb(255, 255, 255); box-sizing: inherit;&quot;&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border-radius: 3px; border: 0px; box-sizing: inherit; color: #333333; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 0.8em; line-height: 1.2; overflow-x: auto; padding: 0.6em 1.2em; word-break: break-all; word-wrap: normal;&quot;&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;gp&quot; style=&quot;box-sizing: inherit; color: #555555;&quot;&gt;$&lt;/span&gt; pip install —proxy&lt;span class=&quot;o&quot; style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;=&lt;/span&gt;http://“user@name”:password@domain.com:8080 numpy
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #4a4a4a; font-family: -apple-system, system-ui, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Hiragino Kaku Gothic ProN&amp;quot;, メイリオ, meiryo, sans-serif; font-size: 16.1px; line-height: 1.875; margin-bottom: 1.4em; margin-top: 1.4em;&quot;&gt;
&lt;br&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/98619530410928479/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/07/pip.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/98619530410928479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/98619530410928479'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/07/pip.html' title='認証が必要な社内のネットワーク環境でpipコマンドを実行する方法'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-8718929754680787599</id><published>2017-05-06T22:35:00.003+09:00</published><updated>2017-05-06T22:35:46.149+09:00</updated><title type='text'>フリーの数理処理ソフト maxima</title><content type='html'>&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;数学の方程式がどうしても解けない…&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;宿題に出された計算問題が多すぎる&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;とりあえず解けたけど答えがあってるか分からない…。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;そんなときに役に立つのがこの数式計算ソフトmaximaです。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;このソフトさえあればあらゆる数学の問題が一瞬で解くことができます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;例えば，２次方程式x^2 - 6*x + 5 = 0 という問題があったとします。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;本来ならば，因数分解または解の公式を用いてとかなかければいけませんが、&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;maximaなら、&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;solve(x^2 - 6*x + 5 = 0 ,x);&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;と打ち込むだけで&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;[x=1,x=5]&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;と答えが出てきます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;a href=&quot;http://blog-imgs-14.fc2.com/o/s/e/oserver/0.png&quot; style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;0&quot; border=&quot;0&quot; src=&quot;https://blog-imgs-14.fc2.com/o/s/e/oserver/0.png&quot; style=&quot;border: 3px double rgb(187, 187, 187); margin: 0px 0.7em 0px 0px;&quot; /&gt;&lt;/a&gt;&lt;br clear=&quot;all&quot; style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;３次以上の方程式・因数分解・連立方程式・微分・積分も解けます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;積分は定積分・不定積分が行えます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;例えば、&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;∫(a*x^2+1)dx　&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;という問題であれば、&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;integrate(a*x^2+1,x);&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;と打ち込めば、&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;(a*x^3)/3+x&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;と答えを求められます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;∫1/(x^2+a^2) dx&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;であれば、&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;atan(x/a)/a&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;と求められます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;さらに、これらの関数の2D・3Dグラフを描画することもできます。&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;a href=&quot;http://blog-imgs-14.fc2.com/o/s/e/oserver/3.png&quot; style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;3&quot; border=&quot;0&quot; src=&quot;https://blog-imgs-14.fc2.com/o/s/e/oserver/3.png&quot; style=&quot;border: 3px double rgb(187, 187, 187); margin: 0px 0.7em 0px 0px;&quot; /&gt;&lt;/a&gt;&lt;br clear=&quot;all&quot; style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;配布サイト&lt;/span&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;　・&lt;/span&gt;&lt;a href=&quot;http://maxima.sourceforge.net/&quot; style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px; text-decoration-line: none;&quot; target=&quot;_blank&quot; title=&quot;maxima&quot;&gt;http://maxima.sourceforge.net/&lt;/a&gt;&lt;br style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif , &amp;quot;osaka&amp;quot;; font-size: 13.28px;&quot;&gt;　・&lt;/span&gt;&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=4933&quot; style=&quot;font-family: Verdana, sans-serif, Osaka; font-size: 13.28px; text-decoration-line: none;&quot; target=&quot;_blank&quot; title=&quot;SF.net&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=4933&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/8718929754680787599/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/05/maxima.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/8718929754680787599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/8718929754680787599'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/05/maxima.html' title='フリーの数理処理ソフト maxima'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-2255801074911165568</id><published>2017-02-12T14:43:00.000+09:00</published><updated>2017-02-12T19:47:36.825+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GIMP"/><category scheme="http://www.blogger.com/atom/ns#" term="LINEスタンプ"/><category scheme="http://www.blogger.com/atom/ns#" term="テンプレート"/><title type='text'>【テンプレート付】 LINEスタンプをGIMPで作る方法</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;GIMPを起動&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9JN_63uveI1dOWEsV8x10V4JdLgxjEAuw1s4vpNjuALkG5IRtGxEW3ZMgnEdtEtnzwQo7KbTSs6tnUImesffVLmrwiYP9adH3cfrQ0qm2-5PzJOLzuQc_P3dtKP-5M7hb5dMCpSIgMsTE/s1600/170212-0001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9JN_63uveI1dOWEsV8x10V4JdLgxjEAuw1s4vpNjuALkG5IRtGxEW3ZMgnEdtEtnzwQo7KbTSs6tnUImesffVLmrwiYP9adH3cfrQ0qm2-5PzJOLzuQc_P3dtKP-5M7hb5dMCpSIgMsTE/s1600/170212-0001.png&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;新しい画像を作成&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOw9THWBPIgr3lbx4zIREKV3itxosk0MJ7zSrf_X4v9TglJ5cieXTxZAwCGzmrjZn9CwK0N1bUcq0S47jan9MX1i5BkeiN5QSDi_rETeh8Om2NzsM9mWgCIenhehXqQ-AIl3tyaVrbVt-5/s1600/170212-0003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOw9THWBPIgr3lbx4zIREKV3itxosk0MJ7zSrf_X4v9TglJ5cieXTxZAwCGzmrjZn9CwK0N1bUcq0S47jan9MX1i5BkeiN5QSDi_rETeh8Om2NzsM9mWgCIenhehXqQ-AIl3tyaVrbVt-5/s320/170212-0003.png&quot; width=&quot;311&quot; /&gt;&lt;/a&gt;&lt;br /&gt;画像サイズは370✕320pxで塗りつぶし色は透明を選択&lt;/li&gt;
&lt;li&gt;新しいレイヤーの追加&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbJEQucpBE6QhQ0llM_6782E48XkpuNg7kE-XwM2DHlpEbCj8vr91-DSc_LQ847XtexMnHFVP9Lu8LV7nl3sT7Zct2My8oiga29pY1ir-VJxbHtS_YhedSao2vD3ac3KQ-GlpDpcIuxQfa/s1600/170212-0004.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbJEQucpBE6QhQ0llM_6782E48XkpuNg7kE-XwM2DHlpEbCj8vr91-DSc_LQ847XtexMnHFVP9Lu8LV7nl3sT7Zct2My8oiga29pY1ir-VJxbHtS_YhedSao2vD3ac3KQ-GlpDpcIuxQfa/s320/170212-0004.png&quot; width=&quot;316&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
画像サイズは370✕320pxを選択&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
レイヤーサイズの変更&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKXXiAZ3Ybf2ABn9Ezva8xFe-Y7_xZASZiNoeU25qgt13x06HnwGmYYT_RniPS-1-vxJWYDIe3SqMp7z53FT4DcrAMzm82yfW4_4ZFBOPKFeTaFRzFirNDJeLC04TsWRh458XjJ9xoa-s3/s1600/170212-0005.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKXXiAZ3Ybf2ABn9Ezva8xFe-Y7_xZASZiNoeU25qgt13x06HnwGmYYT_RniPS-1-vxJWYDIe3SqMp7z53FT4DcrAMzm82yfW4_4ZFBOPKFeTaFRzFirNDJeLC04TsWRh458XjJ9xoa-s3/s320/170212-0005.png&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
画像サイズは350✕300pxを選択し、オフセットを-10pxずつ設定&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
手書きの画像をスキャナで取り込み、GIMPで起動&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEXhQ9XcSnEJnk6ajT8tm2BUe7oRlbfwC-L7Ufnr_xiep2DB2WW8Z0d86t_SEDzGkuJvRkAfDAUsLZUp1jq39sLjktG1c_PmXINojDsGlPM0aHjAIrfsw-PBoVFXV2HiA2xXCxosUp_A6o/s1600/170212-0006.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEXhQ9XcSnEJnk6ajT8tm2BUe7oRlbfwC-L7Ufnr_xiep2DB2WW8Z0d86t_SEDzGkuJvRkAfDAUsLZUp1jq39sLjktG1c_PmXINojDsGlPM0aHjAIrfsw-PBoVFXV2HiA2xXCxosUp_A6o/s320/170212-0006.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
スタンプにしたい領域を選択しコピー、編集→クリップボードから生成→画像を選択&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjueFBgxvfiF0SGKK2S_fCQY37uv4aBk_Gco6qd4QnHpM9V6RZrdHsmn-cGzhQOOCBUGN0HlB-wiYR2C-ouULK0I7IZDESyuCasBPbNbVABzxzUur7IncuBU6FykAmYRpdWYy7onwCf9HEr/s1600/170212-0013.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjueFBgxvfiF0SGKK2S_fCQY37uv4aBk_Gco6qd4QnHpM9V6RZrdHsmn-cGzhQOOCBUGN0HlB-wiYR2C-ouULK0I7IZDESyuCasBPbNbVABzxzUur7IncuBU6FykAmYRpdWYy7onwCf9HEr/s320/170212-0013.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1zwIhak7TAHCbYDtodHguZ7Vac_G9-PfL3Vyt-dg3kq2u_bR9BATES8j1iC6RtVTOcs1nIj4RmOUu2AxB16Ujt1verkCT8lGiU8XZ_yqMkaQA1KzLKEaPQ-GUm4q1CaC_FnF44mVn9ZjL/s1600/170212-0007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1zwIhak7TAHCbYDtodHguZ7Vac_G9-PfL3Vyt-dg3kq2u_bR9BATES8j1iC6RtVTOcs1nIj4RmOUu2AxB16Ujt1verkCT8lGiU8XZ_yqMkaQA1KzLKEaPQ-GUm4q1CaC_FnF44mVn9ZjL/s320/170212-0007.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;画像の拡大縮小&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdWM4vRoW9q1l-8JKuwMz2866Bj9KKBy5xjZ2z7hBxm1ILjVBn1UxXOPWsICNFmDRHI2q6AoKbiAmNZrq25dBjnhjoMNnD_GPE-6jiZDiC_4zfJ3wSacuZQQwJM6-a5cJl0nV54DfBEqLq/s1600/170212-0008.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdWM4vRoW9q1l-8JKuwMz2866Bj9KKBy5xjZ2z7hBxm1ILjVBn1UxXOPWsICNFmDRHI2q6AoKbiAmNZrq25dBjnhjoMNnD_GPE-6jiZDiC_4zfJ3wSacuZQQwJM6-a5cJl0nV54DfBEqLq/s320/170212-0008.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtZSM2uRTKHPz-20UhCOWwSnNw3zhpjWmX4lFmlTyWg_25EVcHMo965boqdIYyy7RhPvwzAzNyNDU9KGR9L0TZvLiSZyu7aRy9p-ZmA1mouIrHbfclzv8nZeMKwgbATf3Y7dB2YdwVcpxr/s1600/170212-0009.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtZSM2uRTKHPz-20UhCOWwSnNw3zhpjWmX4lFmlTyWg_25EVcHMo965boqdIYyy7RhPvwzAzNyNDU9KGR9L0TZvLiSZyu7aRy9p-ZmA1mouIrHbfclzv8nZeMKwgbATf3Y7dB2YdwVcpxr/s320/170212-0009.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
画像サイズが350✕300に収まるように幅と高さを調節&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
LINEスタンプ用の画像に貼り付け&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyLDi7FgKzRV43bzGT6aO7kFwNz9OAEvKzfNWMevkLeNscvR7k_obs_U29N2mKViStlD5npQbVK8IPWgIzV3Xbj1qBvB00_acoFrTjnfpsSS6jUaaCQCB0Kn9krZKqDPnc0_V9J6Xy9Yb/s1600/170212-0011.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyLDi7FgKzRV43bzGT6aO7kFwNz9OAEvKzfNWMevkLeNscvR7k_obs_U29N2mKViStlD5npQbVK8IPWgIzV3Xbj1qBvB00_acoFrTjnfpsSS6jUaaCQCB0Kn9krZKqDPnc0_V9J6Xy9Yb/s320/170212-0011.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
画像のしきい値を調整&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwdfAeFnf38z2bwRbVfbxrOtenETel3Luz_jL9ZRrq_q2BvyE2blGaNs2X39IY9MY-nEU0U5gSq-Zf9_duuZ2NUieXikCx9GXRjSPbf22IOaEPG_UVVDqi2vJwSiYvlMKKZIDhScab-uyz/s1600/170212-0010.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwdfAeFnf38z2bwRbVfbxrOtenETel3Luz_jL9ZRrq_q2BvyE2blGaNs2X39IY9MY-nEU0U5gSq-Zf9_duuZ2NUieXikCx9GXRjSPbf22IOaEPG_UVVDqi2vJwSiYvlMKKZIDhScab-uyz/s320/170212-0010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
自動調整を選択&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
レイヤーの固定を選択&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyLDi7FgKzRV43bzGT6aO7kFwNz9OAEvKzfNWMevkLeNscvR7k_obs_U29N2mKViStlD5npQbVK8IPWgIzV3Xbj1qBvB00_acoFrTjnfpsSS6jUaaCQCB0Kn9krZKqDPnc0_V9J6Xy9Yb/s1600/170212-0011.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTyLDi7FgKzRV43bzGT6aO7kFwNz9OAEvKzfNWMevkLeNscvR7k_obs_U29N2mKViStlD5npQbVK8IPWgIzV3Xbj1qBvB00_acoFrTjnfpsSS6jUaaCQCB0Kn9krZKqDPnc0_V9J6Xy9Yb/s320/170212-0011.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvIKUg2OEolTqwGT5bcicraoNr1XTUc68K290jpoFZFpjqlxiR5lWJ6fGf381JnKTQIJJua4qENPSHvHCpecE6B7FsfKosXsCa7pxgiEq8huporqxKsvRQsAYvtNFx9e4ldLnZsYC4Dq3U/s1600/170212-0012.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvIKUg2OEolTqwGT5bcicraoNr1XTUc68K290jpoFZFpjqlxiR5lWJ6fGf381JnKTQIJJua4qENPSHvHCpecE6B7FsfKosXsCa7pxgiEq8huporqxKsvRQsAYvtNFx9e4ldLnZsYC4Dq3U/s320/170212-0012.png&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
テンプレートのDLはこちらから&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMYJf6YL5tilDQHnNF2prgzI_kvsOqIWftybLNrixCxGxNrV52p0-7D8HzRp0gHq0byTJOZBZ1qUI830XVsE9rtyBmv2rdhKDuvdwezRCOU2c9hhHcUi3MJW4M8OlBrojVoX3p5Iwq_5J_/s1600/170212-0014.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;228&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMYJf6YL5tilDQHnNF2prgzI_kvsOqIWftybLNrixCxGxNrV52p0-7D8HzRp0gHq0byTJOZBZ1qUI830XVsE9rtyBmv2rdhKDuvdwezRCOU2c9hhHcUi3MJW4M8OlBrojVoX3p5Iwq_5J_/s320/170212-0014.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/open?id=0B7lCG2-cus78bEp2M24zOU5OSVk&quot;&gt;LINEスタンプ作成用GIMPテンプレート&lt;/a&gt;&lt;br /&gt;
ファイルを開くには&lt;a href=&quot;https://www.gimp.org/&quot; target=&quot;_blank&quot;&gt;GIMP&lt;/a&gt;をご使用ください。&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/2255801074911165568/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/02/linegimp.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/2255801074911165568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/2255801074911165568'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/02/linegimp.html' title='【テンプレート付】 LINEスタンプをGIMPで作る方法'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9JN_63uveI1dOWEsV8x10V4JdLgxjEAuw1s4vpNjuALkG5IRtGxEW3ZMgnEdtEtnzwQo7KbTSs6tnUImesffVLmrwiYP9adH3cfrQ0qm2-5PzJOLzuQc_P3dtKP-5M7hb5dMCpSIgMsTE/s72-c/170212-0001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-7058825216481974355</id><published>2017-02-05T23:10:00.003+09:00</published><updated>2017-02-05T23:10:41.076+09:00</updated><title type='text'>knimeでFFT</title><content type='html'>Python scriptに以下のコマンドを入力&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM7gcBC4LXSl55BlG4j8tsSdaGUi2qYOKqlKghuk7nIdlN3hIKKN3lUrYzaSNGxRaceGirke2Ue3oKDF5iYuIUyE_4DJI-uCs5GwLFyKGhwp2MzAR_MM7WT7A_6ldjB4YHYOhZIGpOpoF6/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-02-05+23.07.57.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;470&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM7gcBC4LXSl55BlG4j8tsSdaGUi2qYOKqlKghuk7nIdlN3hIKKN3lUrYzaSNGxRaceGirke2Ue3oKDF5iYuIUyE_4DJI-uCs5GwLFyKGhwp2MzAR_MM7WT7A_6ldjB4YHYOhZIGpOpoF6/s640/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-02-05+23.07.57.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieQnR4y6BIbdhm2jDUsPbfDTguUxINnTpkpkURvWjXahwf4Ktml0Cvv4lEUUHhVrRPqxZDomUmay0EGMCZGcsFJ5nYScGEAxTUql56R35dx1Nw7ALLepE93stiilj28qU82GYMzZm3Thyphenhyphen5/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-02-05+23.08.19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieQnR4y6BIbdhm2jDUsPbfDTguUxINnTpkpkURvWjXahwf4Ktml0Cvv4lEUUHhVrRPqxZDomUmay0EGMCZGcsFJ5nYScGEAxTUql56R35dx1Nw7ALLepE93stiilj28qU82GYMzZm3Thyphenhyphen5/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-02-05+23.08.19.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
# Copy input to output&lt;br /&gt;
import numpy as np&lt;br /&gt;
import pandas as pd&lt;br /&gt;
&lt;br /&gt;
a = np.array(input_table[&#39;Col0&#39;])&lt;br /&gt;
b = np.array(input_table[&#39;Col1&#39;])&lt;br /&gt;
&lt;br /&gt;
# pyOut[&#39;Col0&#39;]=a&lt;br /&gt;
# pyOut[&#39;Col1&#39;]=b&lt;br /&gt;
# c =np.fft.fft(b)&lt;br /&gt;
# pyOut = kIn&lt;br /&gt;
c = abs(np.fft.fft(b))&lt;br /&gt;
# pyOut[&#39;Col0&#39;] = a.tolist()&lt;br /&gt;
# pyOut[&#39;Col1&#39;] = c.tolist()&lt;br /&gt;
d=c[0:c.size/2]&lt;br /&gt;
freq = 1.0/(a[2]-a[1])&lt;br /&gt;
e= np.fft.fftfreq(c.size, 1.0 / freq)&lt;br /&gt;
f = e[0:c.size/2]&lt;br /&gt;
&lt;br /&gt;
output_table = pd.DataFrame(d.tolist())&lt;br /&gt;
# output_table[&#39;Col0&#39;] = d.tolist()&lt;br /&gt;
output_table[&#39;Col1&#39;] = f.tolist()&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/7058825216481974355/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/02/knimefft.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7058825216481974355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7058825216481974355'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/02/knimefft.html' title='knimeでFFT'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM7gcBC4LXSl55BlG4j8tsSdaGUi2qYOKqlKghuk7nIdlN3hIKKN3lUrYzaSNGxRaceGirke2Ue3oKDF5iYuIUyE_4DJI-uCs5GwLFyKGhwp2MzAR_MM7WT7A_6ldjB4YHYOhZIGpOpoF6/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-02-05+23.07.57.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-4208817111238275276</id><published>2017-01-22T20:21:00.002+09:00</published><updated>2017-01-22T22:42:29.216+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Pythonによるエルミート行列の対角化に必要な計算時間</title><content type='html'>Pythonでエルミート行列を対角化するのに必要な計算時間を調査してみました。&lt;br /&gt;
作成したプログラムは以下の通りで、使用したPCのCPUはCi5 1.7GHz, メモリ 4GB 1333 MHz DDR3です。&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
import numpy as np&lt;br /&gt;
import random&lt;br /&gt;
import time&lt;br /&gt;
a = np.ones(([データサイズ], [データサイズ]))&lt;br /&gt;
for i in range([データサイズ]):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; print(i)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; for j in range(i):&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if i==j:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a[i,j]=1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; temp = random.random()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a[i,j]= temp&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a[j,i]= temp&lt;br /&gt;
tic = time.time()&lt;br /&gt;
(l,v) = np.linalg.eig(a)&lt;br /&gt;
toc = time.time()&lt;br /&gt;
print(toc-tic)&lt;/blockquote&gt;
&lt;br /&gt;
計算時間は、&lt;br /&gt;
行列サイズ100✕100: 0.08817505836486816 秒 (88 ミリ秒)&lt;br /&gt;
行列サイズ1000✕1000: 1.870811939239502 秒 (1.9 秒)&lt;br /&gt;
行列サイズ10000✕10000: 1313.976676940918 秒 (21.9分)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;371&quot; scrolling=&quot;no&quot; seamless=&quot;&quot; src=&quot;https://docs.google.com/spreadsheets/d/1xN74M_C225QEHu0cJ6he84q4lE6g3Iof9ywK0UsEjWM/pubchart?oid=905812648&amp;amp;format=interactive&quot; width=&quot;600&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6EOyus1BOhL0k0zj66fRLQ2K8Q8o9OV-1LGFAuG0woAB_6ogmlzfxCa4zB8EO-opAlZaGDSymfOvImRdXEn9BmUz1omjj4KD2H1Ka-dqRtK0lJYLx0_npDLBUsAXsElyqaqSUMahEi7L6/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-01-22+20.28.16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6EOyus1BOhL0k0zj66fRLQ2K8Q8o9OV-1LGFAuG0woAB_6ogmlzfxCa4zB8EO-opAlZaGDSymfOvImRdXEn9BmUz1omjj4KD2H1Ka-dqRtK0lJYLx0_npDLBUsAXsElyqaqSUMahEi7L6/s640/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-01-22+20.28.16.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/4208817111238275276/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/01/python.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/4208817111238275276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/4208817111238275276'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/01/python.html' title='Pythonによるエルミート行列の対角化に必要な計算時間'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6EOyus1BOhL0k0zj66fRLQ2K8Q8o9OV-1LGFAuG0woAB_6ogmlzfxCa4zB8EO-opAlZaGDSymfOvImRdXEn9BmUz1omjj4KD2H1Ka-dqRtK0lJYLx0_npDLBUsAXsElyqaqSUMahEi7L6/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2017-01-22+20.28.16.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-8171526664250237659</id><published>2017-01-10T08:22:00.001+09:00</published><updated>2017-01-10T08:22:18.321+09:00</updated><title type='text'>MATLABからpythonのプログラムを読み込む方法</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/1707780/call-python-function-from-matlab&quot;&gt;http://stackoverflow.com/questions/1707780/call-python-function-from-matlab&lt;/a&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;In MATLAB there is a function called perl.m, which allows you to call perl scripts from MATLAB. Depending on which version you are using it will be located somewhere like&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;C:\Program Files\MATLAB\R2008a\toolbox\matlab\general\perl.m&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Create a copy called python.m, a quick search and replace of perl with python, double check the command path it sets up to point to your installation of python. You should now be able to run python scripts from MATLAB.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;A simple squared function in python saved as &quot;sqd.py&quot;, naturally if I was doing this properly I&#39;d have a few checks in testing input arguments, valid numbers etc.&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;import sys def squared(x): y = x * x return y if __name__ == &#39;__main__&#39;: x = float(sys.argv[1]) sys.stdout.write(str(squared(x)))&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;Then in MATLAB&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;gt;&amp;gt; r=python(&#39;sqd.py&#39;,&#39;3.5&#39;) r = 12.25 &amp;gt;&amp;gt; r=python(&#39;sqd.py&#39;,&#39;5&#39;) r = 25.0 &amp;gt;&amp;gt;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/8171526664250237659/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2017/01/matlabpython.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/8171526664250237659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/8171526664250237659'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2017/01/matlabpython.html' title='MATLABからpythonのプログラムを読み込む方法'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-5945950145742247465</id><published>2016-10-23T22:30:00.000+09:00</published><updated>2016-10-23T22:30:30.497+09:00</updated><title type='text'>最小限の構成で始めるRaspberry Pi (ラズベリーパイ)</title><content type='html'>Raspberry Piを始めたい、しかし継続して使うか分からないのでなるべく安く、必要最低限の構成で始めたいという方のために、必要な機器を纏めました。各機器はAmazonでなるべく安いものを選んでいます。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Raspberry Pi本体&lt;br /&gt;&lt;a href=&quot;https://www.amazon.co.jp/Raspberry-Pi-3-model-Element14/dp/B01CCOXV34/ref=as_li_ss_il?ie=UTF8&amp;amp;qid=1477228598&amp;amp;sr=8-1&amp;amp;keywords=raspberry+pi+3&amp;amp;linkCode=li3&amp;amp;tag=oserver-22&amp;amp;linkId=32bab030a599f0e0f886cbb29d634799&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=B01CCOXV34&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=JP&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=oserver-22&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;電源共有用アダプタ(Micro USBタイプの携帯充電器で代替可能)&lt;br /&gt;Raspberry Piに対して高いです。携帯の充電器で代替できます。&lt;br /&gt;&lt;a href=&quot;https://www.amazon.co.jp/%E3%83%A9%E3%82%BA%E3%83%91%E3%82%A43%E3%81%AB%E6%9C%80%E9%81%A9%E3%81%AAAC%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF%E3%83%BC-5V-3-0A-USB-Micro-B%E3%82%B3%E3%83%8D%E3%82%AF%E3%82%BF%E5%87%BA%E5%8A%9B/dp/B01HNO7WXI/ref=as_li_ss_il?_encoding=UTF8&amp;amp;psc=1&amp;amp;refRID=J89P9QWXYK4AHWWKKA6C&amp;amp;linkCode=li3&amp;amp;tag=oserver-22&amp;amp;linkId=480f5419a190bcedb0094d7c054ca8e2&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=B01HNO7WXI&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=JP&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=oserver-22&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-jp.amazon-adsystem.com/e/ir?t=oserver-22&amp;amp;l=li3&amp;amp;o=9&amp;amp;a=B01HNO7WXI&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/li&gt;
&lt;li&gt;SDカード&lt;br /&gt;&lt;a href=&quot;https://www.amazon.co.jp/%E3%80%90Amazon-co-jp%E9%99%90%E5%AE%9A%E3%80%91Transcend-microSDHC%E3%82%AB%E3%83%BC%E3%83%89-Class10-New%E3%83%8B%E3%83%B3%E3%83%86%E3%83%B3%E3%83%89%E3%83%BC3DS-TS32GUSDU1PE/dp/B015J44R0U/ref=as_li_ss_il?s=electronics&amp;amp;ie=UTF8&amp;amp;qid=1477228543&amp;amp;sr=1-3&amp;amp;keywords=raspberry+pi&amp;amp;linkCode=li3&amp;amp;tag=oserver-22&amp;amp;linkId=9643ffd60758b3fadf374bbf7576805f&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=B015J44R0U&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=JP&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=oserver-22&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;HDMI - DVI変換ケーブル&lt;br /&gt;Raspberry Pi側がHDMI(オス)で、ディスプレー側は端子形状に合わせて選んで下さい。&lt;br /&gt;&lt;a href=&quot;https://www.amazon.co.jp/HDMI-DVI%E5%A4%89%E6%8F%9B%E3%82%B1%E3%83%BC%E3%83%96%E3%83%AB-Rankie-HDMI-%E5%A4%89%E6%8F%9B%E3%82%B1%E3%83%BC%E3%83%96%E3%83%AB-HDTV%E3%82%B1%E3%83%BC%E3%83%96%E3%83%AB/dp/B00YOSA85Q/ref=as_li_ss_il?_encoding=UTF8&amp;amp;psc=1&amp;amp;refRID=ZPVCQFHN98RWEHBKFA03&amp;amp;linkCode=li3&amp;amp;tag=oserver-22&amp;amp;linkId=a5d1f646ab81cbc15bddddf9ecae1d41&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;//ws-fe.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=B00YOSA85Q&amp;amp;Format=_SL250_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=JP&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=oserver-22&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-jp.amazon-adsystem.com/e/ir?t=oserver-22&amp;amp;l=li3&amp;amp;o=9&amp;amp;a=B00YOSA85Q&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;&lt;/li&gt;
&lt;li&gt;キーボード&lt;/li&gt;
&lt;li&gt;マウス&lt;/li&gt;
&lt;li&gt;ディスプレー&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://ir-jp.amazon-adsystem.com/e/ir?t=oserver-22&amp;amp;l=li3&amp;amp;o=9&amp;amp;a=B015J44R0U&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;

&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/5945950145742247465/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/10/raspberry-pi.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5945950145742247465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5945950145742247465'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/10/raspberry-pi.html' title='最小限の構成で始めるRaspberry Pi (ラズベリーパイ)'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-6113169526898891624</id><published>2016-10-04T22:31:00.001+09:00</published><updated>2016-10-04T22:35:36.575+09:00</updated><title type='text'>spotifyの招待をすぐにもらう方法</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&amp;#12493;&amp;#12483;&amp;#12488;&amp;#19978;&amp;#12391;&amp;#12399;&amp;#21508;&amp;#12450;&amp;#12540;&amp;#12486;&amp;#12451;&amp;#12473;&amp;#12488;&amp;#12398;&amp;#29305;&amp;#35373;&amp;#12469;&amp;#12452;&amp;#12488;&amp;#12391;spotify&amp;#12398;&amp;#25307;&amp;#24453;&amp;#12467;&amp;#12540;&amp;#12489;&amp;#12364;&amp;#37197;&amp;#24067;&amp;#12373;&amp;#12428;&amp;#12390;&amp;#12356;&amp;#12414;&amp;#12377;&amp;#12290;&amp;#20808;&amp;#31243;&amp;#35430;&amp;#12375;&amp;#12390;&amp;#12415;&amp;#12414;&amp;#12375;&amp;#12383;&amp;#12364;&amp;#36895;&amp;#25915;&amp;#12391;&amp;#25307;&amp;#24453;&amp;#12467;&amp;#12540;&amp;#12489;&amp;#12364;&amp;#23626;&amp;#12365;&amp;#12414;&amp;#12375;&amp;#12383;&amp;#12290;&amp;#12414;&amp;#12384;spotioy&amp;#12398;&amp;#25307;&amp;#24453;&amp;#12467;&amp;#12540;&amp;#12489;&amp;#12364;&amp;#23626;&amp;#12356;&amp;#12390;&amp;#12356;&amp;#12394;&amp;#12356;&amp;#26041;&amp;#12399;&amp;#12380;&amp;#12402;&amp;#12362;&amp;#35430;&amp;#12375;&amp;#12367;&amp;#12384;&amp;#12373;&amp;#12356;&amp;#12290;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://t.co/QBXdhdNIRO&quot;&gt;shingo suzuki&amp;#29305;&amp;#35373;&amp;#12469;&amp;#12452;&amp;#12488;&lt;/a&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;a href=&quot;https://www.spotify.com/jp/invite/shin/&quot;&gt;shin&amp;#29305;&amp;#35373;&amp;#12469;&amp;#12452;&amp;#12488;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;#12381;&amp;#12398;&amp;#20182;&amp;#12354;&amp;#12428;&amp;#12400;&amp;#20197;&amp;#19979;&amp;#12398;&amp;#12467;&amp;#12513;&amp;#12531;&amp;#12488;&amp;#27396;&amp;#12391;&amp;#12362;&amp;#30693;&amp;#12425;&amp;#12379;&amp;#19979;&amp;#12373;&amp;#12356;&amp;#12290;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/6113169526898891624/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/10/spotify.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/6113169526898891624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/6113169526898891624'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/10/spotify.html' title='spotifyの招待をすぐにもらう方法'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-209810159647218648</id><published>2016-09-25T20:55:00.000+09:00</published><updated>2016-09-25T20:55:29.219+09:00</updated><title type='text'>ブロック線図メモ</title><content type='html'>&lt;h2&gt;
&lt;/h2&gt;
&lt;div align=&quot;CENTER&quot;&gt;
&lt;h2 style=&quot;text-align: start;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;SECTION01132000000000000000&quot;&gt;ブロック線図&lt;/a&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
ブロック線図とは、自動制御系の中での信号伝達のありさまを表す線図であって、 次の三つの要素から構成されており、矢印は信号の伝わる方向を示している。&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;CENTER&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;fig1-3-2&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;1108&quot;&gt;&lt;/a&gt;&lt;table&gt;&lt;caption align=&quot;BOTTOM&quot;&gt;&lt;strong&gt;図 1.7:&lt;/strong&gt;&amp;nbsp;ブロック線図&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;\begin{figure}\begin{center}
\psbox[scale=0.65]{eps/1-3-2.eps} \end{center} \end{figure}&quot; border=&quot;0&quot; height=&quot;126&quot; src=&quot;http://ysserve.wakasato.jp/Lecture/ControlMecha1/img180.png&quot; width=&quot;569&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
ブロック線図を作成する手順は次のごとくである。&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;/div&gt;
&lt;dl compact=&quot;&quot; style=&quot;text-align: start;&quot;&gt;
&lt;dt&gt;(i)&lt;/dt&gt;
&lt;dd&gt;系のすべての信号間の関係を示す方程式をたてる。これは一般的 に微分方程式であるが、ラプラス変換した形で表す。&lt;/dd&gt;
&lt;dt&gt;(ii)&lt;/dt&gt;
&lt;dd&gt;これらの式に現れた信号全部を、信号伝達の順序に、すなわち入 力側から出力側へ次々に並べる。（通常は左側を入力、右側を出力とする）&lt;/dd&gt;
&lt;dt&gt;(iii)&lt;/dt&gt;
&lt;dd&gt;相互間を伝達要素、加え合わせ点、引き出し点などを用いて接 続する。&lt;/dd&gt;
&lt;dt&gt;(iv)&lt;/dt&gt;
&lt;dd&gt;ブロック線図が複雑な場合、不必要な信号を消去し、簡略化する。&lt;/dd&gt;&lt;/dl&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
その等価変換の方法を表&lt;a href=&quot;http://ysserve.wakasato.jp/Lecture/ControlMecha1/node10.html#table1-3-2&quot;&gt;1.4&lt;/a&gt;に示す。&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;CENTER&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;table1-3-2&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;1116&quot;&gt;&lt;/a&gt;&lt;table&gt;&lt;caption&gt;&lt;strong&gt;表 1.4:&lt;/strong&gt;&amp;nbsp;ブロック線図の等価変換表&lt;/caption&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;img alt=&quot;\begin{table}\begin{center}
\psbox{eps/Table1-3-2.eps}\par\end{center}\end{table}&quot; border=&quot;0&quot; height=&quot;749&quot; src=&quot;http://ysserve.wakasato.jp/Lecture/ControlMecha1/img181.png&quot; width=&quot;649&quot; /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;http://ysserve.wakasato.jp/Lecture/ControlMecha1/node10.html&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/209810159647218648/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/blog-post_25.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/209810159647218648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/209810159647218648'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/blog-post_25.html' title='ブロック線図メモ'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-7176525549760016328</id><published>2016-09-24T22:16:00.004+09:00</published><updated>2016-09-24T22:16:43.233+09:00</updated><title type='text'>H17技術士 電気電子 Ⅳ-12 解答</title><content type='html'>【問題】&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; padding: 0px;&quot;&gt;
交流100V（実効値）を単相ダイオードブリッジ回路で整流し、&lt;br style=&quot;line-height: 1.22;&quot; /&gt;リップルを十分低減する容量の直流リアクトルと直列に接続した100Ωの抵抗に印加している。&lt;/div&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
電源から負荷抵抗に供給される有効電力はいくらか。&lt;br style=&quot;line-height: 1.22;&quot; /&gt;&lt;br style=&quot;line-height: 1.22;&quot; /&gt;ただし、ダイオードと直流リアクトルの内部損失は十分小さいとする。&lt;br style=&quot;line-height: 1.22;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;直流リアクトル,単相ダイオードブリッジ,リップル,単相ダイオードブリッジ回路,直列,リアクトル,負荷抵抗&quot; src=&quot;https://iwiz-chie.c.yimg.jp/im_siggcNIcYXCYqoMS8MP_ETLagw---x320-y320-exp5m-n1/d/iwiz-chie/que-11134108516&quot; style=&quot;line-height: 1.22;&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;ptsImg clrfx&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 40px; min-height: 1px; padding: 0px;&quot;&gt;
&lt;div style=&quot;float: left; line-height: 1.8; margin-right: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;float: left; line-height: 1.8; margin-right: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
【解答】&lt;/div&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
リップルを十分低減する強力なリアクトルがあるということは、&lt;/div&gt;
&lt;div class=&quot;queTxt&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.8; margin-bottom: 37px; padding: 0px;&quot;&gt;
負荷抵抗には、整流された正弦波電圧の平均値に相当する直流電圧が、&lt;br style=&quot;line-height: 1.22;&quot; /&gt;印加されます。&lt;br style=&quot;line-height: 1.22;&quot; /&gt;つまり、&lt;br style=&quot;line-height: 1.22;&quot; /&gt;(印加電圧)＝100×√2×2／π≒90 [V]&lt;br style=&quot;line-height: 1.22;&quot; /&gt;したがって、&lt;br style=&quot;line-height: 1.22;&quot; /&gt;電源から負荷抵抗に供給される有効電力は、&lt;br style=&quot;line-height: 1.22;&quot; /&gt;(有効電力)＝90²／100＝81 [W]&lt;br style=&quot;line-height: 1.22;&quot; /&gt;と、なります。&lt;/div&gt;
&lt;div class=&quot;ptsImg clrfx&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 40px; min-height: 1px; padding: 0px;&quot;&gt;
&lt;div style=&quot;float: left; line-height: 1.8; margin-right: 10px; padding: 0px;&quot;&gt;
&lt;img alt=&quot;リップルを十分低減する強力なリアクトルがあるということは、...&quot; src=&quot;https://iwiz-chie.c.yimg.jp/im_siggDqk1pmFuWKAZmm.pe6pNRw---x320-y320-exp5m-n1/d/iwiz-chie/ans-336786589&quot; style=&quot;line-height: 1.22;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;ul class=&quot;niceBtn&quot; style=&quot;line-height: 1.22; margin: 0px 0px 30px; padding: 0px;&quot;&gt;&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; color: #111111; font-family: &amp;quot;ヒラギノ角ゴ Pro W3&amp;quot;, &amp;quot;Hiragino Kaku Gothic Pro&amp;quot;, メイリオ, Meiryo, &amp;quot;ＭＳ Ｐゴシック&amp;quot;, &amp;quot;MS PGothic&amp;quot;, &amp;quot;MS UI Gothic&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #111111; font-family: ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, ＭＳ Ｐゴシック, MS PGothic, MS UI Gothic, Helvetica, Arial, sans-serif;&quot;&gt;http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q11134108516&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;attInf&quot; style=&quot;background-color: white; line-height: 1.22; margin: 0px 0px 20px; overflow: hidden; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #111111; font-family: ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, ＭＳ Ｐゴシック, MS PGothic, MS UI Gothic, Helvetica, Arial, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/7176525549760016328/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/h17-12.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7176525549760016328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7176525549760016328'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/h17-12.html' title='H17技術士 電気電子 Ⅳ-12 解答'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-5792356419839595782</id><published>2016-09-20T22:23:00.004+09:00</published><updated>2016-09-20T22:36:44.519+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="理系ソフト"/><title type='text'>類似しているプログラミング言語の文法などの比較まとめチートシート</title><content type='html'>r, python, matlab, juliaの比較&lt;br /&gt;
&lt;br /&gt;
&lt;table class=&quot;wiki-content-table&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(136, 136, 136); color: black; empty-cells: show; font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; font-size: 13.12px; margin: 0.5em auto 0.5em 0px;&quot;&gt;&lt;tbody style=&quot;font-family: consolas, inconsolata, &amp;quot;andale mono&amp;quot;, monospace;&quot;&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;version used&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;MATLAB 8.3&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Octave 3.8&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;3.1&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Python 2.7&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;NumPy 1.7&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;SciPy 0.13&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Pandas 0.12&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Matplotlib 1.3&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;0.4&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;show version&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ matlab -nojvm -nodisplay -r &#39;exit&#39;&lt;br /&gt;
&lt;br /&gt;
$ octave&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--version&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ R&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--version&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.version&lt;br /&gt;
np.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__version__&lt;/span&gt;&lt;br /&gt;
sp.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__version__&lt;/span&gt;&lt;br /&gt;
mpl.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__version__&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ julia&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;version&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;implicit prologue&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;install.packages(&#39;ggplot2&#39;)&lt;br /&gt;
library(&#39;ggplot2&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import sys, os, re, math&lt;br /&gt;
import numpy as np&lt;br /&gt;
import scipy as sp&lt;br /&gt;
import scipy.stats as stats&lt;br /&gt;
import pandas as pd&lt;br /&gt;
import matplotlib as mpl&lt;br /&gt;
import matplotlib.pyplot as plt&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;文法と呼び出し&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;interpreter&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.m&lt;br /&gt;
1 + 1&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
$ matlab -nojvm -nodisplay -r &quot;run(&#39;foo.m&#39;)&quot;&lt;br /&gt;
&lt;br /&gt;
$ octave foo.m&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.r&lt;br /&gt;
1 + 1&lt;br /&gt;
&lt;br /&gt;
$ Rscript foo.r&lt;br /&gt;
&lt;br /&gt;
$ R -f foo.r&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.py&lt;br /&gt;
print(1 + 1)&lt;br /&gt;
&lt;br /&gt;
$ python foo.py&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.jl&lt;br /&gt;
println(1 + 1)&lt;br /&gt;
&lt;br /&gt;
$ julia foo.jl&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;repl&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ matlab -nojvm -nodisplay&lt;br /&gt;
&lt;br /&gt;
$ octave&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ R&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ python&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ julia&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;command line program&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ matlab -nojvm -nodisplay -r &#39;disp(1 + 1); exit&#39;&lt;br /&gt;
&lt;br /&gt;
$ octave&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;silent&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;eval &#39;1 + 1&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ Rscript -e &#39;print(&quot;hi&quot;)&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;python -c &#39;print(&quot;hi&quot;)&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ julia -e &#39;println(&quot;hi&quot;)&#39;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;block delimiters&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function end&lt;br /&gt;
if elseif else end&lt;br /&gt;
while end&lt;br /&gt;
for end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{ }&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;offside rule&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;statement separator&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or newline&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Newlines not separators after three dots:&lt;/em&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Output is suppressed when lines end with a semicolon.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or sometimes newline&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Newlines not separators inside (), [], {}, &#39;&#39;, &quot;&quot;, or after binary operator.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;newline or ;&lt;br /&gt;&lt;br /&gt;Newlines not separators inside (), [], {}, triple quote literals, or after backslash: \&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;end-of-line comment&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;% addition&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;# addition&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;# addition&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;# addition&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;変数と式&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;assignment&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;br /&gt;
i &amp;lt;- 3&lt;br /&gt;
3 -&amp;gt; i&lt;br /&gt;
assign(&quot;i&quot;, 3)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;parallel assignment&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;swap&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;compound assignment&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;arithmetic, string, logical&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# do not return values:&lt;/span&gt;&lt;br /&gt;
+= -= *= /=&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;= %=&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;=&lt;br /&gt;
+= *=&lt;br /&gt;
&amp;amp;= |= ^=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;null&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Only used in place of numeric values:&lt;/span&gt;&lt;br /&gt;
NaN&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;NA NULL&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;None np.nan&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# None cannot be stored in a numpy array;&lt;br /&gt;# np.nan can if dtype is float64.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Only used in place of float values:&lt;/span&gt;&lt;br /&gt;
NaN&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;null test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isnan(v)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% true for &#39;&#39;, []:&lt;/span&gt;&lt;br /&gt;
isempty(v)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;is.na(v)&lt;br /&gt;
is.null(v)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;v == None&lt;br /&gt;
v is None&lt;br /&gt;
&lt;br /&gt;
np.isnan(np.nan)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# np.nan == np.nan is False&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isnan(v)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;conditional expression&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;(if (x &amp;gt; 0) x else -x)&lt;br /&gt;
ifelse(x &amp;gt; 0, x, -x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;x if x &amp;gt; 0 else -x&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;x &amp;gt; 0 ? x : -x&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;算術ロジック&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;boolean type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Python:&lt;/span&gt;&lt;br /&gt;
bool&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# NumPy:&lt;/span&gt;&lt;br /&gt;
bool_&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Bool&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;true and false&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1&amp;nbsp;0 true false&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;TRUE FALSE T F&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;True False&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;true false&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;falsehoods&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;false 0&amp;nbsp;0.0&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;matrices evaluate to false unless nonempty and all entries evaluate to true&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;FALSE F 0&amp;nbsp;0.0&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;matrices evaluate to value of first entry; string in boolean context causes error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;False None 0&amp;nbsp;0.0 &#39;&#39; [] {}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;false&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;logical operators&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;~true | (true &amp;amp; false)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% short-circuit operators:&lt;/span&gt;&lt;br /&gt;
&amp;amp;&amp;amp;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;!TRUE | (TRUE &amp;amp; FALSE)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;short-circuit operators:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&amp;amp;&amp;amp;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&amp;amp;&amp;nbsp;&lt;em&gt;and&lt;/em&gt;&amp;nbsp;|&amp;nbsp;&lt;em&gt;can operate on and return vectors, but&lt;/em&gt;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&amp;nbsp;&lt;em&gt;and&lt;/em&gt;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&amp;nbsp;&lt;em&gt;return scalars&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;and or not&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;amp;&amp;amp; || !&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;relational operators&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== ~= &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== != &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== != &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== != &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Python:&lt;/span&gt;&lt;br /&gt;
int&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# NumPy:&lt;/span&gt;&lt;br /&gt;
int8 int16 int32 int64&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Int8 Int16 Int32 Int64 Int128&lt;br /&gt;
&lt;br /&gt;
Int&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;is either 32 or 64 bits, depending on&lt;/em&gt;&lt;/span&gt;WORD_SIZE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;unsigned type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;uint8 uint16 uint32 uint64&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;UInt8 UInt16 UInt32 UInt64 UInt128&lt;br /&gt;
&lt;br /&gt;
UInt&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;is either 32 or 64 bits, depending on&lt;/em&gt;&lt;/span&gt;&amp;nbsp;WORD_SIZE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Python:&lt;/span&gt;&lt;br /&gt;
float&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# NumPy:&lt;/span&gt;&lt;br /&gt;
float16 float32 float64&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Float16 Float32 Float64&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;arithmetic operators&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;add, sub, mult, div, quot, rem&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * /&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&amp;nbsp;mod(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * / %/% %%&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * / // %&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * / div(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;) rem(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# always non-negative:&lt;/span&gt;&lt;br /&gt;
mod(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer division&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fix(13 / 5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13&amp;nbsp;%/% 5&lt;br /&gt;
as.integer(13 / 5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 // 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;div(13, 5)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer division by zero&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Inf NaN&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or&lt;/em&gt;&lt;/span&gt;&amp;nbsp;-Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;result of converting Inf or NaN to an integer with as.integer:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
NA&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;ZeroDivisionError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;DivideError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float division&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 / 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 / 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;float(13) / 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 / 5&lt;br /&gt;
5 \ 13&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float division by zero&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;dividend is positive, zero, negative&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;these values are literals:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Inf&lt;br /&gt;
NaN&lt;br /&gt;
-Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;these values are literals:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Inf&lt;br /&gt;
NaN&lt;br /&gt;
-Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;ZeroDivisionError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;these values are literals:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Inf&lt;br /&gt;
NaN&lt;br /&gt;
-Inf&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;power&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2 ^ 16&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2 ^ 16&lt;br /&gt;
2 ** 16&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;&amp;nbsp;16&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2 ^ 16&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sqrt&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sqrt(2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sqrt(2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.sqrt(2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sqrt(2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sqrt -1&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% returns 0 + 1i:&lt;/span&gt;&lt;br /&gt;
sqrt(-1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# returns NaN:&lt;/span&gt;&lt;br /&gt;
sqrt(-1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 0+1i:&lt;/span&gt;&lt;br /&gt;
sqrt(-1+0i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# raises ValueError:&lt;/span&gt;&lt;br /&gt;
math.sqrt(-1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 1.41421j:&lt;/span&gt;&lt;br /&gt;
import cmath&lt;br /&gt;
cmath.sqrt(-1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# raises DomainError:&lt;/span&gt;&lt;br /&gt;
sqrt(-1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 0.0 + 1.0im:&lt;/span&gt;&lt;br /&gt;
sqrt(-1 + 0im)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;transcendental functions&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exp log sin cos tan asin acos atan atan2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exp log sin cos tan asin acos atan atan2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.exp math.log math.sin math.cos math.tan math.asin math.acos math.atan math.atan2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exp log sin cos tan asin acos atan atan2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;transcendental constants&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pi e&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pi exp(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.pi math.e&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pi e&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float truncation&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;round towards zero, to nearest integer, down, up&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fix(x)&lt;br /&gt;
round(x)&lt;br /&gt;
floor(x)&lt;br /&gt;
ceil(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;as.integer(x)&lt;br /&gt;
round(x)&lt;br /&gt;
floor(x)&lt;br /&gt;
ceiling(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;int(x)&lt;br /&gt;
int(round(x))&lt;br /&gt;
math.floor(x)&lt;br /&gt;
math.ceil(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Int(trunc(x))&lt;br /&gt;
Int(round(x))&lt;br /&gt;
Int(floor(x))&lt;br /&gt;
Int(ceil(x))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# trunc() and other functions return floats.&lt;br /&gt;# Int() raises InexactError if float argument has&lt;br /&gt;# nonzero fractional portion.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;absolute value&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;and signum&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs sign&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs sign&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs(-3.7)&lt;br /&gt;
math.copysign(1, -3.7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs(-3.7)&lt;br /&gt;
sign(-3.7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer overflow&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;becomes float; largest representable integer in the variable&lt;/em&gt;&amp;nbsp;intmax&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;becomes float; largest representable integer in the variable&lt;/em&gt;.Machine$integer.max&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;becomes arbitrary length integer of type&lt;/em&gt;long&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float overflow&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;OverflowError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float limits&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eps&lt;br /&gt;
realmax&lt;br /&gt;
realmin&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;.Machine$double.eps&lt;br /&gt;
.Machine$double.xmax&lt;br /&gt;
.Machine$double.xmin&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.finfo(np.float64).eps&lt;br /&gt;
np.finfo(np.float64).max&lt;br /&gt;
np.finfo(np.float64).min&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;rational construction&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;22&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;&amp;nbsp;7&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;rational decomposition&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;num(22&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;&amp;nbsp;7)&lt;br /&gt;
den(22&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;&amp;nbsp;7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;complex types&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;complex64 complex128&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Complex32 Complex64 Complex128&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;complex construction&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3i&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3i&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3j&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3im&lt;br /&gt;
complex(1, 3)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;complex decomposition&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;real imag&lt;br /&gt;
abs arg&lt;br /&gt;
conj&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Re Im&lt;br /&gt;
abs Arg&lt;br /&gt;
Conj&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import cmath&lt;br /&gt;
&lt;br /&gt;
z.real&lt;br /&gt;
z.imag&lt;br /&gt;
cmath.polar(z)[1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;real(1 + 3im)&lt;br /&gt;
imag(1 + 3im)&lt;br /&gt;
abs(1 + 3im)&lt;br /&gt;
angle(1 + 3im)&lt;br /&gt;
conj(1 + 3im)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;random number&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;uniform integer, uniform float&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;floor(100 * rand)&lt;br /&gt;
rand&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;floor(100 * runif(1))&lt;br /&gt;
runif(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.random.randint(0, 100)&lt;br /&gt;
np.random.rand()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rand(1:100)&lt;br /&gt;
rand()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;random seed&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;set, get, and restore&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rand(&#39;state&#39;, 17)&lt;br /&gt;
sd = rand(&#39;state&#39;)&lt;br /&gt;
rand(&#39;state&#39;, sd)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;set.seed(17)&lt;br /&gt;
sd = .Random.seed&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.random.seed(17)&lt;br /&gt;
sd = np.random.get_state()&lt;br /&gt;
np.random.set_state(sd)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;bit operators&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;bitshift(100, 3)&lt;br /&gt;
bitshift(100, -3)&lt;br /&gt;
bitand(1, 2)&lt;br /&gt;
bitor(1, 2)&lt;br /&gt;
bitxor(1, 2)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% MATLAB:&lt;/span&gt;&lt;br /&gt;
bitcmp(1, &#39;uint16&#39;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% Octave:&lt;/span&gt;&lt;br /&gt;
bitcmp(1, 16)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;100&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&amp;nbsp;3&lt;br /&gt;
100&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;&amp;nbsp;3&lt;br /&gt;
1 &amp;amp; 2&lt;br /&gt;
1 | 2&lt;br /&gt;
1 ^ 2&lt;br /&gt;
~1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;binary, octal, and hex literals&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0b101010&lt;br /&gt;
0o52&lt;br /&gt;
0x2a&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;radix&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;convert integer to and from string with radix&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;base(7, 42)&lt;br /&gt;
parse(Int, &quot;60&quot;, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;ストリングス&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;don&#39;&#39;t say &quot;no&quot;&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% Octave only:&lt;/span&gt;&lt;br /&gt;
&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;br /&gt;
&#39;don\&#39;t say &quot;no&quot;&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;don\&#39;t say &quot;no&quot;&#39;&lt;br /&gt;
&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;br /&gt;
r&quot;don&#39;t &quot; r&#39;say &quot;no&quot;&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;newline in literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;no&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;yes&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;no&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;yes&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal escapes&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave double quote only:&lt;/span&gt;&lt;br /&gt;
\\ \&quot; \&#39; \0 \a \b \f \n \r \t \v&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;\\ \&quot; \&#39; \a \b \f \n \r \t \v \&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ooo&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# single and double quoted:&lt;/span&gt;&lt;br /&gt;
\&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;newline&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\\ \&#39; \&quot; \a \b \f \n \r \t \v \&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ooo&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\x&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hh&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;\\ \&quot; \&#39; \a \b \f \n \t \r \v&lt;br /&gt;
\&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ooo&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\x&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hh&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\u&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hhhh&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\U&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hhhhhhhh&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;variable interpolation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;count = 3&lt;br /&gt;
item = &quot;ball&quot;&lt;br /&gt;
println(&quot;$count $(item)s&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;expression interpolation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;1 + 1 = $(1 + 1)&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;concatenate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strcat(&#39;one &#39;, &#39;two &#39;, &#39;three&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;paste(&quot;one&quot;, &quot;two&quot;, &quot;three&quot;, sep=&quot; &quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;one &#39; + &#39;two &#39; + &#39;three&#39;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;literals, but not variables, can be concatenated with juxtaposition:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&#39;one &#39; &quot;two &quot; &#39;three&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;one &quot; * &quot;two &quot; * &quot;three&quot;&lt;br /&gt;
&lt;br /&gt;
string(&quot;one &quot;, &quot;two &quot;, &quot;three&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;replicate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = repmat(&#39;-&#39;, 1, 80)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = paste(rep(&#39;-&#39;, 80), collapse=&#39;&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = &#39;-&#39; * 80&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = &quot;-&quot; ^ 80&lt;br /&gt;
&lt;br /&gt;
hbar = repeat(&quot;-&quot;, 80)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;index of substring&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% returns array of one-indexed&lt;br /&gt;% locations&lt;/span&gt;&lt;br /&gt;
strfind(&#39;hello&#39;, &#39;el&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;counts from one, returns&lt;br /&gt;-1 if not found&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
regexpr(&quot;el&quot;, &quot;hello&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Counts from zero; raises ValueError if not found:&lt;/span&gt;&lt;br /&gt;
&#39;hello&#39;.index(&#39;el&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# returns UnitRange:&lt;/span&gt;&lt;br /&gt;
search(&quot;hello&quot;, &quot;el&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;extract substring&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;hello&#39;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% syntax error: &#39;hello&#39;(1:4)&lt;/span&gt;&lt;br /&gt;
s(1:4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;substr(&quot;hello&quot;, 1, 4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;hello&#39;[0:4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;hello&quot;[1:4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;split&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% returns cell array:&lt;/span&gt;&lt;br /&gt;
strsplit(&#39;foo,bar,baz&#39;, &#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strsplit(&#39;foo,bar,baz&#39;, &#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;foo,bar,baz&#39;.split(&#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;split(&quot;foo,bar,baz&quot;, &quot;,&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;join&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% takes cell array as arg:&lt;/span&gt;&lt;br /&gt;
strjoin({&#39;foo&#39;, &#39;bar&#39;, &#39;baz&#39;}, &#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;paste(&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;, sep=&quot;,&quot;)&lt;br /&gt;
paste(c(&#39;foo&#39;, &#39;bar&#39;, &#39;baz&#39;),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;collapse=&#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;,&#39;.join([&#39;foo&#39;, &#39;bar&#39;, &#39;baz&#39;])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;join([&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;], &quot;,&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;trim&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;both sides, left, right&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strtrim(&#39; foo &#39;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
deblank(&#39;foo &#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;gsub(&quot;(^[\n\t ]+|[\n\t ]+$)&quot;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&quot;&quot;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&quot; foo &quot;)&lt;br /&gt;
sub(&quot;^[\n\t ]+&quot;, &quot;&quot;, &quot; foo&quot;)&lt;br /&gt;
sub(&quot;[\n\t ]+$&quot;, &quot;&quot;, &quot;foo &quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39; foo &#39;.strip()&lt;br /&gt;
&#39; foo&#39;.lstrip()&lt;br /&gt;
&#39;foo &#39;.rstrip()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;pad&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;on right, on left, centered&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = repmat(&#39; &#39;, 1, 10)&lt;br /&gt;
s(1:5) = &#39;lorem&#39;&lt;br /&gt;
strjust(s, &#39;left&#39;)&lt;br /&gt;
strjust(s, &#39;right&#39;)&lt;br /&gt;
strjust(s, &#39;center&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sprintf(&quot;%-10s&quot;, &quot;lorem&quot;)&lt;br /&gt;
sprintf(&quot;%10s&quot;, &quot;lorem&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;lorem&#39;.ljust(10)&lt;br /&gt;
&#39;lorem&#39;.rjust(10)&lt;br /&gt;
&#39;lorem&#39;.center(10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;number to string&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strcat(&#39;value: &#39;, num2str(8))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;paste(&quot;value: &quot;, toString(&quot;8&quot;))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;value: &#39; + str(8)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;string to number&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + str2num(&#39;12&#39;)&lt;br /&gt;
73.9 + str2num(&#39;.037&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + as.integer(&quot;12&quot;)&lt;br /&gt;
73.9 + as.double(&quot;.037&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + int(&#39;12&#39;)&lt;br /&gt;
73.9 + float(&#39;.037&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + parse(Int, &quot;12&quot;)&lt;br /&gt;
73.9 + parse(Float64, &quot;.037&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;translate case&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lower(&#39;FOO&#39;)&lt;br /&gt;
upper(&#39;foo&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tolower(&quot;FOO&quot;)&lt;br /&gt;
toupper(&quot;foo&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;foo&#39;.upper()&lt;br /&gt;
&#39;FOO&#39;.lower()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;uppercase(&quot;foo&quot;)&lt;br /&gt;
lowercase(&quot;FOO&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sprintf&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sprintf(&#39;%s: %.3f %d&#39;, &#39;foo&#39;, 2.2, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sprintf(&quot;%s: %.3f %d&quot;, &quot;foo&quot;, 2.2, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;%s: %.3f %d&#39; % (&#39;foo&#39;, 2.2, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;@sprintf(&quot;%s: %.2f %d&quot;, &quot;foo&quot;, 2.2, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;length&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(&#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;nchar(&quot;hello&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(&#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(&quot;hello&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# index of first byte of last char:&lt;/span&gt;&lt;br /&gt;
endof(&quot;hello&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;character access&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;hello&#39;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% syntax error: &#39;hello&#39;(1)&lt;/span&gt;&lt;br /&gt;
s(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;substr(&quot;hello&quot;, 1, 1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;hello&#39;[0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;hello&quot;[1]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# index must be byte-index of the first byte of a&lt;br /&gt;# character. Raises BoundsErrror if no such byte,&lt;br /&gt;# and UnicodeError if byte not first in char.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;chr and ord&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;char(65)&lt;br /&gt;
double(&#39;A&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intToUtf8(65)&lt;br /&gt;
utf8ToInt(&quot;A&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;chr(65)&lt;br /&gt;
ord(&#39;A&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Char(65)&lt;br /&gt;
Int(&#39;A&#39;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;正規表現&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;character class abbreviations&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;. \d \D \s \S \w \W&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% also C-string style backslash escapes:&lt;/span&gt;&lt;br /&gt;
\a \b \f \n \r \t \v&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# escape backslash in strings by doubling:&lt;/span&gt;&lt;br /&gt;
. \d \D \s \S \w \W&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;. \d \D \s \S \w \W&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;. \d \D \h \H \s \S \v \V \w \W&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;anchors&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;^ $ \&amp;lt; \&amp;gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# escape backslash in strings by doubling:&lt;/span&gt;&lt;br /&gt;
^ $ \&amp;lt; \&amp;gt; \b \B&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;^ $ \A \b \B \Z&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;^ $ \A \b \B \z \Z&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;match test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexp(&#39;hello&#39;, &#39;^[a-z]+$&#39;)&lt;br /&gt;
regexp(&#39;hello&#39;, &#39;^\S+$&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpr(&quot;^[a-z]+$&quot;, &quot;hello&quot;) &amp;gt; 0&lt;br /&gt;
regexpr(&#39;^\\S+$&#39;, &quot;hello&quot;) &amp;gt; 0&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;re.search(r&#39;^[a-z]+$&#39;, &#39;hello&#39;)&lt;br /&gt;
re.search(r&#39;^\S+$&#39;, &#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismatch(r&quot;^[a-z]+$&quot;, &quot;hello&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;case insensitive match test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpi(&#39;Lorem Ipsum&#39;, &#39;lorem&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpr(&#39;(?i)lorem&#39;, &quot;Lorem Ipsum&quot;) &amp;gt; 0&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;re.search(r&#39;lorem&#39;, &#39;Lorem Ipsum&#39;, re.I)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismatch(r&quot;lorem&quot;i, &quot;Lorem Ipsum&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;modifiers&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;(?i) (?m) (?s) (?x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;re.I re.M re.S re.X&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i m s x&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;substitution&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;first match, all matches&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;do re mi mi mi&#39;&lt;br /&gt;
regexprep(s, &#39;ma&#39;, &#39;once&#39;)&lt;br /&gt;
regexprep(s, &#39;mi&#39;, &#39;ma&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sub(&#39;mi&#39;, &#39;ma&#39;, &#39;do re mi mi mi&#39;)&lt;br /&gt;
gsub(&#39;mi&#39;, &#39;ma&#39;, &#39;do re mi mi mi&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rx = re.compile(r&#39;mi&#39;)&lt;br /&gt;
s = rx.sub(&#39;ma&#39;, &#39;do re mi mi mi&#39;, 1)&lt;br /&gt;
s2 = rx.sub(&#39;ma&#39;, &#39;do re mi mi mi&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;replace(&quot;do re mi mi mi&quot;, r&quot;mi&quot;, s&quot;ma&quot;, 1)&lt;br /&gt;
replace(&quot;do re mi mi mi&quot;, r&quot;mi&quot;, s&quot;ma&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;backreference in match and substitution&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexp(&#39;do do&#39;, &#39;(\w+) \1&#39;)&lt;br /&gt;
regexprep(&#39;do re&#39;, &#39;(\w+) (\w+)&#39;, &#39;$2 $1&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpr(&#39;(\\w+) \\1&#39;, &#39;do do&#39;) &amp;gt; 0&lt;br /&gt;
sub(&#39;(\\w+) (\\w+)&#39;, &#39;\\2 \\1&#39;, &#39;do re&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
rx = re.compile(r&#39;(\w+) (\w+)&#39;)&lt;br /&gt;
rx.sub(r&#39;\2 \1&#39;, &#39;do re&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismatch(r&quot;(\w+) \1&quot;, &quot;do do&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;group capture&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rx = &#39;(\d{4})-(\d{2})-(\d{2})&#39;&lt;br /&gt;
m = re.search(rx, &#39;2010-06-03&#39;)&lt;br /&gt;
yr, mo, dy = m.groups()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rx = r&quot;(\d{4})-(\d{2})-(\d{2})&quot;&lt;br /&gt;
m = match(rx, &quot;2010-06-03&quot;)&lt;br /&gt;
yr, mn, dy = m.captures&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;日付と時間&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;current date/time&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = now&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = as.POSIXlt(Sys.time())&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import datetime&lt;br /&gt;
&lt;br /&gt;
t = datetime.datetime.now()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = now()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;date/time type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;floating point number representing days since year 0 in the Gregorian calendar&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;POSIXlt&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;datettime&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;DateTime&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;date/time difference type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;floating point number representing days&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;a&lt;/em&gt;&amp;nbsp;difftime&amp;nbsp;&lt;em&gt;object which behaves like a floating point number representing seconds&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;timedelta,&amp;nbsp;&lt;em&gt;which can be converted to float value in seconds via&lt;/em&gt;total_seconds()&amp;nbsp;&lt;em&gt;method&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Base.Dates.Millisecond&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;get date parts&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dv = datevec(t)&lt;br /&gt;
dv(1)&lt;br /&gt;
dv(2)&lt;br /&gt;
dv(3)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% syntax error: datevec(t)(1)&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t$year + 1900&lt;br /&gt;
t$mon + 1&lt;br /&gt;
t$mday&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t.year&lt;br /&gt;
t.month&lt;br /&gt;
t.day&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Dates.year(t)&lt;br /&gt;
Dates.month(t)&lt;br /&gt;
Dates.day(t)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;get time parts&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dv = datevec(t)&lt;br /&gt;
dv(4)&lt;br /&gt;
dv(5)&lt;br /&gt;
dv(6)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t$hour&lt;br /&gt;
t$min&lt;br /&gt;
t$sec&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t.hour&lt;br /&gt;
t.minute&lt;br /&gt;
t.second&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Dates.hour(t)&lt;br /&gt;
Dates.minute(t)&lt;br /&gt;
Dates.second(t)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;build date/time from parts&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = datenum([2011&amp;nbsp;9&amp;nbsp;20&amp;nbsp;23&amp;nbsp;1&amp;nbsp;2])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = as.POSIXlt(Sys.time())&lt;br /&gt;
t$year = 2011 - 1900&lt;br /&gt;
t$mon = 9 - 1&lt;br /&gt;
t$mday = 20&lt;br /&gt;
t$hour = 23&lt;br /&gt;
t$min = 1&lt;br /&gt;
t$sec = 2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import datetime&lt;br /&gt;
&lt;br /&gt;
t = datetime.datetime(2011, 9, 20, 23, 1, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = DateTime(2011, 9, 20, 23, 1, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;convert to string&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;datestr(t)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;print(t)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;str(t)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;$t&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;parse datetime&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;2011-09-20&amp;nbsp;23:01:02&#39;&lt;br /&gt;
fmt = &#39;yyyy-mm-dd HH:MM:SS&#39;&lt;br /&gt;
t = datenum(s, fmt)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = strptime(&#39;2011-09-20&amp;nbsp;23:01:02&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&#39;%Y-%m-%d %H:%M:%S&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import datetime&lt;br /&gt;
&lt;br /&gt;
s = &#39;2011-05-03&amp;nbsp;10:00:00&#39;&lt;br /&gt;
fmt = &#39;%Y-%m-%d %H:%M:%S&#39;&lt;br /&gt;
t = datetime.datetime.strptime(s, fmt)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fmt = &quot;yyyy-mm-dd HH:MM:SS&quot;&lt;br /&gt;
t = DateTime(&quot;2011-05-03&amp;nbsp;10:00:00&quot;, fmt)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# fmt string can be compiled:&lt;/span&gt;&lt;br /&gt;
df = Dates.DateFormat(fmt)&lt;br /&gt;
t2 = DateTime(&quot;2011-05-03&amp;nbsp;10:00:00&quot;, df)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;format datetime&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;datestr(t, &#39;yyyy-mm-dd HH:MM:SS&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;format(t, format=&#39;%Y-%m-%d %H:%M:%S&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t.strftime(&#39;%Y-%m-%d %H:%M:%S&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Dates.format(t, &quot;yyyy-mm-dd HH:MM:SS&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sleep&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pause(0.5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Sys.sleep(0.5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import time&lt;br /&gt;
&lt;br /&gt;
time.sleep(0.5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sleep(0.5)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;タプル&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cell&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;list&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tuple&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Tuple{&lt;span style=&quot;color: grey;&quot;&gt;T[,&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;]&lt;/span&gt;}&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = {1.7, &#39;hello&#39;, [1&amp;nbsp;2&amp;nbsp;3]}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = list(1.7, &quot;hello&quot;, c(1, 2, 3))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = (1.7, &quot;hello&quot;, [1,2,3])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = (1.7, &quot;foo&quot;, [1, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup element&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% indices start at one:&lt;/span&gt;&lt;br /&gt;
tup{1}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
tup[[1]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at zero:&lt;/span&gt;&lt;br /&gt;
tup[0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
tup[1]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update element&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup{1} = 2.7&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup[[1]] = 2.7&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;tuples are immutable&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;tuples are immutable&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;length&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(tup)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(tup)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(tup)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(tup)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;アレー&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;element type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;always numeric&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# &quot;numeric&quot;:&lt;/span&gt;&lt;br /&gt;
class(c(1, 2, 3))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# arrays can also have &quot;boolean&quot; or &quot;string&quot; elements&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# values can have different types:&lt;/span&gt;&lt;br /&gt;
[type(x) for x in a]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Array{Int64, 2}:&lt;/span&gt;&lt;br /&gt;
typeof(a)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Int64:&lt;/span&gt;&lt;br /&gt;
typeof(a[1])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3, 4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% commas are optional:&lt;/span&gt;&lt;br /&gt;
a = [1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# use c() constructor:&lt;/span&gt;&lt;br /&gt;
a = c(1, 2, 3, 4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3, 4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3, 4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;size&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;empty test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a) == 0&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% An array used in a conditional test is&lt;br /&gt;% false unless nonempty and all entries evaluate&lt;br /&gt;% as true.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a) == 0&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;not a&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isempty(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Indices start at one:&lt;/span&gt;&lt;br /&gt;
a(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Indices start at one:&lt;/span&gt;&lt;br /&gt;
a[1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Indices start at zero:&lt;/span&gt;&lt;br /&gt;
a[0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Indices start at one:&lt;/span&gt;&lt;br /&gt;
a[1]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a(1) = -1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a[1] = -1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a[0] = -1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a[1] = -1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;out-of-bounds behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = []&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% error:&lt;/span&gt;&lt;br /&gt;
a(1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% increases array size to 10;&lt;br /&gt;% zero-fills slots 1 through 9:&lt;/span&gt;&lt;br /&gt;
a(10) = 10&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c()&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# evaluates as NA:&lt;/span&gt;&lt;br /&gt;
a[10]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# increases array size to 10:&lt;/span&gt;&lt;br /&gt;
a[10] = &quot;lorem&quot;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = []&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises IndexError:&lt;/span&gt;&lt;br /&gt;
a[10]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises IndexError:&lt;/span&gt;&lt;br /&gt;
a[10] = &#39;lorem&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = []&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises BoundsError:&lt;/span&gt;&lt;br /&gt;
a[10]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises BoundsError:&lt;/span&gt;&lt;br /&gt;
a[10] = &quot;lorem&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;index of element&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [7&amp;nbsp;8&amp;nbsp;9&amp;nbsp;10&amp;nbsp;8]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% returns [2&amp;nbsp;5]:&lt;/span&gt;&lt;br /&gt;
find(a == 8)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% returns 2:&lt;/span&gt;&lt;br /&gt;
find(a == 8, 1, &#39;first&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&#39;x&#39;, &#39;y&#39;, &#39;z&#39;, &#39;w&#39;, &#39;y&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# c(2, 5):&lt;/span&gt;&lt;br /&gt;
which(a == &#39;y&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;x&#39;, &#39;y&#39;, &#39;z&#39;, &#39;w&#39;, &#39;y&#39;]&lt;br /&gt;
&lt;br /&gt;
a.index(&#39;y&#39;)&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# 1&lt;/span&gt;&lt;br /&gt;
a.rindex(&#39;y&#39;)&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# 4&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;x&quot;, &quot;y&quot;, &quot;z&quot;, &quot;w&quot;, &quot;y&quot;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2:&lt;/span&gt;&lt;br /&gt;
findfirst(a, &quot;y&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 5:&lt;/span&gt;&lt;br /&gt;
julia&amp;gt; findlast(a, &quot;y&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;slice&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;by endpoints&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39; &#39;b&#39; &#39;c&#39; &#39;d&#39; &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [&#39;c&#39; &#39;d&#39;]:&lt;/span&gt;&lt;br /&gt;
a(3:4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# c(&quot;c&quot;, &quot;d&quot;):&lt;/span&gt;&lt;br /&gt;
a[seq(3, 4)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;, &#39;d&#39;, &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&#39;c&#39;, &#39;d&#39;]:&lt;/span&gt;&lt;br /&gt;
a[2:4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&quot;c&quot;, &quot;d&quot;]:&lt;/span&gt;&lt;br /&gt;
a[3:4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;slice to end&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39; &#39;b&#39; &#39;c&#39; &#39;d&#39; &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [&#39;c&#39; &#39;d&#39; &#39;e&#39;]:&lt;/span&gt;&lt;br /&gt;
a(3:end)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# both return c(&quot;c&quot;, &quot;d&quot;, &quot;e&quot;):&lt;/span&gt;&lt;br /&gt;
tail(a, n=length(a) - 2)&lt;br /&gt;
a[-1:-2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;, &#39;d&#39;, &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&#39;c&#39;, &#39;d&#39;, &#39;e&#39;]:&lt;/span&gt;&lt;br /&gt;
a[2:]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&quot;c&quot;, &quot;d&quot;, &quot;e&quot;]:&lt;/span&gt;&lt;br /&gt;
a[3:end]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer array as index&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[7&amp;nbsp;8&amp;nbsp;9]([1&amp;nbsp;3&amp;nbsp;3])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;c(7, 8, 9)[c(1, 3, 3)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([7, 8, 9])[[0, 2, 2]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# [7, 9, 9]:&lt;/span&gt;&lt;br /&gt;
[7, 8, 9][[1, 3, 3]]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;logical array as index&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[7&amp;nbsp;8&amp;nbsp;9]([true false true])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;c(7, 8, 9)[c(T, F, T)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([7, 8, 9])[[True, False, True]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# [7, 9]:&lt;/span&gt;&lt;br /&gt;
[7, 8, 9][[true, false, true]]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;concatenate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a2 = [a [4&amp;nbsp;5&amp;nbsp;6]]&lt;br /&gt;
a = [a [4&amp;nbsp;5&amp;nbsp;6]]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% or:&lt;/span&gt;&lt;br /&gt;
a = horzcat(a, a2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 3)&lt;br /&gt;
a2 = append(a, c(4, 5, 6))&lt;br /&gt;
a = append(a, c(4, 5, 6))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = a + [4, 5, 6]&lt;br /&gt;
a.extend([4, 5, 6])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = vcat(a, [4, 5, 6])&lt;br /&gt;
a = vcat(a, [4, 5, 6])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;replicate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = repmat(NA, 1, 10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = rep(NA, 10)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 30 a&#39;s, 50&amp;nbsp;b&#39;s, and 90 c&#39;s:&lt;/span&gt;&lt;br /&gt;
rep(c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;), c(30, 50, 90))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [None] * 10&lt;br /&gt;
a = [None for i in range(0, 10)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fill(NaN, 10)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;copy&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;address copy, shallow copy, deep copy&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;There is no address copy. Because arrays cannot be nested, there is no distinction between shallow copy and deep copy. Assignment and passing an array to a function can be regarded as performing a shallow or deep copy, though MATLAB does not allocate memory for a 2nd array until one of the arrays is modified.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Arrays in R behave like arrays in MATLAB.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import copy&lt;br /&gt;
&lt;br /&gt;
a = [1, 2, [3, 4]]&lt;br /&gt;
&lt;br /&gt;
a2 = a&lt;br /&gt;
a3 = list(a)&lt;br /&gt;
a4 = copy.deepcopy(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = Any[1, 2, [3, 4]]&lt;br /&gt;
&lt;br /&gt;
a2 = a&lt;br /&gt;
a3 = copy(a)&lt;br /&gt;
a4 = deepcopy(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iteration&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [9&amp;nbsp;7&amp;nbsp;3]&lt;br /&gt;
for i = 1:numel(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x = a(i)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(x)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (x in c(9, 7, 3)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(x)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i in [9, 7, 3]:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = [9, 7, 3]&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;indexed iteration&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (i in seq_along(a)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;cat(sprintf(&quot;%s at index %d\n&quot;, i, a[i]))&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;do&#39;, &#39;re&#39;, &#39;mi&#39;, &#39;fa&#39;]&lt;br /&gt;
for i, s in enumerate(a):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;%s at index %d&#39; % (s, i))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;do&quot;, &quot;re&quot;, &quot;mi&quot;, &quot;fa&quot;]&lt;br /&gt;
for (i, s) in enumerate(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i, &quot; &quot;, s)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;reverse&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a2 = fliplr(a)&lt;br /&gt;
a = fliplr(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 3)&lt;br /&gt;
a2 = rev(a)&lt;br /&gt;
a = rev(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = a[::-1]&lt;br /&gt;
a.reverse()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = reverse(a)&lt;br /&gt;
reverse!(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sort&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [3&amp;nbsp;1&amp;nbsp;4&amp;nbsp;2]&lt;br /&gt;
a = sort(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&#39;b&#39;, &#39;A&#39;, &#39;a&#39;, &#39;B&#39;)&lt;br /&gt;
a2 = sort(a)&lt;br /&gt;
a = sort(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;b&#39;, &#39;A&#39;, &#39;a&#39;, &#39;B&#39;]&lt;br /&gt;
sorted(a)&lt;br /&gt;
a.sort()&lt;br /&gt;
a.sort(key=str.lower)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [3, 1, 4, 2]&lt;br /&gt;
a2 = sort(a)&lt;br /&gt;
sort!(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;dedupe&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a2 = unique(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 2, 3)&lt;br /&gt;
a2 = unique(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 2, 3]&lt;br /&gt;
a2 = list(set(a)))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = unique([1, 2, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;membership&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismember(7, a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 %in% a&lt;br /&gt;
is.element(7, a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 in a&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 in a&lt;br /&gt;
7 ∈ a&lt;br /&gt;
a ∋ 7&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;intersection&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intersect([1&amp;nbsp;2], [2&amp;nbsp;3&amp;nbsp;4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intersect(c(1, 2), c(2, 3, 4))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{1, 2} &amp;amp; {2, 3, 4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intersection([1, 2], [2, 3, 4])&lt;br /&gt;
∩([1, 2], [2, 3, 4])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;union&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;union([1&amp;nbsp;2], [2&amp;nbsp;3&amp;nbsp;4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;union(c(1, 2), c(2, 3, 4))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{1, 2} | {2, 3, 4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;union([1, 2], [2, 3, 4])&lt;br /&gt;
∪([1, 2], [2, 3, 4])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;relative complement, symmetric difference&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;setdiff([1&amp;nbsp;2&amp;nbsp;3], [2])&lt;br /&gt;
&lt;br /&gt;
a1 = [1&amp;nbsp;2]&lt;br /&gt;
a2 = [2&amp;nbsp;3&amp;nbsp;4]&lt;br /&gt;
union(setdiff(a1, a2), setdiff(a2, a1))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;setdiff(c(1, 2, 3), c(2))&lt;br /&gt;
&lt;br /&gt;
union(setdiff(c(1, 2), c(2, 3, 4)),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;setdiff(c(2, 3, 4), c(1, 2)))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{1, 2, 3} - {2}&lt;br /&gt;
&lt;br /&gt;
{1, 2} ^ {2, 3, 4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;setdiff([1, 2, 3], [2])&lt;br /&gt;
symdiff([1, 2], [2, 3, 4])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;map&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;arrayfun( @(x) x*x, [1&amp;nbsp;2&amp;nbsp;3])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sapply(c(1,2,3), function (x) { x * x})&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;map(lambda x: x * x, [1, 2, 3])&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or use list comprehension:&lt;/span&gt;&lt;br /&gt;
[x * x for x in [1, 2, 3]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;filter&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a(a &amp;gt; 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 3)&lt;br /&gt;
a[a &amp;gt; 2]&lt;br /&gt;
&lt;br /&gt;
Filter(function(x) { x &amp;gt; 2}, a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;filter(lambda x: x &amp;gt; 1, [1, 2, 3])&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or use list comprehension:&lt;/span&gt;&lt;br /&gt;
[x for x in [1, 2, 3] if x &amp;gt; 1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;reduce&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Reduce(function(x, y) { x + y }, c(1, 2, 3), 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reduce(lambda x, y: x + y, [1 ,2, 3], 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reduce(+, [1, 2, 3])&lt;br /&gt;
foldl(-, 0, [1, 2, 3])&lt;br /&gt;
foldr(-, 0, [1, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;universal and existential tests&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all(mod([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4], 2) == 0)&lt;br /&gt;
any(mod([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4]) == 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all(c(1, 2, 3, 4) %% 2 == 0)&lt;br /&gt;
any(c(1, 2, 3, 4) %% 2 == 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all(i % 2 == 0 for i in [1, 2, 3, 4])&lt;br /&gt;
any(i % 2 == 0 for i in [1, 2, 3, 4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all([x % 2 == 0 for x in [1, 2, 3, 4]])&lt;br /&gt;
any([x % 2 == 0 for x in [1, 2, 3, 4]])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;shuffle and sample&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 1, 2, 3, 9, 28)&lt;br /&gt;
sample(a, 3)&lt;br /&gt;
a[sample.int(length(a))]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;from random import shuffle, sample&lt;br /&gt;
&lt;br /&gt;
a = [1, 2, 3, 4]&lt;br /&gt;
shuffle(a)&lt;br /&gt;
sample(a, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;zip&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none; MATLAB arrays can&#39;t be nested&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# R arrays can&#39;t be nested.&lt;br /&gt;# One approximation of zip is a 2d array:&lt;/span&gt;&lt;br /&gt;
a = rbind(c(1, 2, 3), c(&#39;a&#39;, &#39;b&#39;, &#39;c&#39;))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# To prevent data type coercion, use a data frame:&lt;/span&gt;&lt;br /&gt;
df = data.frame(numbers=c(1, 2, 3),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;letters=c(&#39;a&#39;, &#39;b&#39;, &#39;c&#39;))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# array of 3 pairs:&lt;/span&gt;&lt;br /&gt;
a = zip([1, 2, 3], [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;算術シーケンス&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;unit difference&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1:100&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# type integer:&lt;/span&gt;&lt;br /&gt;
1:100&lt;br /&gt;
seq(1, 100)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# type double:&lt;/span&gt;&lt;br /&gt;
seq(1, 100, 1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;range(1, 101)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1:100&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;difference of 10&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:10:100&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# type double:&lt;/span&gt;&lt;br /&gt;
seq(0, 100, 10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;range(0, 101, 10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:10:100&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;difference of 0.1&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:0.1:10&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;seq(0, 10, 0.1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[0.1 * x for x in range(0, 101)]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 3rd arg is length of sequence, not step size:&lt;/span&gt;&lt;br /&gt;
sp.linspace(0, 10, 100)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:0.1:10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;computed difference&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% 100 evenly spaced values:&lt;/span&gt;&lt;br /&gt;
linspace(3.7, 19.4, 100)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 100 is default num. of elements:&lt;/span&gt;&lt;br /&gt;
linspace(3.7, 19.4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;numpy.linspace(3.7, 19.4, 100)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# range replaces xrange in Python 3:&lt;/span&gt;&lt;br /&gt;
n = 0&lt;br /&gt;
for i in xrange(1, 1000001):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;n += i&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;n = 0&lt;br /&gt;
for i in 1:1000000&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;n += i&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;to array&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = range(1, 11)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Python 3:&lt;/span&gt;&lt;br /&gt;
a = list(range(1, 11))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = Array(1:10)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;二次元配列&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;element type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;always numeric&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(1, 2, 3, 4), dim=c(2, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# &quot;array&quot;:&lt;/span&gt;&lt;br /&gt;
class(A)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# &quot;boolean&quot;, &quot;numeric&quot;, or &quot;string&quot;:&lt;/span&gt;&lt;br /&gt;
class(c(A))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([[1, 2], [3, 4]]).dtype&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# possible values: np.bool, np.int64,&lt;br /&gt;# np.float64, np.complex128,&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
eltype(A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[1, 2; 3, 4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% commas optional; newlines can replace semicolons::&lt;/span&gt;&lt;br /&gt;
[1&amp;nbsp;2&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;3&amp;nbsp;4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# A 1-d array created with commas is a&lt;br /&gt;# n×1 array. If commas are used in a literal,&lt;br /&gt;# then semicolons and spaces as delimiters.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
[1&amp;nbsp;2&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;3&amp;nbsp;4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from sequence&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4], 2, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;array(c(1, 2, 3, 4), dim=c(2, 2))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([1, 2, 3, 4]).reshape(2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# convert to nested Python lists:&lt;/span&gt;&lt;br /&gt;
A.tolist()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape([1, 2, 3, 4], 2, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from rows&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;row1 = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
row2 = [4&amp;nbsp;5&amp;nbsp;6]&lt;br /&gt;
&lt;br /&gt;
A = [row1; row2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rbind(c(1, 2, 3), c(4, 5, 6))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;row1 = np.array([1, 2, 3])&lt;br /&gt;
row2 = np.array([4, 5, 6])&lt;br /&gt;
&lt;br /&gt;
np.vstack((row1, row2))&lt;br /&gt;
&lt;br /&gt;
np.array([[1, 2], [3, 4]])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;vcat([1&amp;nbsp;2&amp;nbsp;3], [4&amp;nbsp;5&amp;nbsp;6])&lt;br /&gt;
&lt;br /&gt;
row1 = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
row2 = [4&amp;nbsp;5&amp;nbsp;6]&lt;br /&gt;
[row1; row2]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from columns&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;col1 = [1; 4]&lt;br /&gt;
col2 = [2; 5]&lt;br /&gt;
col3 = [3; 6]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% commas are optional:&lt;/span&gt;&lt;br /&gt;
A = [col1, col2, col3]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cbind(c(1, 4), c(2, 5), c(3, 6))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cols = (&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;np.array([1, 4]),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;np.array([2, 5]),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;np.array([3, 6])&lt;br /&gt;
)&lt;br /&gt;
np.vstack(cols).transpose()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hcat([1, 4], [2, 5], [3, 6])&lt;br /&gt;
&lt;br /&gt;
col1 = [1, 4]&lt;br /&gt;
col2 = [2, 5]&lt;br /&gt;
col3 = [3, 6]&lt;br /&gt;
[col1 col2 col3]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from subarrays&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;3; 2&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
A4_by_2 = [A; A]&lt;br /&gt;
A2_by_4 = [A A]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = matrix(c(1, 2, 3, 4), nrow=2)&lt;br /&gt;
A4_by_2 = rbind(A, A)&lt;br /&gt;
A2_by_4 = cbind(A, A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
A2_by_4 = np.hstack([A, A])&lt;br /&gt;
A4_by_2 = np.vstack([A, A])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
A4_by_2 = [A; A]&lt;br /&gt;
A2_by_4 = [A A ]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;cast element type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;size&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;number of elements, number of dimensions, dimension lengths&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;numel(A)&lt;br /&gt;
ndims(A)&lt;br /&gt;
size(A)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% length of 1st dimension (i.e. # of rows):&lt;/span&gt;&lt;br /&gt;
size(A, 1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% length of longest dimension:&lt;/span&gt;&lt;br /&gt;
length(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(A)&lt;br /&gt;
length(dim(A))&lt;br /&gt;
dim(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A.size&lt;br /&gt;
A.ndim&lt;br /&gt;
A.shape&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# number of rows:&lt;/span&gt;&lt;br /&gt;
len(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(A)&lt;br /&gt;
ndims(A)&lt;br /&gt;
size(A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% indices start at one:&lt;/span&gt;&lt;br /&gt;
[1&amp;nbsp;2; 3&amp;nbsp;4](1, 1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
A = array(c(1, 2, 3, 4), dim=c(2, 2)&lt;br /&gt;
&lt;br /&gt;
A[1, 1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at zero:&lt;/span&gt;&lt;br /&gt;
A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
A[0][0]&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
A[0, 0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
A[1, 1]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;1d lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% returns 8:&lt;/span&gt;&lt;br /&gt;
A(4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% convert to column vector of length 4:&lt;/span&gt;&lt;br /&gt;
A2 = A(:)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(2, 4, 6, 8), dim=c(2, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 8:&lt;/span&gt;&lt;br /&gt;
A[4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[2, 4], [6, 8]])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns np.array([6, 8]):&lt;/span&gt;&lt;br /&gt;
A[1]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 8:&lt;/span&gt;&lt;br /&gt;
A.flat[3]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 8:&lt;/span&gt;&lt;br /&gt;
A[4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup row or column&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2&amp;nbsp;3; 4&amp;nbsp;5&amp;nbsp;6; 7&amp;nbsp;8&amp;nbsp;9]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 2nd row:&lt;/span&gt;&lt;br /&gt;
A(2, :)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 2nd column:&lt;/span&gt;&lt;br /&gt;
A(:, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = t(array(1:9, dim=c(3, 3)))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd row:&lt;/span&gt;&lt;br /&gt;
A[2, ]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd column:&lt;/span&gt;&lt;br /&gt;
A[, 2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd row:&lt;/span&gt;&lt;br /&gt;
A[1, :]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd column:&lt;/span&gt;&lt;br /&gt;
A[:, 1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2&amp;nbsp;3; 4&amp;nbsp;5&amp;nbsp;6; 7&amp;nbsp;8&amp;nbsp;9]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd row:&lt;/span&gt;&lt;br /&gt;
A[2, :]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd column:&lt;/span&gt;&lt;br /&gt;
A[:, 2]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
A(1, 1) = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(2, 4, 6, 8), dim=c(2, 2))&lt;br /&gt;
A[1, 1] = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[2, 4], [6, 8]])&lt;br /&gt;
A[0, 0] = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
A[1, 1] = 3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update row or column&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [2&amp;nbsp;1; 3&amp;nbsp;4]:&lt;/span&gt;&lt;br /&gt;
A(1, :) = [2&amp;nbsp;1]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;1; 2&amp;nbsp;4]:&lt;/span&gt;&lt;br /&gt;
A(:, 1) = [3&amp;nbsp;2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
A[1, ] = c(2, 1)&lt;br /&gt;
A[, 1] = c(3, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
A[0, :] = [2, 1]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or&lt;/span&gt;&lt;br /&gt;
A[0] = [2, 1]&lt;br /&gt;
&lt;br /&gt;
A[:, 0] = [3, 2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
A[1, :] = [2&amp;nbsp;1]&lt;br /&gt;
A[:, 1] = [3; 2]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update subarray&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = ones(3, 3)&lt;br /&gt;
A(1:2, 1:2) = 2 * ones(2, 2)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% or just:&lt;/span&gt;&lt;br /&gt;
A(1:2, 1:2) = 2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(1, dim=c(3, 3))&lt;br /&gt;
A[1:2, 1:2] = array(2, dim=c(2, 2))&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or just:&lt;/span&gt;&lt;br /&gt;
A[1:2, 1:2] = 2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.ones([3, 3])&lt;br /&gt;
A[0:2, 0:2] = 2 * np.ones([2, 2])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = ones(3, 3)&lt;br /&gt;
A[1:2, 1:2] = 2 * ones(2, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;out-of-bounds behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% error:&lt;/span&gt;&lt;br /&gt;
x = A(3, 1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% becomes 3x2 array with zero at (3, 2):&lt;/span&gt;&lt;br /&gt;
A(3, 1) = 9&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Lookups and updates both cause subscript out of bounds error.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Lookups and updates both raise an&lt;/em&gt;IndexError&amp;nbsp;&lt;em&gt;exception.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;BoundsError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;slice subarray&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:16, 4, 4)&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% top left 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A(1:2, 1:2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% bottom right 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A(end-1:end, end-1:end)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 2x2 array containing corners:&lt;/span&gt;&lt;br /&gt;
A([1&amp;nbsp;4], [1&amp;nbsp;4])&lt;br /&gt;
A([1 end], [1 end])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = t(array(1:16, dim=c(4, 4)))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# top left 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[1:2, 1:2]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# bottom right 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[-1:-2, -1:-2]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2x2 array containing corners:&lt;/span&gt;&lt;br /&gt;
A[c(1, 4), c(1, 4)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array(range(1, 17)).reshape(4, 4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# top left 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[0:2, 0:2]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# bottom right 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[2:, 2:]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:16, 4, 4)&lt;br /&gt;
&lt;br /&gt;
A[1:2, 1:2]&lt;br /&gt;
&lt;br /&gt;
A[3:4, 3:4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;transpose&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
transpose(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(1, 2, 3, 4), dim=c(2, 2))&lt;br /&gt;
t(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
A.transpose()&lt;br /&gt;
A.T&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
transpose(A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;flip&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% [ 2&amp;nbsp;1; 4&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
fliplr([1&amp;nbsp;2; 3&amp;nbsp;4])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;4; 1&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
flipud([1&amp;nbsp;2; 3&amp;nbsp;4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# install.packages(&#39;pracma&#39;):&lt;/span&gt;&lt;br /&gt;
require(pracma)&lt;br /&gt;
&lt;br /&gt;
A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
fliplr(A)&lt;br /&gt;
flipud(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.fliplr(A)&lt;br /&gt;
np.flipud(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# [2&amp;nbsp;1; 4&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
flipdim([1&amp;nbsp;2; 3&amp;nbsp;4], 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [3&amp;nbsp;4; 1&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
flipdim([1&amp;nbsp;2; 3&amp;nbsp;4], 1)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;circular shift&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;along columns, along rows&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3, 4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;4; 1&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
circshift(A, 1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [2&amp;nbsp;1; 4&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
circshift(A, 1, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% The 2nd argument can be any integer; negative values shift&lt;br /&gt;% in the opposite direction.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# install.packages(&#39;pracma&#39;):&lt;/span&gt;&lt;br /&gt;
require(pracma)&lt;br /&gt;
&lt;br /&gt;
A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
circshift(A, c(1, 0))&lt;br /&gt;
circshift(A, c(0, 1))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.roll(A, 1, axis=0)&lt;br /&gt;
np.roll(A, 1, axis=1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;circshift([1&amp;nbsp;2; 3&amp;nbsp;4], [1, 0])&lt;br /&gt;
circshift([1&amp;nbsp;2; 3&amp;nbsp;4], [0, 1])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;rotate&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;clockwise, counter-clockwise&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;1; 4&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
rot90(A, -1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [2&amp;nbsp;4; 1&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
rot90(A)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% set 2nd arg to 2 for 180 degree rotation&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# install.packages(&#39;pracma&#39;):&lt;/span&gt;&lt;br /&gt;
require(pracma)&lt;br /&gt;
&lt;br /&gt;
A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
rot90(A)&lt;br /&gt;
rot90(A, -1)&lt;br /&gt;
rot90(A, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.rot90(A)&lt;br /&gt;
np.rot90(A, -1)&lt;br /&gt;
np.rot90(A, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
rotr90(A)&lt;br /&gt;
rotl90(A)&lt;br /&gt;
rotr90(A, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;reduce&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;rows, columns&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;M = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sum each row:&lt;/span&gt;&lt;br /&gt;
cellfun(@sum, num2cell(M, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sum each column:&lt;/span&gt;&lt;br /&gt;
cellfun(@sum, num2cell(M, 1))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sum(M, 2) and sum(M, 1) also sum rows and columns&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;M = matrix(c(1, 2, 3, 4), nrow=2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# sum each row:&lt;/span&gt;&lt;br /&gt;
apply(M, 1, sum)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# sum each column:&lt;/span&gt;&lt;br /&gt;
apply(M, 2, sum)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;M = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.add.reduce(A, 1)&lt;br /&gt;
&lt;br /&gt;
np.add.reduce(A, 0)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# np.add is a built-in universal function. All universal functions have a reduce method.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# np.sum(A, 1,) and np.sum(A, 0) also sum rows and columns&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;[3; 7]:&lt;/span&gt;&lt;br /&gt;
reducedim(+, A, [2], 0)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;[4&amp;nbsp;6]:&lt;/span&gt;&lt;br /&gt;
reducedim(+, A, [1], 0)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;三次元配列&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from sequence&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;array(seq(1, 8), dim=c(2, 2, 2))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array(range(1, 9)).reshape(2, 2, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape(1:8, 2, 2, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from nested sequences&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([[[1, 2], [3, 4]], [[5, 6], [7, 8]]])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct 3d array from 2d arrays&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1, 2; 3, 4]&lt;br /&gt;
A(:,:,2) = [5, 6; 7, 8]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = Array{Float64}(2, 2, 2)&lt;br /&gt;
A[:, :, 1] = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
A[:, :, 2] = [5&amp;nbsp;6; 7&amp;nbsp;8]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;permute axes&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
permute(A, [1&amp;nbsp;3&amp;nbsp;2])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(1:8, dim=c(2, 2, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
aperm(A, perm=c(1, 3, 2))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array(range(1, 9)).reshape(2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
A.transpose((0, 2, 1))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:8, 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
reshape(A, [1, 3, 2])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;flip&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
flipdim(A, 3)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:8, 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
flipdim(A, 3)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;circular shift&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 3rd arg specifies axis:&lt;/span&gt;&lt;br /&gt;
circshift(A, 1, 3)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array(range(1, 9)).reshape(2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
np.roll(A, 1, axis=2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:8, 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
circshift(A, [0, 0, 1])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;辞書&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% no literal; use constructor:&lt;/span&gt;&lt;br /&gt;
d = struct(&#39;n&#39;, 10, &#39;avg&#39;, 3.7, &#39;sd&#39;, 0.4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% or build from two cell arrays:&lt;/span&gt;&lt;br /&gt;
d = cell2struct({10&amp;nbsp;3.7&amp;nbsp;0.4}, {&#39;n&#39; &#39;avg&#39; &#39;sd&#39;}, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# keys are &#39;n&#39;, &#39;avg&#39;, and &#39;sd&#39;:&lt;/span&gt;&lt;br /&gt;
d = list(n=10, avg=3.7, sd=0.4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# keys are 1, 2, and 3:&lt;/span&gt;&lt;br /&gt;
d2 = list(&#39;do&#39;, &#39;re&#39;, &#39;mi&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d = {&#39;n&#39;: 10, &#39;avg&#39;: 3.7, &#39;sd&#39;: 0.4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d = Dict(&quot;n&quot;=&amp;gt;10.0, &quot;avg&quot;=&amp;gt;3.7, &quot;sd&quot;=&amp;gt;0.4)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;size&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(fieldnames(d))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(d)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(d)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(d)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d.n&lt;br /&gt;
getfield(d, &#39;n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d[[&#39;n&#39;]]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# if &#39;n&#39; is a key:&lt;/span&gt;&lt;br /&gt;
d$n&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d[&#39;n&#39;]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d.var = d.sd&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**2&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d$var = d$sd&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d[&#39;var&#39;] = d[&#39;sd&#39;]&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;missing key behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;NULL&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;KeyError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;is key present&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isfield(d, &#39;var&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;is.null(d$var)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;var&#39; in d&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;haskey(d, &quot;var&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;delete&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d = rmfield(d, &#39;sd&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d$sd = NULL&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;del(d[&#39;sd&#39;])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = 1:numel(fieldnames(d))&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;k = fieldnames(d){i}&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;v = d.(k)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;code&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (k in names(d)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;v = d[[k]]&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;code&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for k, v in d.iteritems():&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;code&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;keys and values as arrays&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% these return cell arrays:&lt;/span&gt;&lt;br /&gt;
fieldnames(d)&lt;br /&gt;
struct2cell(d)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;names(d)&lt;br /&gt;
unlist(d, use.names=F)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d.keys()&lt;br /&gt;
d.values()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;merge&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d1 = list(a=1, b=2)&lt;br /&gt;
d2 = list(b=3, c=4)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# values of first dictionary take precedence:&lt;/span&gt;&lt;br /&gt;
d3 = c(d1, d2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d1 = {&#39;a&#39;:1, &#39;b&#39;:2}&lt;br /&gt;
d2 = {&#39;b&#39;:3, &#39;c&#39;:4}&lt;br /&gt;
d1.update(d2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;機能&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;define function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function add(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x + y&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add = function(x, y) {x + y}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function add(x,y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x + y&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# optional syntax when body is an expression:&lt;/span&gt;&lt;br /&gt;
add(x, y) = x + y&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;invoke function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(3, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(3, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(3, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;nested function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function ret1 = add3(x, y, z)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;function ret2 = add2(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ret2 = x + y;&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ret1 = add2(x, y) + z;&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add3 = function(x, y, z) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;add2 = function(x, y) { x + y }&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;add2(x, y) + z&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function add3(x, y, z)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;function add2(x2, y2)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x2 + y2&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;add2(x, y) + z&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;missing argument behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises error if code with the parameter that is missing an argument is executed&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;MethodError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;extra argument behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ignored&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;MethodError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;default argument&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function mylog(x, base=10)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;log(x) / log(base)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;mylog = function(x,base=10) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;log(x) / log(base)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;variadic function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function s = add(varargin)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if nargin == 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;else&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;r = add(varargin{2:nargin})&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = varargin{1} + r&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add = function (&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;a = list(&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if (length(a) == 0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;return(0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;for(i in 1:length(a)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = s + a[[i]]&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;return(s)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;return value&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function ret = add(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ret = x + y;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% If a return variable is declared, the value assigned&lt;br /&gt;% to it is returned. Otherwise the value of the last&lt;br /&gt;% statement will be used if it does not end with a&lt;br /&gt;% semicolon.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;return&amp;nbsp;&lt;em&gt;argument or last expression evaluated.&lt;/em&gt;&amp;nbsp;NULL&amp;nbsp;&lt;em&gt;if&lt;/em&gt;&amp;nbsp;return&amp;nbsp;&lt;em&gt;called without an argument.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;return&amp;nbsp;&lt;em&gt;argument or last expression evaluated.&lt;/em&gt;&amp;nbsp;Void&amp;nbsp;&lt;em&gt;if&lt;/em&gt;&amp;nbsp;return&amp;nbsp;&lt;em&gt;called without an argument.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;multiple return values&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function [x, y] = first_two(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x = a(1);&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;y = a(2);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sets first to 7; second to 8:&lt;/span&gt;&lt;br /&gt;
[first, second] = first_two([7&amp;nbsp;8&amp;nbsp;9])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function first_two(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;a[1], a[2]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
x, y = first_two([1, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;anonymous function literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% body must be an expression:&lt;/span&gt;&lt;br /&gt;
@(x, y) x + y&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function(x, y) {x + y}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add = (x, y) -&amp;gt; x + y&lt;br /&gt;
&lt;br /&gt;
add = function(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x + y&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;invoke anonymous function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(1, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;closure&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;make_counter = function() {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i = 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;function() {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;- i + 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;function as value&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;@add&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;overload operator&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;call operator like function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;`+`&lt;/span&gt;(3, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+(3, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;実行制御&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (x &amp;gt; 0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(&#39;positive&#39;)&lt;br /&gt;
elseif (x &amp;lt; 0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(&#39;negative&#39;)&lt;br /&gt;
else&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(&#39;zero&#39;)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (x &amp;gt; 0) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;positive&#39;)&lt;br /&gt;
} else if (x &amp;lt; 0) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;negative&#39;)&lt;br /&gt;
} else {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;zero&#39;)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if x &amp;gt; 0:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;positive&#39;)&lt;br /&gt;
elif x &amp;lt; 0:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;negative&#39;)&lt;br /&gt;
else:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;zero&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if x &amp;gt; 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(&quot;positive&quot;)&lt;br /&gt;
elseif x &amp;lt; 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(&quot;negative&quot;)&lt;br /&gt;
else&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(&quot;zero&quot;)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;while&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 0&lt;br /&gt;
while (i &amp;lt; 10)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i = i + 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(i)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;while (i &amp;lt; 10) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i = i + 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;while i &amp;lt; 10:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i += 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 0&lt;br /&gt;
while i &amp;lt; 10&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i += 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = 1:10&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(i)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (i in 1:10) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i in range(1,11):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = 1:10&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;break/continue&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break continue&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break next&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break continue&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break continue&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;raise exception&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;error(&#39;%s&#39;, &#39;failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;stop(&#39;failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;raise Exception(&#39;failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;throw(&quot;failed&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;handle exception&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;try&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed&#39;)&lt;br /&gt;
catch err&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(err)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tryCatch(&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;stop(&#39;failed&#39;),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error=function(e) print(message(e)))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;try:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;raise Exception(&#39;failed&#39;)&lt;br /&gt;
except Exception as e:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(e)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;ファイル操作&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;standard file handles&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0&amp;nbsp;1&amp;nbsp;2&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% Octave has predefined variables&lt;br /&gt;% containing the above descriptors:&lt;/span&gt;&lt;br /&gt;
stdin stdout stderr&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;stdin() stdout() stderr()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.stdin sys.stdout sys.stderr&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;STDIN STDOUT STDERR&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;read line from stdin&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = input(&#39;&#39;, &#39;s&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readLines(n=1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = sys.stdin.readline()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readline()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write line to stdout&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fprintf(1, &#39;hello\n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cat(&quot;hello\n&quot;)&lt;br /&gt;
&lt;br /&gt;
writeLines(&quot;hello&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;print(&#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;println(&quot;hello&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write formatted string to stdout&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fprintf(1, &#39;%.2f\n&#39;, pi)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cat(sprintf(&quot;%.2f\n&quot;, pi))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import math&lt;br /&gt;
&lt;br /&gt;
print(&#39;%.2f&#39; % math.pi)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;open file for reading&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = fopen(&#39;/etc/hosts&#39;)&lt;br /&gt;
if (f == -1)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed to open file&#39;)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = file(&quot;/etc/hosts&quot;, &quot;r&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&#39;/etc/hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&quot;/etc/hosts&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;open file for writing&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if ((f = fopen(&#39;/tmp/test&#39;, &#39;w&#39;) == -1)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed to open file&#39;)&lt;br /&gt;
endif&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = file(&quot;/tmp/test&quot;, &quot;w&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&#39;/tmp/test&#39;, &#39;w&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&quot;/etc/hosts&quot;, &quot;w&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;open file for appending&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if ((f = fopen(&#39;/tmp/err.log&#39;, &#39;a&#39;) == -1)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed to open file&#39;)&lt;br /&gt;
endif&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = file(&quot;/tmp/err.log&quot;, &quot;a&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&#39;/tmp/err.log&#39;, &#39;a&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&quot;/tmp/err.log&quot;, &quot;a&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;close file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fclose(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;close(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.close()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;close(f)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;i/o errors&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;fopen&amp;nbsp;&lt;em&gt;returns -1;&lt;/em&gt;&amp;nbsp;fclose&amp;nbsp;&lt;em&gt;throws an error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raise&lt;/em&gt;&amp;nbsp;IOError&amp;nbsp;&lt;em&gt;exception&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;read line&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = fgets(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readLines(f, n=1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = f.readline()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readline(f)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate over file by line&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;while(!feof(f))&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;line = fgets(f)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;puts(line)&lt;br /&gt;
endwhile&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for line in f:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(line)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;read file into array of strings&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lines = readLines(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lines = f.readlines()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lines = readlines(f)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write string&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fputs(f, &#39;lorem ipsum&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cat(&quot;lorem ipsum&quot;, file=f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.write(&#39;lorem ipsum&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;write(f, &quot;lorem ipsum&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write line&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fputs(f, &#39;lorem ipsum\n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;writeLines(&quot;lorem ipsum&quot;, con=f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.write(&#39;lorem ipsum\n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;flush file handle&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fflush(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;flush(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.flush()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;file handle position&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;get, set&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ftell(f)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 3rd arg can be SEEK_CUR or SEEK_END&lt;/span&gt;&lt;br /&gt;
fseek(f, 0, SEEK_SET)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;seek(f)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# sets seek point to 12 bytes after start;&lt;br /&gt;# origin can also be &quot;current&quot; or &quot;end&quot;&lt;/span&gt;&lt;br /&gt;
seek(f, where=0, origin=&quot;start&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.tell()&lt;br /&gt;
&lt;br /&gt;
f.seek(0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;redirect stdout to file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sink(&quot;foo.txt&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;write variables to file&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
B = [4&amp;nbsp;3; 2&amp;nbsp;1]&lt;br /&gt;
&lt;br /&gt;
save(&#39;data.mdata&#39;, &#39;A&#39;, &#39;B&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = matrix(c(1, 3, 2, 4), nrow=2)&lt;br /&gt;
B = matrix(c(4, 2, 3, 1), nrow=2)&lt;br /&gt;
&lt;br /&gt;
save(A, B, file=&#39;data.rdata&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.matrix([[1, 2], [3, 4]])&lt;br /&gt;
B = np.matrix([[4, 3], [2, 1]])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Data must be of type np.array;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# file will have .npz suffix:&lt;/span&gt;&lt;br /&gt;
np.savez(&#39;data&#39;, A=A, B=B)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;read variables from file&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% puts A and B in scope:&lt;/span&gt;&lt;br /&gt;
load(&#39;data.mdata&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% puts just A in scope:&lt;/span&gt;&lt;br /&gt;
load(&#39;data.mdata&#39;, &#39;A&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# puts A and B in scope:&lt;/span&gt;&lt;br /&gt;
load(&#39;data.rdata&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;data = np.load(&#39;data.npz&#39;)&lt;br /&gt;
A = data[&#39;A&#39;]&lt;br /&gt;
B = data[&#39;B&#39;]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;write all variables in scope to file&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;save(&#39;data.txt&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;save.image(&#39;data.txt&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;ディレクトリ&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;working directory&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;get, set&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pwd&lt;br /&gt;
&lt;br /&gt;
cd(&#39;/tmp&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;getwd()&lt;br /&gt;
&lt;br /&gt;
setwd(&quot;/tmp&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.abspath(&#39;.&#39;)&lt;br /&gt;
&lt;br /&gt;
os.chdir(&#39;/tmp&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;build pathname&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fullfile(&#39;/etc&#39;, &#39;hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;file.path(&quot;/etc&quot;, &quot;hosts&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.join(&#39;/etc&#39;, &#39;hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;dirname and basename&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[dir, base] = fileparts(&#39;/etc/hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dirname(&quot;/etc/hosts&quot;)&lt;br /&gt;
basename(&quot;/etc/hosts&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.dirname(&#39;/etc/hosts&#39;)&lt;br /&gt;
os.path.basename(&#39;/etc/hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;absolute pathname&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;normalizePath(&quot;..&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.abspath(&#39;..&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate over directory by file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% lists /etc:&lt;/span&gt;&lt;br /&gt;
ls(&#39;/etc&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% lists working directory:&lt;/span&gt;&lt;br /&gt;
ls()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# list.files() defaults to working directory&lt;/span&gt;&lt;br /&gt;
for (path in list.files(&#39;/etc&#39;)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(path)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for filename in os.listdir(&#39;/etc&#39;):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(filename)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;glob paths&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;glob(&#39;/etc/*&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Sys.glob(&#39;/etc/*&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import glob&lt;br /&gt;
&lt;br /&gt;
glob.glob(&#39;/etc/*&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;プロセスと環境&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;command line arguments&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% does not include interpreter name:&lt;/span&gt;&lt;br /&gt;
argv()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# first arg is name of interpreter:&lt;/span&gt;&lt;br /&gt;
commandArgs()&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# arguments after&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;args only:&lt;/span&gt;&lt;br /&gt;
commandArgs(TRUE)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.argv&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ARGS&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;environment variable&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;get, set&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;getenv(&#39;HOME&#39;)&lt;br /&gt;
&lt;br /&gt;
setenv(&#39;PATH&#39;, &#39;/bin&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Sys.getenv(&quot;HOME&quot;)&lt;br /&gt;
&lt;br /&gt;
Sys.setenv(PATH=&quot;/bin&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.getenv(&#39;HOME&#39;)&lt;br /&gt;
&lt;br /&gt;
os.environ[&#39;PATH&#39;] = &#39;/bin&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ENV[&quot;HOME&quot;]&lt;br /&gt;
&lt;br /&gt;
ENV[&quot;PATH&quot;] = &quot;/bin&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exit(0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;quit(save=&quot;no&quot;, status=0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.exit(0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exit(0)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;external command&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (shell_cmd(&#39;ls -l /tmp&#39;))&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;ls failed&#39;)&lt;br /&gt;
endif&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (system(&quot;ls -l /tmp&quot;)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;stop(&quot;ls failed&quot;)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if os.system(&#39;ls -l /tmp&#39;):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;raise Exception(&#39;ls failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;command substitution&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = readall(‘ls`)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;ライブラリと名前空間&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;load library&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;When a function is invoked, MATLAB searches the library path for a file with the same name and a&lt;/em&gt;&amp;nbsp;.m&amp;nbsp;&lt;em&gt;suffix. Other functions defined in the file are not visible outside the file.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# quoting the name of the package is optional:&lt;/span&gt;&lt;br /&gt;
require(&quot;foo&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or:&lt;/span&gt;&lt;br /&gt;
library(&quot;foo&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# if the package does not exist, require returns false, and library raises an error.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import foo&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;include(&quot;foo.jl&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;list loaded libraries&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;search()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dir()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;library search path&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;path()&lt;br /&gt;
addath(’~/foo&#39;)&lt;br /&gt;
rmpath(&#39;~/foo&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;.libPaths()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.path&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;source file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;run(&#39;foo.m&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;source(&quot;foo.r&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;install package&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave: how to install package&lt;br /&gt;% downloaded from Octave-Forge:&lt;/span&gt;&lt;br /&gt;
pkg install foo-1.0.0.tar.gz&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;install.packages(&quot;ggplot2&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ pip install scipy&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;load package library&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave:&lt;/span&gt;&lt;br /&gt;
pkg load foo&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;require(&quot;foo&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or:&lt;/span&gt;&lt;br /&gt;
library(&quot;foo&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import foo&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;list installed packages&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave:&lt;/span&gt;&lt;br /&gt;
pkg list&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;library()&lt;br /&gt;
installed.packages()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ pip freeze&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;リフレクション&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;data type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;class(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;class(x)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# often more informative:&lt;/span&gt;&lt;br /&gt;
str(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;type(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;typeof(x)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;attributes&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% if x holds an object:&lt;/span&gt;&lt;br /&gt;
x&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;attributes(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[m for m in dir(x)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if not callable(getattr(o,m))]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fieldnames(x)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;methods&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% if x holds an object:&lt;/span&gt;&lt;br /&gt;
methods(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none; objects are implemented by functions which dispatch based on type of first arg&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[m for m in dir(x)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if callable(getattr(o,m))]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;methods(x)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;variables in scope&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;who()&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% with size and type:&lt;/span&gt;&lt;br /&gt;
whos()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;objects()&lt;br /&gt;
ls()&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# with type and description:&lt;/span&gt;&lt;br /&gt;
ls.str()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dir()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;whos()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;undefine variable&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;clear(&#39;x&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rm(v)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;del(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;undefine all variables&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;clear -a&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rm(list=objects())&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;eval&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(&#39;1 + 1&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(parse(text=&#39;1 + 1&#39;))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(&#39;1 + 1&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(parse(&quot;1 + 1&quot;))&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;function documentation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;help tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;help(tan)&lt;br /&gt;
?tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.tan.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__doc__&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;?tan&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;list library functions&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ls(&quot;package:moments&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dir(stats)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;whos(Base)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;search documentation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;docsearch tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;??tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ pydoc -k tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;apropos(&quot;tan&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; font-size: 13.12px; width: 700px;&quot;&gt;
http://hyperpolyglot.org/numerical-analysis#processes-environment&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/5792356419839595782/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/blog-post_65.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5792356419839595782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5792356419839595782'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/blog-post_65.html' title='類似しているプログラミング言語の文法などの比較まとめチートシート'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-4242941582442294205</id><published>2016-09-20T22:23:00.002+09:00</published><updated>2016-09-20T22:32:46.939+09:00</updated><title type='text'>類似しているプログラミング言語の文法などの比較まとめチートシート</title><content type='html'>r, python, matlab, juliaの比較&lt;br /&gt;
&lt;br /&gt;
&lt;table class=&quot;wiki-content-table&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(136, 136, 136); color: black; empty-cells: show; font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; font-size: 13.12px; margin: 0.5em auto 0.5em 0px;&quot;&gt;&lt;tbody style=&quot;font-family: consolas, inconsolata, &amp;quot;andale mono&amp;quot;, monospace;&quot;&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;version used&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;MATLAB 8.3&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Octave 3.8&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;3.1&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Python 2.7&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;NumPy 1.7&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;SciPy 0.13&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Pandas 0.12&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Matplotlib 1.3&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;0.4&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;show version&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ matlab -nojvm -nodisplay -r &#39;exit&#39;&lt;br /&gt;
&lt;br /&gt;
$ octave&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--version&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ R&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--version&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.version&lt;br /&gt;
np.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__version__&lt;/span&gt;&lt;br /&gt;
sp.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__version__&lt;/span&gt;&lt;br /&gt;
mpl.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__version__&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ julia&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;version&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;implicit prologue&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;install.packages(&#39;ggplot2&#39;)&lt;br /&gt;
library(&#39;ggplot2&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import sys, os, re, math&lt;br /&gt;
import numpy as np&lt;br /&gt;
import scipy as sp&lt;br /&gt;
import scipy.stats as stats&lt;br /&gt;
import pandas as pd&lt;br /&gt;
import matplotlib as mpl&lt;br /&gt;
import matplotlib.pyplot as plt&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;文法と呼び出し&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;interpreter&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.m&lt;br /&gt;
1 + 1&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
$ matlab -nojvm -nodisplay -r &quot;run(&#39;foo.m&#39;)&quot;&lt;br /&gt;
&lt;br /&gt;
$ octave foo.m&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.r&lt;br /&gt;
1 + 1&lt;br /&gt;
&lt;br /&gt;
$ Rscript foo.r&lt;br /&gt;
&lt;br /&gt;
$ R -f foo.r&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.py&lt;br /&gt;
print(1 + 1)&lt;br /&gt;
&lt;br /&gt;
$ python foo.py&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ cat&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;foo.jl&lt;br /&gt;
println(1 + 1)&lt;br /&gt;
&lt;br /&gt;
$ julia foo.jl&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;repl&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ matlab -nojvm -nodisplay&lt;br /&gt;
&lt;br /&gt;
$ octave&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ R&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ python&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ julia&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;command line program&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ matlab -nojvm -nodisplay -r &#39;disp(1 + 1); exit&#39;&lt;br /&gt;
&lt;br /&gt;
$ octave&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;silent&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;eval &#39;1 + 1&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ Rscript -e &#39;print(&quot;hi&quot;)&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;python -c &#39;print(&quot;hi&quot;)&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ julia -e &#39;println(&quot;hi&quot;)&#39;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;block delimiters&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function end&lt;br /&gt;
if elseif else end&lt;br /&gt;
while end&lt;br /&gt;
for end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{ }&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;offside rule&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;statement separator&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or newline&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Newlines not separators after three dots:&lt;/em&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Output is suppressed when lines end with a semicolon.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;;&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or sometimes newline&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Newlines not separators inside (), [], {}, &#39;&#39;, &quot;&quot;, or after binary operator.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;newline or ;&lt;br /&gt;&lt;br /&gt;Newlines not separators inside (), [], {}, triple quote literals, or after backslash: \&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;end-of-line comment&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;% addition&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;# addition&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;# addition&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 1&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;# addition&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;変数と式&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;assignment&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;br /&gt;
i &amp;lt;- 3&lt;br /&gt;
3 -&amp;gt; i&lt;br /&gt;
assign(&quot;i&quot;, 3)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;parallel assignment&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;swap&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;compound assignment&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;arithmetic, string, logical&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# do not return values:&lt;/span&gt;&lt;br /&gt;
+= -= *= /=&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;= %=&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;=&lt;br /&gt;
+= *=&lt;br /&gt;
&amp;amp;= |= ^=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;null&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Only used in place of numeric values:&lt;/span&gt;&lt;br /&gt;
NaN&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;NA NULL&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;None np.nan&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# None cannot be stored in a numpy array;&lt;br /&gt;# np.nan can if dtype is float64.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Only used in place of float values:&lt;/span&gt;&lt;br /&gt;
NaN&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;null test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isnan(v)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% true for &#39;&#39;, []:&lt;/span&gt;&lt;br /&gt;
isempty(v)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;is.na(v)&lt;br /&gt;
is.null(v)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;v == None&lt;br /&gt;
v is None&lt;br /&gt;
&lt;br /&gt;
np.isnan(np.nan)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# np.nan == np.nan is False&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isnan(v)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;conditional expression&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;(if (x &amp;gt; 0) x else -x)&lt;br /&gt;
ifelse(x &amp;gt; 0, x, -x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;x if x &amp;gt; 0 else -x&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;x &amp;gt; 0 ? x : -x&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;算術ロジック&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;boolean type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Python:&lt;/span&gt;&lt;br /&gt;
bool&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# NumPy:&lt;/span&gt;&lt;br /&gt;
bool_&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Bool&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;true and false&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1&amp;nbsp;0 true false&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;TRUE FALSE T F&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;True False&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;true false&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;falsehoods&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;false 0&amp;nbsp;0.0&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;matrices evaluate to false unless nonempty and all entries evaluate to true&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;FALSE F 0&amp;nbsp;0.0&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;matrices evaluate to value of first entry; string in boolean context causes error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;False None 0&amp;nbsp;0.0 &#39;&#39; [] {}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;false&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;logical operators&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;~true | (true &amp;amp; false)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% short-circuit operators:&lt;/span&gt;&lt;br /&gt;
&amp;amp;&amp;amp;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;!TRUE | (TRUE &amp;amp; FALSE)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;short-circuit operators:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&amp;amp;&amp;amp;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&amp;amp;&amp;nbsp;&lt;em&gt;and&lt;/em&gt;&amp;nbsp;|&amp;nbsp;&lt;em&gt;can operate on and return vectors, but&lt;/em&gt;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&amp;nbsp;&lt;em&gt;and&lt;/em&gt;&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&amp;nbsp;&lt;em&gt;return scalars&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;and or not&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;amp;&amp;amp; || !&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;relational operators&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== ~= &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== != &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== != &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;== != &amp;gt; &amp;lt; &amp;gt;= &amp;lt;=&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Python:&lt;/span&gt;&lt;br /&gt;
int&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# NumPy:&lt;/span&gt;&lt;br /&gt;
int8 int16 int32 int64&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Int8 Int16 Int32 Int64 Int128&lt;br /&gt;
&lt;br /&gt;
Int&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;is either 32 or 64 bits, depending on&lt;/em&gt;&lt;/span&gt;WORD_SIZE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;unsigned type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;uint8 uint16 uint32 uint64&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;UInt8 UInt16 UInt32 UInt64 UInt128&lt;br /&gt;
&lt;br /&gt;
UInt&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;is either 32 or 64 bits, depending on&lt;/em&gt;&lt;/span&gt;&amp;nbsp;WORD_SIZE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Python:&lt;/span&gt;&lt;br /&gt;
float&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# NumPy:&lt;/span&gt;&lt;br /&gt;
float16 float32 float64&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Float16 Float32 Float64&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;arithmetic operators&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;add, sub, mult, div, quot, rem&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * /&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&amp;nbsp;mod(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * / %/% %%&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * / // %&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+ - * / div(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;) rem(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# always non-negative:&lt;/span&gt;&lt;br /&gt;
mod(&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;n&lt;/em&gt;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;divisor&lt;/em&gt;&lt;/span&gt;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer division&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fix(13 / 5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13&amp;nbsp;%/% 5&lt;br /&gt;
as.integer(13 / 5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 // 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;div(13, 5)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer division by zero&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Inf NaN&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or&lt;/em&gt;&lt;/span&gt;&amp;nbsp;-Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;result of converting Inf or NaN to an integer with as.integer:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
NA&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;ZeroDivisionError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;DivideError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float division&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 / 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 / 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;float(13) / 5&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;13 / 5&lt;br /&gt;
5 \ 13&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float division by zero&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;dividend is positive, zero, negative&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;these values are literals:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Inf&lt;br /&gt;
NaN&lt;br /&gt;
-Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;these values are literals:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Inf&lt;br /&gt;
NaN&lt;br /&gt;
-Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;ZeroDivisionError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;these values are literals:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
Inf&lt;br /&gt;
NaN&lt;br /&gt;
-Inf&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;power&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2 ^ 16&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2 ^ 16&lt;br /&gt;
2 ** 16&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;&amp;nbsp;16&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;2 ^ 16&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sqrt&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sqrt(2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sqrt(2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.sqrt(2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sqrt(2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sqrt -1&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% returns 0 + 1i:&lt;/span&gt;&lt;br /&gt;
sqrt(-1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# returns NaN:&lt;/span&gt;&lt;br /&gt;
sqrt(-1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 0+1i:&lt;/span&gt;&lt;br /&gt;
sqrt(-1+0i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# raises ValueError:&lt;/span&gt;&lt;br /&gt;
math.sqrt(-1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 1.41421j:&lt;/span&gt;&lt;br /&gt;
import cmath&lt;br /&gt;
cmath.sqrt(-1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# raises DomainError:&lt;/span&gt;&lt;br /&gt;
sqrt(-1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 0.0 + 1.0im:&lt;/span&gt;&lt;br /&gt;
sqrt(-1 + 0im)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;transcendental functions&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exp log sin cos tan asin acos atan atan2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exp log sin cos tan asin acos atan atan2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.exp math.log math.sin math.cos math.tan math.asin math.acos math.atan math.atan2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exp log sin cos tan asin acos atan atan2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;transcendental constants&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pi e&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pi exp(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.pi math.e&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pi e&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float truncation&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;round towards zero, to nearest integer, down, up&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fix(x)&lt;br /&gt;
round(x)&lt;br /&gt;
floor(x)&lt;br /&gt;
ceil(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;as.integer(x)&lt;br /&gt;
round(x)&lt;br /&gt;
floor(x)&lt;br /&gt;
ceiling(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;int(x)&lt;br /&gt;
int(round(x))&lt;br /&gt;
math.floor(x)&lt;br /&gt;
math.ceil(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Int(trunc(x))&lt;br /&gt;
Int(round(x))&lt;br /&gt;
Int(floor(x))&lt;br /&gt;
Int(ceil(x))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# trunc() and other functions return floats.&lt;br /&gt;# Int() raises InexactError if float argument has&lt;br /&gt;# nonzero fractional portion.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;absolute value&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;and signum&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs sign&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs sign&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs(-3.7)&lt;br /&gt;
math.copysign(1, -3.7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;abs(-3.7)&lt;br /&gt;
sign(-3.7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer overflow&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;becomes float; largest representable integer in the variable&lt;/em&gt;&amp;nbsp;intmax&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;becomes float; largest representable integer in the variable&lt;/em&gt;.Machine$integer.max&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;becomes arbitrary length integer of type&lt;/em&gt;long&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float overflow&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Inf&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;OverflowError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;float limits&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eps&lt;br /&gt;
realmax&lt;br /&gt;
realmin&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;.Machine$double.eps&lt;br /&gt;
.Machine$double.xmax&lt;br /&gt;
.Machine$double.xmin&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.finfo(np.float64).eps&lt;br /&gt;
np.finfo(np.float64).max&lt;br /&gt;
np.finfo(np.float64).min&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;rational construction&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;22&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;&amp;nbsp;7&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;rational decomposition&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;num(22&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;&amp;nbsp;7)&lt;br /&gt;
den(22&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;//&lt;/span&gt;&amp;nbsp;7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;complex types&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;complex64 complex128&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Complex32 Complex64 Complex128&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;complex construction&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3i&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3i&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3j&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1 + 3im&lt;br /&gt;
complex(1, 3)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;complex decomposition&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;real imag&lt;br /&gt;
abs arg&lt;br /&gt;
conj&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Re Im&lt;br /&gt;
abs Arg&lt;br /&gt;
Conj&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import cmath&lt;br /&gt;
&lt;br /&gt;
z.real&lt;br /&gt;
z.imag&lt;br /&gt;
cmath.polar(z)[1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;real(1 + 3im)&lt;br /&gt;
imag(1 + 3im)&lt;br /&gt;
abs(1 + 3im)&lt;br /&gt;
angle(1 + 3im)&lt;br /&gt;
conj(1 + 3im)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;random number&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;uniform integer, uniform float&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;floor(100 * rand)&lt;br /&gt;
rand&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;floor(100 * runif(1))&lt;br /&gt;
runif(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.random.randint(0, 100)&lt;br /&gt;
np.random.rand()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rand(1:100)&lt;br /&gt;
rand()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;random seed&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;set, get, and restore&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rand(&#39;state&#39;, 17)&lt;br /&gt;
sd = rand(&#39;state&#39;)&lt;br /&gt;
rand(&#39;state&#39;, sd)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;set.seed(17)&lt;br /&gt;
sd = .Random.seed&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.random.seed(17)&lt;br /&gt;
sd = np.random.get_state()&lt;br /&gt;
np.random.set_state(sd)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;bit operators&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;bitshift(100, 3)&lt;br /&gt;
bitshift(100, -3)&lt;br /&gt;
bitand(1, 2)&lt;br /&gt;
bitor(1, 2)&lt;br /&gt;
bitxor(1, 2)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% MATLAB:&lt;/span&gt;&lt;br /&gt;
bitcmp(1, &#39;uint16&#39;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% Octave:&lt;/span&gt;&lt;br /&gt;
bitcmp(1, 16)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;100&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&amp;nbsp;3&lt;br /&gt;
100&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;&amp;nbsp;3&lt;br /&gt;
1 &amp;amp; 2&lt;br /&gt;
1 | 2&lt;br /&gt;
1 ^ 2&lt;br /&gt;
~1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;binary, octal, and hex literals&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0b101010&lt;br /&gt;
0o52&lt;br /&gt;
0x2a&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;radix&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;convert integer to and from string with radix&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;base(7, 42)&lt;br /&gt;
parse(Int, &quot;60&quot;, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;ストリングス&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;don&#39;&#39;t say &quot;no&quot;&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% Octave only:&lt;/span&gt;&lt;br /&gt;
&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;br /&gt;
&#39;don\&#39;t say &quot;no&quot;&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;don\&#39;t say &quot;no&quot;&#39;&lt;br /&gt;
&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;br /&gt;
r&quot;don&#39;t &quot; r&#39;say &quot;no&quot;&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;don&#39;t say \&quot;no\&quot;&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;newline in literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;no&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;yes&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;no&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;yes&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal escapes&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave double quote only:&lt;/span&gt;&lt;br /&gt;
\\ \&quot; \&#39; \0 \a \b \f \n \r \t \v&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;\\ \&quot; \&#39; \a \b \f \n \r \t \v \&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ooo&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# single and double quoted:&lt;/span&gt;&lt;br /&gt;
\&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;newline&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\\ \&#39; \&quot; \a \b \f \n \r \t \v \&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ooo&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\x&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hh&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;\\ \&quot; \&#39; \a \b \f \n \t \r \v&lt;br /&gt;
\&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ooo&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\x&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hh&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\u&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hhhh&lt;/em&gt;&lt;/span&gt;&amp;nbsp;\U&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;hhhhhhhh&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;variable interpolation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;count = 3&lt;br /&gt;
item = &quot;ball&quot;&lt;br /&gt;
println(&quot;$count $(item)s&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;expression interpolation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;1 + 1 = $(1 + 1)&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;concatenate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strcat(&#39;one &#39;, &#39;two &#39;, &#39;three&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;paste(&quot;one&quot;, &quot;two&quot;, &quot;three&quot;, sep=&quot; &quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;one &#39; + &#39;two &#39; + &#39;three&#39;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;literals, but not variables, can be concatenated with juxtaposition:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&#39;one &#39; &quot;two &quot; &#39;three&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;one &quot; * &quot;two &quot; * &quot;three&quot;&lt;br /&gt;
&lt;br /&gt;
string(&quot;one &quot;, &quot;two &quot;, &quot;three&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;replicate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = repmat(&#39;-&#39;, 1, 80)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = paste(rep(&#39;-&#39;, 80), collapse=&#39;&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = &#39;-&#39; * 80&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hbar = &quot;-&quot; ^ 80&lt;br /&gt;
&lt;br /&gt;
hbar = repeat(&quot;-&quot;, 80)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;index of substring&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% returns array of one-indexed&lt;br /&gt;% locations&lt;/span&gt;&lt;br /&gt;
strfind(&#39;hello&#39;, &#39;el&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;counts from one, returns&lt;br /&gt;-1 if not found&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
regexpr(&quot;el&quot;, &quot;hello&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Counts from zero; raises ValueError if not found:&lt;/span&gt;&lt;br /&gt;
&#39;hello&#39;.index(&#39;el&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# returns UnitRange:&lt;/span&gt;&lt;br /&gt;
search(&quot;hello&quot;, &quot;el&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;extract substring&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;hello&#39;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% syntax error: &#39;hello&#39;(1:4)&lt;/span&gt;&lt;br /&gt;
s(1:4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;substr(&quot;hello&quot;, 1, 4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;hello&#39;[0:4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;hello&quot;[1:4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;split&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% returns cell array:&lt;/span&gt;&lt;br /&gt;
strsplit(&#39;foo,bar,baz&#39;, &#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strsplit(&#39;foo,bar,baz&#39;, &#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;foo,bar,baz&#39;.split(&#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;split(&quot;foo,bar,baz&quot;, &quot;,&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;join&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% takes cell array as arg:&lt;/span&gt;&lt;br /&gt;
strjoin({&#39;foo&#39;, &#39;bar&#39;, &#39;baz&#39;}, &#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;paste(&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;, sep=&quot;,&quot;)&lt;br /&gt;
paste(c(&#39;foo&#39;, &#39;bar&#39;, &#39;baz&#39;),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;collapse=&#39;,&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;,&#39;.join([&#39;foo&#39;, &#39;bar&#39;, &#39;baz&#39;])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;join([&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;], &quot;,&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;trim&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;both sides, left, right&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strtrim(&#39; foo &#39;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
deblank(&#39;foo &#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;gsub(&quot;(^[\n\t ]+|[\n\t ]+$)&quot;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&quot;&quot;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&quot; foo &quot;)&lt;br /&gt;
sub(&quot;^[\n\t ]+&quot;, &quot;&quot;, &quot; foo&quot;)&lt;br /&gt;
sub(&quot;[\n\t ]+$&quot;, &quot;&quot;, &quot;foo &quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39; foo &#39;.strip()&lt;br /&gt;
&#39; foo&#39;.lstrip()&lt;br /&gt;
&#39;foo &#39;.rstrip()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;pad&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;on right, on left, centered&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = repmat(&#39; &#39;, 1, 10)&lt;br /&gt;
s(1:5) = &#39;lorem&#39;&lt;br /&gt;
strjust(s, &#39;left&#39;)&lt;br /&gt;
strjust(s, &#39;right&#39;)&lt;br /&gt;
strjust(s, &#39;center&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sprintf(&quot;%-10s&quot;, &quot;lorem&quot;)&lt;br /&gt;
sprintf(&quot;%10s&quot;, &quot;lorem&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;lorem&#39;.ljust(10)&lt;br /&gt;
&#39;lorem&#39;.rjust(10)&lt;br /&gt;
&#39;lorem&#39;.center(10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;number to string&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;strcat(&#39;value: &#39;, num2str(8))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;paste(&quot;value: &quot;, toString(&quot;8&quot;))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;value: &#39; + str(8)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;string to number&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + str2num(&#39;12&#39;)&lt;br /&gt;
73.9 + str2num(&#39;.037&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + as.integer(&quot;12&quot;)&lt;br /&gt;
73.9 + as.double(&quot;.037&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + int(&#39;12&#39;)&lt;br /&gt;
73.9 + float(&#39;.037&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 + parse(Int, &quot;12&quot;)&lt;br /&gt;
73.9 + parse(Float64, &quot;.037&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;translate case&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lower(&#39;FOO&#39;)&lt;br /&gt;
upper(&#39;foo&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tolower(&quot;FOO&quot;)&lt;br /&gt;
toupper(&quot;foo&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;foo&#39;.upper()&lt;br /&gt;
&#39;FOO&#39;.lower()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;uppercase(&quot;foo&quot;)&lt;br /&gt;
lowercase(&quot;FOO&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sprintf&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sprintf(&#39;%s: %.3f %d&#39;, &#39;foo&#39;, 2.2, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sprintf(&quot;%s: %.3f %d&quot;, &quot;foo&quot;, 2.2, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;%s: %.3f %d&#39; % (&#39;foo&#39;, 2.2, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;@sprintf(&quot;%s: %.2f %d&quot;, &quot;foo&quot;, 2.2, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;length&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(&#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;nchar(&quot;hello&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(&#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(&quot;hello&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# index of first byte of last char:&lt;/span&gt;&lt;br /&gt;
endof(&quot;hello&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;character access&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;hello&#39;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% syntax error: &#39;hello&#39;(1)&lt;/span&gt;&lt;br /&gt;
s(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;substr(&quot;hello&quot;, 1, 1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;hello&#39;[0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;hello&quot;[1]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# index must be byte-index of the first byte of a&lt;br /&gt;# character. Raises BoundsErrror if no such byte,&lt;br /&gt;# and UnicodeError if byte not first in char.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;chr and ord&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;char(65)&lt;br /&gt;
double(&#39;A&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intToUtf8(65)&lt;br /&gt;
utf8ToInt(&quot;A&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;chr(65)&lt;br /&gt;
ord(&#39;A&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Char(65)&lt;br /&gt;
Int(&#39;A&#39;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;正規表現&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;character class abbreviations&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;. \d \D \s \S \w \W&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% also C-string style backslash escapes:&lt;/span&gt;&lt;br /&gt;
\a \b \f \n \r \t \v&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# escape backslash in strings by doubling:&lt;/span&gt;&lt;br /&gt;
. \d \D \s \S \w \W&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;. \d \D \s \S \w \W&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;. \d \D \h \H \s \S \v \V \w \W&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;anchors&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;^ $ \&amp;lt; \&amp;gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# escape backslash in strings by doubling:&lt;/span&gt;&lt;br /&gt;
^ $ \&amp;lt; \&amp;gt; \b \B&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;^ $ \A \b \B \Z&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;^ $ \A \b \B \z \Z&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;match test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexp(&#39;hello&#39;, &#39;^[a-z]+$&#39;)&lt;br /&gt;
regexp(&#39;hello&#39;, &#39;^\S+$&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpr(&quot;^[a-z]+$&quot;, &quot;hello&quot;) &amp;gt; 0&lt;br /&gt;
regexpr(&#39;^\\S+$&#39;, &quot;hello&quot;) &amp;gt; 0&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;re.search(r&#39;^[a-z]+$&#39;, &#39;hello&#39;)&lt;br /&gt;
re.search(r&#39;^\S+$&#39;, &#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismatch(r&quot;^[a-z]+$&quot;, &quot;hello&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;case insensitive match test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpi(&#39;Lorem Ipsum&#39;, &#39;lorem&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpr(&#39;(?i)lorem&#39;, &quot;Lorem Ipsum&quot;) &amp;gt; 0&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;re.search(r&#39;lorem&#39;, &#39;Lorem Ipsum&#39;, re.I)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismatch(r&quot;lorem&quot;i, &quot;Lorem Ipsum&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;modifiers&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;(?i) (?m) (?s) (?x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;re.I re.M re.S re.X&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i m s x&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;substitution&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;first match, all matches&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;do re mi mi mi&#39;&lt;br /&gt;
regexprep(s, &#39;ma&#39;, &#39;once&#39;)&lt;br /&gt;
regexprep(s, &#39;mi&#39;, &#39;ma&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sub(&#39;mi&#39;, &#39;ma&#39;, &#39;do re mi mi mi&#39;)&lt;br /&gt;
gsub(&#39;mi&#39;, &#39;ma&#39;, &#39;do re mi mi mi&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rx = re.compile(r&#39;mi&#39;)&lt;br /&gt;
s = rx.sub(&#39;ma&#39;, &#39;do re mi mi mi&#39;, 1)&lt;br /&gt;
s2 = rx.sub(&#39;ma&#39;, &#39;do re mi mi mi&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;replace(&quot;do re mi mi mi&quot;, r&quot;mi&quot;, s&quot;ma&quot;, 1)&lt;br /&gt;
replace(&quot;do re mi mi mi&quot;, r&quot;mi&quot;, s&quot;ma&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;backreference in match and substitution&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexp(&#39;do do&#39;, &#39;(\w+) \1&#39;)&lt;br /&gt;
regexprep(&#39;do re&#39;, &#39;(\w+) (\w+)&#39;, &#39;$2 $1&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;regexpr(&#39;(\\w+) \\1&#39;, &#39;do do&#39;) &amp;gt; 0&lt;br /&gt;
sub(&#39;(\\w+) (\\w+)&#39;, &#39;\\2 \\1&#39;, &#39;do re&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
rx = re.compile(r&#39;(\w+) (\w+)&#39;)&lt;br /&gt;
rx.sub(r&#39;\2 \1&#39;, &#39;do re&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismatch(r&quot;(\w+) \1&quot;, &quot;do do&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;group capture&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rx = &#39;(\d{4})-(\d{2})-(\d{2})&#39;&lt;br /&gt;
m = re.search(rx, &#39;2010-06-03&#39;)&lt;br /&gt;
yr, mo, dy = m.groups()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rx = r&quot;(\d{4})-(\d{2})-(\d{2})&quot;&lt;br /&gt;
m = match(rx, &quot;2010-06-03&quot;)&lt;br /&gt;
yr, mn, dy = m.captures&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;日付と時間&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;current date/time&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = now&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = as.POSIXlt(Sys.time())&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import datetime&lt;br /&gt;
&lt;br /&gt;
t = datetime.datetime.now()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = now()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;date/time type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;floating point number representing days since year 0 in the Gregorian calendar&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;POSIXlt&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;datettime&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;DateTime&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;date/time difference type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;floating point number representing days&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;a&lt;/em&gt;&amp;nbsp;difftime&amp;nbsp;&lt;em&gt;object which behaves like a floating point number representing seconds&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;timedelta,&amp;nbsp;&lt;em&gt;which can be converted to float value in seconds via&lt;/em&gt;total_seconds()&amp;nbsp;&lt;em&gt;method&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Base.Dates.Millisecond&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;get date parts&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dv = datevec(t)&lt;br /&gt;
dv(1)&lt;br /&gt;
dv(2)&lt;br /&gt;
dv(3)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% syntax error: datevec(t)(1)&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t$year + 1900&lt;br /&gt;
t$mon + 1&lt;br /&gt;
t$mday&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t.year&lt;br /&gt;
t.month&lt;br /&gt;
t.day&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Dates.year(t)&lt;br /&gt;
Dates.month(t)&lt;br /&gt;
Dates.day(t)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;get time parts&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dv = datevec(t)&lt;br /&gt;
dv(4)&lt;br /&gt;
dv(5)&lt;br /&gt;
dv(6)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t$hour&lt;br /&gt;
t$min&lt;br /&gt;
t$sec&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t.hour&lt;br /&gt;
t.minute&lt;br /&gt;
t.second&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Dates.hour(t)&lt;br /&gt;
Dates.minute(t)&lt;br /&gt;
Dates.second(t)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;build date/time from parts&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = datenum([2011&amp;nbsp;9&amp;nbsp;20&amp;nbsp;23&amp;nbsp;1&amp;nbsp;2])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = as.POSIXlt(Sys.time())&lt;br /&gt;
t$year = 2011 - 1900&lt;br /&gt;
t$mon = 9 - 1&lt;br /&gt;
t$mday = 20&lt;br /&gt;
t$hour = 23&lt;br /&gt;
t$min = 1&lt;br /&gt;
t$sec = 2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import datetime&lt;br /&gt;
&lt;br /&gt;
t = datetime.datetime(2011, 9, 20, 23, 1, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = DateTime(2011, 9, 20, 23, 1, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;convert to string&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;datestr(t)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;print(t)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;str(t)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&quot;$t&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;parse datetime&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = &#39;2011-09-20&amp;nbsp;23:01:02&#39;&lt;br /&gt;
fmt = &#39;yyyy-mm-dd HH:MM:SS&#39;&lt;br /&gt;
t = datenum(s, fmt)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t = strptime(&#39;2011-09-20&amp;nbsp;23:01:02&#39;,&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&#39;%Y-%m-%d %H:%M:%S&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import datetime&lt;br /&gt;
&lt;br /&gt;
s = &#39;2011-05-03&amp;nbsp;10:00:00&#39;&lt;br /&gt;
fmt = &#39;%Y-%m-%d %H:%M:%S&#39;&lt;br /&gt;
t = datetime.datetime.strptime(s, fmt)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fmt = &quot;yyyy-mm-dd HH:MM:SS&quot;&lt;br /&gt;
t = DateTime(&quot;2011-05-03&amp;nbsp;10:00:00&quot;, fmt)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# fmt string can be compiled:&lt;/span&gt;&lt;br /&gt;
df = Dates.DateFormat(fmt)&lt;br /&gt;
t2 = DateTime(&quot;2011-05-03&amp;nbsp;10:00:00&quot;, df)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;format datetime&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;datestr(t, &#39;yyyy-mm-dd HH:MM:SS&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;format(t, format=&#39;%Y-%m-%d %H:%M:%S&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;t.strftime(&#39;%Y-%m-%d %H:%M:%S&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Dates.format(t, &quot;yyyy-mm-dd HH:MM:SS&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sleep&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pause(0.5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Sys.sleep(0.5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import time&lt;br /&gt;
&lt;br /&gt;
time.sleep(0.5)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sleep(0.5)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;タプル&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cell&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;list&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tuple&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Tuple{&lt;span style=&quot;color: grey;&quot;&gt;T[,&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;]&lt;/span&gt;}&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = {1.7, &#39;hello&#39;, [1&amp;nbsp;2&amp;nbsp;3]}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = list(1.7, &quot;hello&quot;, c(1, 2, 3))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = (1.7, &quot;hello&quot;, [1,2,3])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup = (1.7, &quot;foo&quot;, [1, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup element&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% indices start at one:&lt;/span&gt;&lt;br /&gt;
tup{1}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
tup[[1]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at zero:&lt;/span&gt;&lt;br /&gt;
tup[0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
tup[1]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update element&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup{1} = 2.7&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tup[[1]] = 2.7&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;tuples are immutable&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;tuples are immutable&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;length&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(tup)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(tup)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(tup)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(tup)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;アレー&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;element type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;always numeric&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# &quot;numeric&quot;:&lt;/span&gt;&lt;br /&gt;
class(c(1, 2, 3))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# arrays can also have &quot;boolean&quot; or &quot;string&quot; elements&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# values can have different types:&lt;/span&gt;&lt;br /&gt;
[type(x) for x in a]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Array{Int64, 2}:&lt;/span&gt;&lt;br /&gt;
typeof(a)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Int64:&lt;/span&gt;&lt;br /&gt;
typeof(a[1])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3, 4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% commas are optional:&lt;/span&gt;&lt;br /&gt;
a = [1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# use c() constructor:&lt;/span&gt;&lt;br /&gt;
a = c(1, 2, 3, 4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3, 4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3, 4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;size&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;empty test&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a) == 0&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% An array used in a conditional test is&lt;br /&gt;% false unless nonempty and all entries evaluate&lt;br /&gt;% as true.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(a) == 0&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;not a&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isempty(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Indices start at one:&lt;/span&gt;&lt;br /&gt;
a(1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Indices start at one:&lt;/span&gt;&lt;br /&gt;
a[1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Indices start at zero:&lt;/span&gt;&lt;br /&gt;
a[0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Indices start at one:&lt;/span&gt;&lt;br /&gt;
a[1]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a(1) = -1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a[1] = -1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a[0] = -1&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a[1] = -1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;out-of-bounds behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = []&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% error:&lt;/span&gt;&lt;br /&gt;
a(1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% increases array size to 10;&lt;br /&gt;% zero-fills slots 1 through 9:&lt;/span&gt;&lt;br /&gt;
a(10) = 10&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c()&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# evaluates as NA:&lt;/span&gt;&lt;br /&gt;
a[10]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# increases array size to 10:&lt;/span&gt;&lt;br /&gt;
a[10] = &quot;lorem&quot;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = []&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises IndexError:&lt;/span&gt;&lt;br /&gt;
a[10]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises IndexError:&lt;/span&gt;&lt;br /&gt;
a[10] = &#39;lorem&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = []&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises BoundsError:&lt;/span&gt;&lt;br /&gt;
a[10]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# raises BoundsError:&lt;/span&gt;&lt;br /&gt;
a[10] = &quot;lorem&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;index of element&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [7&amp;nbsp;8&amp;nbsp;9&amp;nbsp;10&amp;nbsp;8]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% returns [2&amp;nbsp;5]:&lt;/span&gt;&lt;br /&gt;
find(a == 8)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% returns 2:&lt;/span&gt;&lt;br /&gt;
find(a == 8, 1, &#39;first&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&#39;x&#39;, &#39;y&#39;, &#39;z&#39;, &#39;w&#39;, &#39;y&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# c(2, 5):&lt;/span&gt;&lt;br /&gt;
which(a == &#39;y&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;x&#39;, &#39;y&#39;, &#39;z&#39;, &#39;w&#39;, &#39;y&#39;]&lt;br /&gt;
&lt;br /&gt;
a.index(&#39;y&#39;)&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# 1&lt;/span&gt;&lt;br /&gt;
a.rindex(&#39;y&#39;)&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;# 4&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;x&quot;, &quot;y&quot;, &quot;z&quot;, &quot;w&quot;, &quot;y&quot;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2:&lt;/span&gt;&lt;br /&gt;
findfirst(a, &quot;y&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 5:&lt;/span&gt;&lt;br /&gt;
julia&amp;gt; findlast(a, &quot;y&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;slice&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;by endpoints&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39; &#39;b&#39; &#39;c&#39; &#39;d&#39; &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [&#39;c&#39; &#39;d&#39;]:&lt;/span&gt;&lt;br /&gt;
a(3:4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# c(&quot;c&quot;, &quot;d&quot;):&lt;/span&gt;&lt;br /&gt;
a[seq(3, 4)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;, &#39;d&#39;, &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&#39;c&#39;, &#39;d&#39;]:&lt;/span&gt;&lt;br /&gt;
a[2:4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&quot;c&quot;, &quot;d&quot;]:&lt;/span&gt;&lt;br /&gt;
a[3:4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;slice to end&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39; &#39;b&#39; &#39;c&#39; &#39;d&#39; &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [&#39;c&#39; &#39;d&#39; &#39;e&#39;]:&lt;/span&gt;&lt;br /&gt;
a(3:end)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# both return c(&quot;c&quot;, &quot;d&quot;, &quot;e&quot;):&lt;/span&gt;&lt;br /&gt;
tail(a, n=length(a) - 2)&lt;br /&gt;
a[-1:-2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;, &#39;d&#39;, &#39;e&#39;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&#39;c&#39;, &#39;d&#39;, &#39;e&#39;]:&lt;/span&gt;&lt;br /&gt;
a[2:]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [&quot;c&quot;, &quot;d&quot;, &quot;e&quot;]:&lt;/span&gt;&lt;br /&gt;
a[3:end]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;integer array as index&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[7&amp;nbsp;8&amp;nbsp;9]([1&amp;nbsp;3&amp;nbsp;3])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;c(7, 8, 9)[c(1, 3, 3)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([7, 8, 9])[[0, 2, 2]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# [7, 9, 9]:&lt;/span&gt;&lt;br /&gt;
[7, 8, 9][[1, 3, 3]]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;logical array as index&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[7&amp;nbsp;8&amp;nbsp;9]([true false true])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;c(7, 8, 9)[c(T, F, T)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([7, 8, 9])[[True, False, True]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# [7, 9]:&lt;/span&gt;&lt;br /&gt;
[7, 8, 9][[true, false, true]]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;concatenate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a2 = [a [4&amp;nbsp;5&amp;nbsp;6]]&lt;br /&gt;
a = [a [4&amp;nbsp;5&amp;nbsp;6]]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% or:&lt;/span&gt;&lt;br /&gt;
a = horzcat(a, a2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 3)&lt;br /&gt;
a2 = append(a, c(4, 5, 6))&lt;br /&gt;
a = append(a, c(4, 5, 6))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = a + [4, 5, 6]&lt;br /&gt;
a.extend([4, 5, 6])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = vcat(a, [4, 5, 6])&lt;br /&gt;
a = vcat(a, [4, 5, 6])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;replicate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = repmat(NA, 1, 10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = rep(NA, 10)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 30 a&#39;s, 50&amp;nbsp;b&#39;s, and 90 c&#39;s:&lt;/span&gt;&lt;br /&gt;
rep(c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;), c(30, 50, 90))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [None] * 10&lt;br /&gt;
a = [None for i in range(0, 10)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fill(NaN, 10)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;copy&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;address copy, shallow copy, deep copy&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;There is no address copy. Because arrays cannot be nested, there is no distinction between shallow copy and deep copy. Assignment and passing an array to a function can be regarded as performing a shallow or deep copy, though MATLAB does not allocate memory for a 2nd array until one of the arrays is modified.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Arrays in R behave like arrays in MATLAB.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import copy&lt;br /&gt;
&lt;br /&gt;
a = [1, 2, [3, 4]]&lt;br /&gt;
&lt;br /&gt;
a2 = a&lt;br /&gt;
a3 = list(a)&lt;br /&gt;
a4 = copy.deepcopy(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = Any[1, 2, [3, 4]]&lt;br /&gt;
&lt;br /&gt;
a2 = a&lt;br /&gt;
a3 = copy(a)&lt;br /&gt;
a4 = deepcopy(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iteration&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [9&amp;nbsp;7&amp;nbsp;3]&lt;br /&gt;
for i = 1:numel(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x = a(i)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(x)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (x in c(9, 7, 3)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(x)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i in [9, 7, 3]:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = [9, 7, 3]&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;indexed iteration&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (i in seq_along(a)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;cat(sprintf(&quot;%s at index %d\n&quot;, i, a[i]))&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;do&#39;, &#39;re&#39;, &#39;mi&#39;, &#39;fa&#39;]&lt;br /&gt;
for i, s in enumerate(a):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;%s at index %d&#39; % (s, i))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&quot;do&quot;, &quot;re&quot;, &quot;mi&quot;, &quot;fa&quot;]&lt;br /&gt;
for (i, s) in enumerate(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i, &quot; &quot;, s)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;reverse&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a2 = fliplr(a)&lt;br /&gt;
a = fliplr(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 3)&lt;br /&gt;
a2 = rev(a)&lt;br /&gt;
a = rev(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = a[::-1]&lt;br /&gt;
a.reverse()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 3]&lt;br /&gt;
a2 = reverse(a)&lt;br /&gt;
reverse!(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;sort&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [3&amp;nbsp;1&amp;nbsp;4&amp;nbsp;2]&lt;br /&gt;
a = sort(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(&#39;b&#39;, &#39;A&#39;, &#39;a&#39;, &#39;B&#39;)&lt;br /&gt;
a2 = sort(a)&lt;br /&gt;
a = sort(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [&#39;b&#39;, &#39;A&#39;, &#39;a&#39;, &#39;B&#39;]&lt;br /&gt;
sorted(a)&lt;br /&gt;
a.sort()&lt;br /&gt;
a.sort(key=str.lower)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [3, 1, 4, 2]&lt;br /&gt;
a2 = sort(a)&lt;br /&gt;
sort!(a)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;dedupe&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a2 = unique(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 2, 3)&lt;br /&gt;
a2 = unique(a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1, 2, 2, 3]&lt;br /&gt;
a2 = list(set(a)))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = unique([1, 2, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;membership&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ismember(7, a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 %in% a&lt;br /&gt;
is.element(7, a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 in a&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;7 in a&lt;br /&gt;
7 ∈ a&lt;br /&gt;
a ∋ 7&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;intersection&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intersect([1&amp;nbsp;2], [2&amp;nbsp;3&amp;nbsp;4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intersect(c(1, 2), c(2, 3, 4))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{1, 2} &amp;amp; {2, 3, 4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;intersection([1, 2], [2, 3, 4])&lt;br /&gt;
∩([1, 2], [2, 3, 4])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;union&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;union([1&amp;nbsp;2], [2&amp;nbsp;3&amp;nbsp;4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;union(c(1, 2), c(2, 3, 4))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{1, 2} | {2, 3, 4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;union([1, 2], [2, 3, 4])&lt;br /&gt;
∪([1, 2], [2, 3, 4])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;relative complement, symmetric difference&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;setdiff([1&amp;nbsp;2&amp;nbsp;3], [2])&lt;br /&gt;
&lt;br /&gt;
a1 = [1&amp;nbsp;2]&lt;br /&gt;
a2 = [2&amp;nbsp;3&amp;nbsp;4]&lt;br /&gt;
union(setdiff(a1, a2), setdiff(a2, a1))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;setdiff(c(1, 2, 3), c(2))&lt;br /&gt;
&lt;br /&gt;
union(setdiff(c(1, 2), c(2, 3, 4)),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;setdiff(c(2, 3, 4), c(1, 2)))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;{1, 2, 3} - {2}&lt;br /&gt;
&lt;br /&gt;
{1, 2} ^ {2, 3, 4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;setdiff([1, 2, 3], [2])&lt;br /&gt;
symdiff([1, 2], [2, 3, 4])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;map&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;arrayfun( @(x) x*x, [1&amp;nbsp;2&amp;nbsp;3])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sapply(c(1,2,3), function (x) { x * x})&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;map(lambda x: x * x, [1, 2, 3])&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or use list comprehension:&lt;/span&gt;&lt;br /&gt;
[x * x for x in [1, 2, 3]]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;filter&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
a(a &amp;gt; 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 2, 3)&lt;br /&gt;
a[a &amp;gt; 2]&lt;br /&gt;
&lt;br /&gt;
Filter(function(x) { x &amp;gt; 2}, a)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;filter(lambda x: x &amp;gt; 1, [1, 2, 3])&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or use list comprehension:&lt;/span&gt;&lt;br /&gt;
[x for x in [1, 2, 3] if x &amp;gt; 1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;reduce&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Reduce(function(x, y) { x + y }, c(1, 2, 3), 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reduce(lambda x, y: x + y, [1 ,2, 3], 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reduce(+, [1, 2, 3])&lt;br /&gt;
foldl(-, 0, [1, 2, 3])&lt;br /&gt;
foldr(-, 0, [1, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;universal and existential tests&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all(mod([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4], 2) == 0)&lt;br /&gt;
any(mod([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4]) == 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all(c(1, 2, 3, 4) %% 2 == 0)&lt;br /&gt;
any(c(1, 2, 3, 4) %% 2 == 0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all(i % 2 == 0 for i in [1, 2, 3, 4])&lt;br /&gt;
any(i % 2 == 0 for i in [1, 2, 3, 4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;all([x % 2 == 0 for x in [1, 2, 3, 4]])&lt;br /&gt;
any([x % 2 == 0 for x in [1, 2, 3, 4]])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;shuffle and sample&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = c(1, 1, 2, 3, 9, 28)&lt;br /&gt;
sample(a, 3)&lt;br /&gt;
a[sample.int(length(a))]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;from random import shuffle, sample&lt;br /&gt;
&lt;br /&gt;
a = [1, 2, 3, 4]&lt;br /&gt;
shuffle(a)&lt;br /&gt;
sample(a, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;zip&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none; MATLAB arrays can&#39;t be nested&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# R arrays can&#39;t be nested.&lt;br /&gt;# One approximation of zip is a 2d array:&lt;/span&gt;&lt;br /&gt;
a = rbind(c(1, 2, 3), c(&#39;a&#39;, &#39;b&#39;, &#39;c&#39;))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# To prevent data type coercion, use a data frame:&lt;/span&gt;&lt;br /&gt;
df = data.frame(numbers=c(1, 2, 3),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;letters=c(&#39;a&#39;, &#39;b&#39;, &#39;c&#39;))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# array of 3 pairs:&lt;/span&gt;&lt;br /&gt;
a = zip([1, 2, 3], [&#39;a&#39;, &#39;b&#39;, &#39;c&#39;])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;算術シーケンス&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;unit difference&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1:100&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# type integer:&lt;/span&gt;&lt;br /&gt;
1:100&lt;br /&gt;
seq(1, 100)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# type double:&lt;/span&gt;&lt;br /&gt;
seq(1, 100, 1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;range(1, 101)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;1:100&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;difference of 10&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:10:100&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# type double:&lt;/span&gt;&lt;br /&gt;
seq(0, 100, 10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;range(0, 101, 10)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:10:100&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;difference of 0.1&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:0.1:10&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;seq(0, 10, 0.1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[0.1 * x for x in range(0, 101)]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 3rd arg is length of sequence, not step size:&lt;/span&gt;&lt;br /&gt;
sp.linspace(0, 10, 100)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0:0.1:10&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;computed difference&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% 100 evenly spaced values:&lt;/span&gt;&lt;br /&gt;
linspace(3.7, 19.4, 100)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 100 is default num. of elements:&lt;/span&gt;&lt;br /&gt;
linspace(3.7, 19.4)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;numpy.linspace(3.7, 19.4, 100)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# range replaces xrange in Python 3:&lt;/span&gt;&lt;br /&gt;
n = 0&lt;br /&gt;
for i in xrange(1, 1000001):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;n += i&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;n = 0&lt;br /&gt;
for i in 1:1000000&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;n += i&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;to array&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = range(1, 11)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Python 3:&lt;/span&gt;&lt;br /&gt;
a = list(range(1, 11))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;a = Array(1:10)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;二次元配列&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;element type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;always numeric&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(1, 2, 3, 4), dim=c(2, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# &quot;array&quot;:&lt;/span&gt;&lt;br /&gt;
class(A)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# &quot;boolean&quot;, &quot;numeric&quot;, or &quot;string&quot;:&lt;/span&gt;&lt;br /&gt;
class(c(A))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([[1, 2], [3, 4]]).dtype&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# possible values: np.bool, np.int64,&lt;br /&gt;# np.float64, np.complex128,&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
eltype(A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[1, 2; 3, 4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% commas optional; newlines can replace semicolons::&lt;/span&gt;&lt;br /&gt;
[1&amp;nbsp;2&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;3&amp;nbsp;4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# A 1-d array created with commas is a&lt;br /&gt;# n×1 array. If commas are used in a literal,&lt;br /&gt;# then semicolons and spaces as delimiters.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
[1&amp;nbsp;2&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&lt;/span&gt;3&amp;nbsp;4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from sequence&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4], 2, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;array(c(1, 2, 3, 4), dim=c(2, 2))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([1, 2, 3, 4]).reshape(2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# convert to nested Python lists:&lt;/span&gt;&lt;br /&gt;
A.tolist()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape([1, 2, 3, 4], 2, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from rows&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;row1 = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
row2 = [4&amp;nbsp;5&amp;nbsp;6]&lt;br /&gt;
&lt;br /&gt;
A = [row1; row2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rbind(c(1, 2, 3), c(4, 5, 6))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;row1 = np.array([1, 2, 3])&lt;br /&gt;
row2 = np.array([4, 5, 6])&lt;br /&gt;
&lt;br /&gt;
np.vstack((row1, row2))&lt;br /&gt;
&lt;br /&gt;
np.array([[1, 2], [3, 4]])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;vcat([1&amp;nbsp;2&amp;nbsp;3], [4&amp;nbsp;5&amp;nbsp;6])&lt;br /&gt;
&lt;br /&gt;
row1 = [1&amp;nbsp;2&amp;nbsp;3]&lt;br /&gt;
row2 = [4&amp;nbsp;5&amp;nbsp;6]&lt;br /&gt;
[row1; row2]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from columns&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;col1 = [1; 4]&lt;br /&gt;
col2 = [2; 5]&lt;br /&gt;
col3 = [3; 6]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% commas are optional:&lt;/span&gt;&lt;br /&gt;
A = [col1, col2, col3]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cbind(c(1, 4), c(2, 5), c(3, 6))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cols = (&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;np.array([1, 4]),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;np.array([2, 5]),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;np.array([3, 6])&lt;br /&gt;
)&lt;br /&gt;
np.vstack(cols).transpose()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;hcat([1, 4], [2, 5], [3, 6])&lt;br /&gt;
&lt;br /&gt;
col1 = [1, 4]&lt;br /&gt;
col2 = [2, 5]&lt;br /&gt;
col3 = [3, 6]&lt;br /&gt;
[col1 col2 col3]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from subarrays&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;3; 2&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
A4_by_2 = [A; A]&lt;br /&gt;
A2_by_4 = [A A]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = matrix(c(1, 2, 3, 4), nrow=2)&lt;br /&gt;
A4_by_2 = rbind(A, A)&lt;br /&gt;
A2_by_4 = cbind(A, A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
A2_by_4 = np.hstack([A, A])&lt;br /&gt;
A4_by_2 = np.vstack([A, A])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
A4_by_2 = [A; A]&lt;br /&gt;
A2_by_4 = [A A ]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;cast element type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;size&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;number of elements, number of dimensions, dimension lengths&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;numel(A)&lt;br /&gt;
ndims(A)&lt;br /&gt;
size(A)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% length of 1st dimension (i.e. # of rows):&lt;/span&gt;&lt;br /&gt;
size(A, 1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% length of longest dimension:&lt;/span&gt;&lt;br /&gt;
length(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(A)&lt;br /&gt;
length(dim(A))&lt;br /&gt;
dim(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A.size&lt;br /&gt;
A.ndim&lt;br /&gt;
A.shape&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# number of rows:&lt;/span&gt;&lt;br /&gt;
len(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(A)&lt;br /&gt;
ndims(A)&lt;br /&gt;
size(A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% indices start at one:&lt;/span&gt;&lt;br /&gt;
[1&amp;nbsp;2; 3&amp;nbsp;4](1, 1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
A = array(c(1, 2, 3, 4), dim=c(2, 2)&lt;br /&gt;
&lt;br /&gt;
A[1, 1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at zero:&lt;/span&gt;&lt;br /&gt;
A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
A[0][0]&amp;nbsp;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;or&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
A[0, 0]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# indices start at one:&lt;/span&gt;&lt;br /&gt;
A[1, 1]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;1d lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% returns 8:&lt;/span&gt;&lt;br /&gt;
A(4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% convert to column vector of length 4:&lt;/span&gt;&lt;br /&gt;
A2 = A(:)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(2, 4, 6, 8), dim=c(2, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 8:&lt;/span&gt;&lt;br /&gt;
A[4]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[2, 4], [6, 8]])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns np.array([6, 8]):&lt;/span&gt;&lt;br /&gt;
A[1]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 8:&lt;/span&gt;&lt;br /&gt;
A.flat[3]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# returns 8:&lt;/span&gt;&lt;br /&gt;
A[4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup row or column&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2&amp;nbsp;3; 4&amp;nbsp;5&amp;nbsp;6; 7&amp;nbsp;8&amp;nbsp;9]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 2nd row:&lt;/span&gt;&lt;br /&gt;
A(2, :)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 2nd column:&lt;/span&gt;&lt;br /&gt;
A(:, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = t(array(1:9, dim=c(3, 3)))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd row:&lt;/span&gt;&lt;br /&gt;
A[2, ]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd column:&lt;/span&gt;&lt;br /&gt;
A[, 2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd row:&lt;/span&gt;&lt;br /&gt;
A[1, :]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd column:&lt;/span&gt;&lt;br /&gt;
A[:, 1]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2&amp;nbsp;3; 4&amp;nbsp;5&amp;nbsp;6; 7&amp;nbsp;8&amp;nbsp;9]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd row:&lt;/span&gt;&lt;br /&gt;
A[2, :]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2nd column:&lt;/span&gt;&lt;br /&gt;
A[:, 2]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
A(1, 1) = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(2, 4, 6, 8), dim=c(2, 2))&lt;br /&gt;
A[1, 1] = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[2, 4], [6, 8]])&lt;br /&gt;
A[0, 0] = 3&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
A[1, 1] = 3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update row or column&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [2&amp;nbsp;1; 3&amp;nbsp;4]:&lt;/span&gt;&lt;br /&gt;
A(1, :) = [2&amp;nbsp;1]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;1; 2&amp;nbsp;4]:&lt;/span&gt;&lt;br /&gt;
A(:, 1) = [3&amp;nbsp;2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
A[1, ] = c(2, 1)&lt;br /&gt;
A[, 1] = c(3, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
A[0, :] = [2, 1]&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or&lt;/span&gt;&lt;br /&gt;
A[0] = [2, 1]&lt;br /&gt;
&lt;br /&gt;
A[:, 0] = [3, 2]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
A[1, :] = [2&amp;nbsp;1]&lt;br /&gt;
A[:, 1] = [3; 2]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update subarray&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = ones(3, 3)&lt;br /&gt;
A(1:2, 1:2) = 2 * ones(2, 2)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% or just:&lt;/span&gt;&lt;br /&gt;
A(1:2, 1:2) = 2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(1, dim=c(3, 3))&lt;br /&gt;
A[1:2, 1:2] = array(2, dim=c(2, 2))&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or just:&lt;/span&gt;&lt;br /&gt;
A[1:2, 1:2] = 2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.ones([3, 3])&lt;br /&gt;
A[0:2, 0:2] = 2 * np.ones([2, 2])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = ones(3, 3)&lt;br /&gt;
A[1:2, 1:2] = 2 * ones(2, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;out-of-bounds behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [2&amp;nbsp;4; 6&amp;nbsp;8]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% error:&lt;/span&gt;&lt;br /&gt;
x = A(3, 1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% becomes 3x2 array with zero at (3, 2):&lt;/span&gt;&lt;br /&gt;
A(3, 1) = 9&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Lookups and updates both cause subscript out of bounds error.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;Lookups and updates both raise an&lt;/em&gt;IndexError&amp;nbsp;&lt;em&gt;exception.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;BoundsError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;slice subarray&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:16, 4, 4)&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% top left 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A(1:2, 1:2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% bottom right 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A(end-1:end, end-1:end)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 2x2 array containing corners:&lt;/span&gt;&lt;br /&gt;
A([1&amp;nbsp;4], [1&amp;nbsp;4])&lt;br /&gt;
A([1 end], [1 end])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = t(array(1:16, dim=c(4, 4)))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# top left 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[1:2, 1:2]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# bottom right 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[-1:-2, -1:-2]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# 2x2 array containing corners:&lt;/span&gt;&lt;br /&gt;
A[c(1, 4), c(1, 4)]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array(range(1, 17)).reshape(4, 4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# top left 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[0:2, 0:2]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# bottom right 2x2 subarray:&lt;/span&gt;&lt;br /&gt;
A[2:, 2:]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:16, 4, 4)&lt;br /&gt;
&lt;br /&gt;
A[1:2, 1:2]&lt;br /&gt;
&lt;br /&gt;
A[3:4, 3:4]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;transpose&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
transpose(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(c(1, 2, 3, 4), dim=c(2, 2))&lt;br /&gt;
t(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
A.transpose()&lt;br /&gt;
A.T&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
transpose(A)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;flip&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% [ 2&amp;nbsp;1; 4&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
fliplr([1&amp;nbsp;2; 3&amp;nbsp;4])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;4; 1&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
flipud([1&amp;nbsp;2; 3&amp;nbsp;4])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# install.packages(&#39;pracma&#39;):&lt;/span&gt;&lt;br /&gt;
require(pracma)&lt;br /&gt;
&lt;br /&gt;
A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
fliplr(A)&lt;br /&gt;
flipud(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.fliplr(A)&lt;br /&gt;
np.flipud(A)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# [2&amp;nbsp;1; 4&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
flipdim([1&amp;nbsp;2; 3&amp;nbsp;4], 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# [3&amp;nbsp;4; 1&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
flipdim([1&amp;nbsp;2; 3&amp;nbsp;4], 1)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;circular shift&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;along columns, along rows&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3, 4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;4; 1&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
circshift(A, 1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [2&amp;nbsp;1; 4&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
circshift(A, 1, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% The 2nd argument can be any integer; negative values shift&lt;br /&gt;% in the opposite direction.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# install.packages(&#39;pracma&#39;):&lt;/span&gt;&lt;br /&gt;
require(pracma)&lt;br /&gt;
&lt;br /&gt;
A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
circshift(A, c(1, 0))&lt;br /&gt;
circshift(A, c(0, 1))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.roll(A, 1, axis=0)&lt;br /&gt;
np.roll(A, 1, axis=1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;circshift([1&amp;nbsp;2; 3&amp;nbsp;4], [1, 0])&lt;br /&gt;
circshift([1&amp;nbsp;2; 3&amp;nbsp;4], [0, 1])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;rotate&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;clockwise, counter-clockwise&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [3&amp;nbsp;1; 4&amp;nbsp;2]:&lt;/span&gt;&lt;br /&gt;
rot90(A, -1)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% [2&amp;nbsp;4; 1&amp;nbsp;3]:&lt;/span&gt;&lt;br /&gt;
rot90(A)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% set 2nd arg to 2 for 180 degree rotation&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# install.packages(&#39;pracma&#39;):&lt;/span&gt;&lt;br /&gt;
require(pracma)&lt;br /&gt;
&lt;br /&gt;
A = t(array(1:4, dim=c(2, 2)))&lt;br /&gt;
&lt;br /&gt;
rot90(A)&lt;br /&gt;
rot90(A, -1)&lt;br /&gt;
rot90(A, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.rot90(A)&lt;br /&gt;
np.rot90(A, -1)&lt;br /&gt;
np.rot90(A, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
rotr90(A)&lt;br /&gt;
rotl90(A)&lt;br /&gt;
rotr90(A, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;reduce&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;rows, columns&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;M = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sum each row:&lt;/span&gt;&lt;br /&gt;
cellfun(@sum, num2cell(M, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sum each column:&lt;/span&gt;&lt;br /&gt;
cellfun(@sum, num2cell(M, 1))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sum(M, 2) and sum(M, 1) also sum rows and columns&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;M = matrix(c(1, 2, 3, 4), nrow=2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# sum each row:&lt;/span&gt;&lt;br /&gt;
apply(M, 1, sum)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# sum each column:&lt;/span&gt;&lt;br /&gt;
apply(M, 2, sum)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;M = np.array([[1, 2], [3, 4]])&lt;br /&gt;
&lt;br /&gt;
np.add.reduce(A, 1)&lt;br /&gt;
&lt;br /&gt;
np.add.reduce(A, 0)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# np.add is a built-in universal function. All universal functions have a reduce method.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# np.sum(A, 1,) and np.sum(A, 0) also sum rows and columns&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;[3; 7]:&lt;/span&gt;&lt;br /&gt;
reducedim(+, A, [2], 0)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;[4&amp;nbsp;6]:&lt;/span&gt;&lt;br /&gt;
reducedim(+, A, [1], 0)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;三次元配列&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from sequence&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;array(seq(1, 8), dim=c(2, 2, 2))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array(range(1, 9)).reshape(2, 2, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;reshape(1:8, 2, 2, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct from nested sequences&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;np.array([[[1, 2], [3, 4]], [[5, 6], [7, 8]]])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;construct 3d array from 2d arrays&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1, 2; 3, 4]&lt;br /&gt;
A(:,:,2) = [5, 6; 7, 8]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = Array{Float64}(2, 2, 2)&lt;br /&gt;
A[:, :, 1] = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
A[:, :, 2] = [5&amp;nbsp;6; 7&amp;nbsp;8]&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;permute axes&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
permute(A, [1&amp;nbsp;3&amp;nbsp;2])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = array(1:8, dim=c(2, 2, 2))&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
aperm(A, perm=c(1, 3, 2))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array(range(1, 9)).reshape(2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
A.transpose((0, 2, 1))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:8, 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# swap 2nd and 3rd axes:&lt;/span&gt;&lt;br /&gt;
reshape(A, [1, 3, 2])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;flip&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
flipdim(A, 3)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:8, 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
flipdim(A, 3)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;circular shift&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape([1&amp;nbsp;2&amp;nbsp;3&amp;nbsp;4&amp;nbsp;5&amp;nbsp;6&amp;nbsp;7&amp;nbsp;8], 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 3rd arg specifies axis:&lt;/span&gt;&lt;br /&gt;
circshift(A, 1, 3)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.array(range(1, 9)).reshape(2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
np.roll(A, 1, axis=2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = reshape(1:8, 2, 2, 2)&lt;br /&gt;
&lt;br /&gt;
circshift(A, [0, 0, 1])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;辞書&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% no literal; use constructor:&lt;/span&gt;&lt;br /&gt;
d = struct(&#39;n&#39;, 10, &#39;avg&#39;, 3.7, &#39;sd&#39;, 0.4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% or build from two cell arrays:&lt;/span&gt;&lt;br /&gt;
d = cell2struct({10&amp;nbsp;3.7&amp;nbsp;0.4}, {&#39;n&#39; &#39;avg&#39; &#39;sd&#39;}, 2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# keys are &#39;n&#39;, &#39;avg&#39;, and &#39;sd&#39;:&lt;/span&gt;&lt;br /&gt;
d = list(n=10, avg=3.7, sd=0.4)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# keys are 1, 2, and 3:&lt;/span&gt;&lt;br /&gt;
d2 = list(&#39;do&#39;, &#39;re&#39;, &#39;mi&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d = {&#39;n&#39;: 10, &#39;avg&#39;: 3.7, &#39;sd&#39;: 0.4}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d = Dict(&quot;n&quot;=&amp;gt;10.0, &quot;avg&quot;=&amp;gt;3.7, &quot;sd&quot;=&amp;gt;0.4)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;size&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(fieldnames(d))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(d)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;len(d)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;length(d)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;lookup&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d.n&lt;br /&gt;
getfield(d, &#39;n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d[[&#39;n&#39;]]&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# if &#39;n&#39; is a key:&lt;/span&gt;&lt;br /&gt;
d$n&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d[&#39;n&#39;]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;update&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d.var = d.sd&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**2&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d$var = d$sd&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d[&#39;var&#39;] = d[&#39;sd&#39;]&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;**&lt;/span&gt;2&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;missing key behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;NULL&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;KeyError&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;is key present&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;isfield(d, &#39;var&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;is.null(d$var)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&#39;var&#39; in d&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;haskey(d, &quot;var&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;delete&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d = rmfield(d, &#39;sd&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d$sd = NULL&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;del(d[&#39;sd&#39;])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = 1:numel(fieldnames(d))&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;k = fieldnames(d){i}&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;v = d.(k)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;code&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (k in names(d)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;v = d[[k]]&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;code&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for k, v in d.iteritems():&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;code&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;keys and values as arrays&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% these return cell arrays:&lt;/span&gt;&lt;br /&gt;
fieldnames(d)&lt;br /&gt;
struct2cell(d)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;names(d)&lt;br /&gt;
unlist(d, use.names=F)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d.keys()&lt;br /&gt;
d.values()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;merge&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d1 = list(a=1, b=2)&lt;br /&gt;
d2 = list(b=3, c=4)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# values of first dictionary take precedence:&lt;/span&gt;&lt;br /&gt;
d3 = c(d1, d2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;d1 = {&#39;a&#39;:1, &#39;b&#39;:2}&lt;br /&gt;
d2 = {&#39;b&#39;:3, &#39;c&#39;:4}&lt;br /&gt;
d1.update(d2)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;機能&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;define function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function add(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x + y&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add = function(x, y) {x + y}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function add(x,y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x + y&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# optional syntax when body is an expression:&lt;/span&gt;&lt;br /&gt;
add(x, y) = x + y&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;invoke function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(3, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(3, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(3, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;nested function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function ret1 = add3(x, y, z)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;function ret2 = add2(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ret2 = x + y;&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ret1 = add2(x, y) + z;&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add3 = function(x, y, z) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;add2 = function(x, y) { x + y }&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;add2(x, y) + z&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function add3(x, y, z)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;function add2(x2, y2)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x2 + y2&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;add2(x, y) + z&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;missing argument behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises error if code with the parameter that is missing an argument is executed&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;MethodError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;extra argument behavior&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;ignored&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raises&lt;/em&gt;&amp;nbsp;MethodError&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;default argument&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function mylog(x, base=10)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;log(x) / log(base)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;mylog = function(x,base=10) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;log(x) / log(base)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;variadic function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function s = add(varargin)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if nargin == 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;else&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;r = add(varargin{2:nargin})&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = varargin{1} + r&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;end&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add = function (&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;a = list(&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;...&lt;/span&gt;)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if (length(a) == 0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;return(0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;for(i in 1:length(a)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;s = s + a[[i]]&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;return(s)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;return value&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function ret = add(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ret = x + y;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% If a return variable is declared, the value assigned&lt;br /&gt;% to it is returned. Otherwise the value of the last&lt;br /&gt;% statement will be used if it does not end with a&lt;br /&gt;% semicolon.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;return&amp;nbsp;&lt;em&gt;argument or last expression evaluated.&lt;/em&gt;&amp;nbsp;NULL&amp;nbsp;&lt;em&gt;if&lt;/em&gt;&amp;nbsp;return&amp;nbsp;&lt;em&gt;called without an argument.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;return&amp;nbsp;&lt;em&gt;argument or last expression evaluated.&lt;/em&gt;&amp;nbsp;Void&amp;nbsp;&lt;em&gt;if&lt;/em&gt;&amp;nbsp;return&amp;nbsp;&lt;em&gt;called without an argument.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;multiple return values&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function [x, y] = first_two(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x = a(1);&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;y = a(2);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% sets first to 7; second to 8:&lt;/span&gt;&lt;br /&gt;
[first, second] = first_two([7&amp;nbsp;8&amp;nbsp;9])&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function first_two(a)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;a[1], a[2]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
x, y = first_two([1, 2, 3])&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;anonymous function literal&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% body must be an expression:&lt;/span&gt;&lt;br /&gt;
@(x, y) x + y&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;function(x, y) {x + y}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add = (x, y) -&amp;gt; x + y&lt;br /&gt;
&lt;br /&gt;
add = function(x, y)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x + y&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;invoke anonymous function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add(1, 2)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;closure&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;make_counter = function() {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i = 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;function() {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;- i + 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;function as value&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;@add&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;add&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;overload operator&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;call operator like function&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;`+`&lt;/span&gt;(3, 7)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;+(3, 7)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;実行制御&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (x &amp;gt; 0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(&#39;positive&#39;)&lt;br /&gt;
elseif (x &amp;lt; 0)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(&#39;negative&#39;)&lt;br /&gt;
else&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(&#39;zero&#39;)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (x &amp;gt; 0) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;positive&#39;)&lt;br /&gt;
} else if (x &amp;lt; 0) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;negative&#39;)&lt;br /&gt;
} else {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;zero&#39;)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if x &amp;gt; 0:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;positive&#39;)&lt;br /&gt;
elif x &amp;lt; 0:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;negative&#39;)&lt;br /&gt;
else:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(&#39;zero&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if x &amp;gt; 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(&quot;positive&quot;)&lt;br /&gt;
elseif x &amp;lt; 0&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(&quot;negative&quot;)&lt;br /&gt;
else&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(&quot;zero&quot;)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;while&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 0&lt;br /&gt;
while (i &amp;lt; 10)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i = i + 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(i)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;while (i &amp;lt; 10) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i = i + 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;while i &amp;lt; 10:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i += 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;i = 0&lt;br /&gt;
while i &amp;lt; 10&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;i += 1&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = 1:10&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(i)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for (i in 1:10) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i in range(1,11):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(i)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for i = 1:10&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;println(i)&lt;br /&gt;
end&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;break/continue&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break continue&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break next&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break continue&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;break continue&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;raise exception&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;error(&#39;%s&#39;, &#39;failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;stop(&#39;failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;raise Exception(&#39;failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;throw(&quot;failed&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;handle exception&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;try&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed&#39;)&lt;br /&gt;
catch err&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;disp(err)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;tryCatch(&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;stop(&#39;failed&#39;),&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error=function(e) print(message(e)))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;try:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;raise Exception(&#39;failed&#39;)&lt;br /&gt;
except Exception as e:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(e)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;ファイル操作&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;standard file handles&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;0&amp;nbsp;1&amp;nbsp;2&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% Octave has predefined variables&lt;br /&gt;% containing the above descriptors:&lt;/span&gt;&lt;br /&gt;
stdin stdout stderr&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;stdin() stdout() stderr()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.stdin sys.stdout sys.stderr&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;STDIN STDOUT STDERR&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;read line from stdin&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = input(&#39;&#39;, &#39;s&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readLines(n=1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = sys.stdin.readline()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readline()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write line to stdout&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fprintf(1, &#39;hello\n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cat(&quot;hello\n&quot;)&lt;br /&gt;
&lt;br /&gt;
writeLines(&quot;hello&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;print(&#39;hello&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;println(&quot;hello&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write formatted string to stdout&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fprintf(1, &#39;%.2f\n&#39;, pi)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cat(sprintf(&quot;%.2f\n&quot;, pi))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import math&lt;br /&gt;
&lt;br /&gt;
print(&#39;%.2f&#39; % math.pi)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;open file for reading&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = fopen(&#39;/etc/hosts&#39;)&lt;br /&gt;
if (f == -1)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed to open file&#39;)&lt;br /&gt;
end&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = file(&quot;/etc/hosts&quot;, &quot;r&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&#39;/etc/hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&quot;/etc/hosts&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;open file for writing&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if ((f = fopen(&#39;/tmp/test&#39;, &#39;w&#39;) == -1)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed to open file&#39;)&lt;br /&gt;
endif&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = file(&quot;/tmp/test&quot;, &quot;w&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&#39;/tmp/test&#39;, &#39;w&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&quot;/etc/hosts&quot;, &quot;w&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;open file for appending&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if ((f = fopen(&#39;/tmp/err.log&#39;, &#39;a&#39;) == -1)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;failed to open file&#39;)&lt;br /&gt;
endif&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = file(&quot;/tmp/err.log&quot;, &quot;a&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&#39;/tmp/err.log&#39;, &#39;a&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f = open(&quot;/tmp/err.log&quot;, &quot;a&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;close file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fclose(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;close(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.close()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;close(f)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;i/o errors&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;fopen&amp;nbsp;&lt;em&gt;returns -1;&lt;/em&gt;&amp;nbsp;fclose&amp;nbsp;&lt;em&gt;throws an error&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;raise&lt;/em&gt;&amp;nbsp;IOError&amp;nbsp;&lt;em&gt;exception&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;read line&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = fgets(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readLines(f, n=1)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = f.readline()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;line = readline(f)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate over file by line&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;while(!feof(f))&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;line = fgets(f)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;puts(line)&lt;br /&gt;
endwhile&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for line in f:&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(line)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;read file into array of strings&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lines = readLines(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lines = f.readlines()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;lines = readlines(f)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write string&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fputs(f, &#39;lorem ipsum&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;cat(&quot;lorem ipsum&quot;, file=f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.write(&#39;lorem ipsum&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;write(f, &quot;lorem ipsum&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;write line&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fputs(f, &#39;lorem ipsum\n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;writeLines(&quot;lorem ipsum&quot;, con=f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.write(&#39;lorem ipsum\n&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;flush file handle&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fflush(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;flush(f)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.flush()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;file handle position&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;get, set&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ftell(f)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% 3rd arg can be SEEK_CUR or SEEK_END&lt;/span&gt;&lt;br /&gt;
fseek(f, 0, SEEK_SET)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;seek(f)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# sets seek point to 12 bytes after start;&lt;br /&gt;# origin can also be &quot;current&quot; or &quot;end&quot;&lt;/span&gt;&lt;br /&gt;
seek(f, where=0, origin=&quot;start&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;f.tell()&lt;br /&gt;
&lt;br /&gt;
f.seek(0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;redirect stdout to file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sink(&quot;foo.txt&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;write variables to file&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = [1&amp;nbsp;2; 3&amp;nbsp;4]&lt;br /&gt;
B = [4&amp;nbsp;3; 2&amp;nbsp;1]&lt;br /&gt;
&lt;br /&gt;
save(&#39;data.mdata&#39;, &#39;A&#39;, &#39;B&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = matrix(c(1, 3, 2, 4), nrow=2)&lt;br /&gt;
B = matrix(c(4, 2, 3, 1), nrow=2)&lt;br /&gt;
&lt;br /&gt;
save(A, B, file=&#39;data.rdata&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;A = np.matrix([[1, 2], [3, 4]])&lt;br /&gt;
B = np.matrix([[4, 3], [2, 1]])&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# Data must be of type np.array;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# file will have .npz suffix:&lt;/span&gt;&lt;br /&gt;
np.savez(&#39;data&#39;, A=A, B=B)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;read variables from file&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% puts A and B in scope:&lt;/span&gt;&lt;br /&gt;
load(&#39;data.mdata&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% puts just A in scope:&lt;/span&gt;&lt;br /&gt;
load(&#39;data.mdata&#39;, &#39;A&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# puts A and B in scope:&lt;/span&gt;&lt;br /&gt;
load(&#39;data.rdata&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;data = np.load(&#39;data.npz&#39;)&lt;br /&gt;
A = data[&#39;A&#39;]&lt;br /&gt;
B = data[&#39;B&#39;]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;write all variables in scope to file&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;save(&#39;data.txt&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;save.image(&#39;data.txt&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;ディレクトリ&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;working directory&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;get, set&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;pwd&lt;br /&gt;
&lt;br /&gt;
cd(&#39;/tmp&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;getwd()&lt;br /&gt;
&lt;br /&gt;
setwd(&quot;/tmp&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.abspath(&#39;.&#39;)&lt;br /&gt;
&lt;br /&gt;
os.chdir(&#39;/tmp&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;build pathname&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fullfile(&#39;/etc&#39;, &#39;hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;file.path(&quot;/etc&quot;, &quot;hosts&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.join(&#39;/etc&#39;, &#39;hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;dirname and basename&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[dir, base] = fileparts(&#39;/etc/hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dirname(&quot;/etc/hosts&quot;)&lt;br /&gt;
basename(&quot;/etc/hosts&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.dirname(&#39;/etc/hosts&#39;)&lt;br /&gt;
os.path.basename(&#39;/etc/hosts&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;absolute pathname&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;normalizePath(&quot;..&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.path.abspath(&#39;..&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;iterate over directory by file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% lists /etc:&lt;/span&gt;&lt;br /&gt;
ls(&#39;/etc&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% lists working directory:&lt;/span&gt;&lt;br /&gt;
ls()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# list.files() defaults to working directory&lt;/span&gt;&lt;br /&gt;
for (path in list.files(&#39;/etc&#39;)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(path)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;for filename in os.listdir(&#39;/etc&#39;):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;print(filename)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;glob paths&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;glob(&#39;/etc/*&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Sys.glob(&#39;/etc/*&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import glob&lt;br /&gt;
&lt;br /&gt;
glob.glob(&#39;/etc/*&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;プロセスと環境&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;command line arguments&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% does not include interpreter name:&lt;/span&gt;&lt;br /&gt;
argv()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# first arg is name of interpreter:&lt;/span&gt;&lt;br /&gt;
commandArgs()&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# arguments after&amp;nbsp;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;--&lt;/span&gt;args only:&lt;/span&gt;&lt;br /&gt;
commandArgs(TRUE)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.argv&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ARGS&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;environment variable&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;get, set&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;getenv(&#39;HOME&#39;)&lt;br /&gt;
&lt;br /&gt;
setenv(&#39;PATH&#39;, &#39;/bin&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;Sys.getenv(&quot;HOME&quot;)&lt;br /&gt;
&lt;br /&gt;
Sys.setenv(PATH=&quot;/bin&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;os.getenv(&#39;HOME&#39;)&lt;br /&gt;
&lt;br /&gt;
os.environ[&#39;PATH&#39;] = &#39;/bin&#39;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ENV[&quot;HOME&quot;]&lt;br /&gt;
&lt;br /&gt;
ENV[&quot;PATH&quot;] = &quot;/bin&quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exit(0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;quit(save=&quot;no&quot;, status=0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.exit(0)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;exit(0)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;external command&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (shell_cmd(&#39;ls -l /tmp&#39;))&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;error(&#39;ls failed&#39;)&lt;br /&gt;
endif&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if (system(&quot;ls -l /tmp&quot;)) {&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;stop(&quot;ls failed&quot;)&lt;br /&gt;
}&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;if os.system(&#39;ls -l /tmp&#39;):&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;raise Exception(&#39;ls failed&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;command substitution&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;s = readall(‘ls`)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;ライブラリと名前空間&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;load library&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;When a function is invoked, MATLAB searches the library path for a file with the same name and a&lt;/em&gt;&amp;nbsp;.m&amp;nbsp;&lt;em&gt;suffix. Other functions defined in the file are not visible outside the file.&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# quoting the name of the package is optional:&lt;/span&gt;&lt;br /&gt;
require(&quot;foo&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or:&lt;/span&gt;&lt;br /&gt;
library(&quot;foo&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# if the package does not exist, require returns false, and library raises an error.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import foo&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;include(&quot;foo.jl&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;list loaded libraries&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;search()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dir()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;library search path&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;path()&lt;br /&gt;
addath(’~/foo&#39;)&lt;br /&gt;
rmpath(&#39;~/foo&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;.libPaths()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;sys.path&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;source file&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;run(&#39;foo.m&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;source(&quot;foo.r&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;install package&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave: how to install package&lt;br /&gt;% downloaded from Octave-Forge:&lt;/span&gt;&lt;br /&gt;
pkg install foo-1.0.0.tar.gz&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;install.packages(&quot;ggplot2&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ pip install scipy&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;load package library&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave:&lt;/span&gt;&lt;br /&gt;
pkg load foo&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;require(&quot;foo&quot;)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# or:&lt;/span&gt;&lt;br /&gt;
library(&quot;foo&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;import foo&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;list installed packages&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% Octave:&lt;/span&gt;&lt;br /&gt;
pkg list&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;library()&lt;br /&gt;
installed.packages()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ pip freeze&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;5&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;リフレクション&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;matlab&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;r&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;numpy&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;julia&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;data type&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;class(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;class(x)&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# often more informative:&lt;/span&gt;&lt;br /&gt;
str(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;type(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;typeof(x)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;attributes&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% if x holds an object:&lt;/span&gt;&lt;br /&gt;
x&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;attributes(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[m for m in dir(x)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if not callable(getattr(o,m))]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;fieldnames(x)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;methods&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;% if x holds an object:&lt;/span&gt;&lt;br /&gt;
methods(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none; objects are implemented by functions which dispatch based on type of first arg&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;[m for m in dir(x)&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;if callable(getattr(o,m))]&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;methods(x)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;variables in scope&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;who()&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;% with size and type:&lt;/span&gt;&lt;br /&gt;
whos()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;objects()&lt;br /&gt;
ls()&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# with type and description:&lt;/span&gt;&lt;br /&gt;
ls.str()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dir()&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;whos()&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;undefine variable&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;clear(&#39;x&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rm(v)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;del(x)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;undefine all variables&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;clear -a&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;rm(list=objects())&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;eval&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(&#39;1 + 1&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(parse(text=&#39;1 + 1&#39;))&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(&#39;1 + 1&#39;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;eval(parse(&quot;1 + 1&quot;))&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;function documentation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;help tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;help(tan)&lt;br /&gt;
?tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;math.tan.&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__doc__&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;?tan&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;list library functions&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;em&gt;none&lt;/em&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;ls(&quot;package:moments&quot;)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;dir(stats)&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;whos(Base)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #0000aa;&quot;&gt;&lt;span style=&quot;transition-delay: initial; transition-duration: 0.3s; transition-property: background-color;&quot;&gt;search documentation&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;docsearch tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;??tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;$ pydoc -k tan&lt;/td&gt;&lt;td colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;border: 1px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;apropos(&quot;tan&quot;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;th colspan=&quot;1&quot; rowspan=&quot;1&quot; style=&quot;background-color: #eeeeee; border: 0px solid rgb(136, 136, 136); padding: 0.3em 0.7em;&quot;&gt;&lt;span style=&quot;color: #efefef; font-family: &amp;quot;lucida grande&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; ,;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;__________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;font-family: &amp;quot;lucida grande&amp;quot;, helvetica, arial, san-serif; font-size: 13.12px; width: 700px;&quot;&gt;
http://hyperpolyglot.org/numerical-analysis#processes-environment&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/4242941582442294205/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/blog-post_20.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/4242941582442294205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/4242941582442294205'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/09/blog-post_20.html' title='類似しているプログラミング言語の文法などの比較まとめチートシート'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-3698463758214499312</id><published>2016-06-17T10:48:00.001+09:00</published><updated>2016-06-25T01:02:27.748+09:00</updated><title type='text'>オランジーナがamazonで無料！</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;
[Amazon.co.jp主催]飲料購買に関するアンケート&lt;br /&gt;
Amazon.co.jpにおける飲料購買についてのアンケートにご協力ください。&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
日頃のご愛顧に感謝して、下記アンケートに全問お答えいただいた方に謝礼として、果汁炭酸飲料で話題の人気商品『サントリー ブラッドオランジーナ』が無料になるクーポンをプレゼント。&lt;br /&gt;
アンケートご回答及びクーポン送付の流れ：&lt;br /&gt;
1.Amazon.co.jpにご自身のアカウントでログインしていただく。&lt;br /&gt;
2.アンケートにご回答いただく。&lt;br /&gt;
3.Amazon.co.jpからクーポンメールが送付される。&lt;br /&gt;
4.クーポンを使用して『サントリー ブラッドオランジーナ』をご購入いただく。&lt;br /&gt;
5.Amazon.co.jpから商品を配送。&amp;nbsp;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
アンケート回答受付期間：&lt;br /&gt;
1回目:2016年06月15日(水)00時00分～2016年06月17日(金)23時59分(日本時間)&lt;br /&gt;
&lt;strike&gt;2回目:2016年06月21日(火)00時00分～2016年06月30日(木)23時59分(日本時間)&lt;/strike&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;(回答者多数により、6/24時点ではアンケートは締め切られたようです。&lt;/span&gt;&lt;span style=&quot;text-align: center;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;a href=&quot;https://www.amazon.co.jp/b/ref=as_li_ss_tl?_encoding=UTF8&amp;amp;camp=247&amp;amp;creative=7399&amp;amp;linkCode=ur2&amp;amp;node=4483152051&amp;amp;tag=oserver-22&quot;&gt;https://www.amazon.co.jp/b/ref=as_li_ss_tl?_encoding=UTF8&amp;amp;camp=247&amp;amp;creative=7399&amp;amp;linkCode=ur2&amp;amp;node=4483152051&amp;amp;tag=oserver-22&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
追記&lt;br /&gt;
アンケート回答の確認メールが届き、先ほど送付手続きを済ませました。送料も無料です。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxuSBC2dtXDcJmKQDX5AoUiOjpKoUrsUUzrZSkhv7lOfU3VPzxYkdZuS6wTkY3QJ6paeRH6Yjg3PAfzap1C1ejfjUUgaZWTwR7_UZ-jkf8_NRH5q2v9cSAZnM1uV1ZUCINDOiE-dTm0T6l/s1600/Screenshot_2016-06-24-21-22-13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxuSBC2dtXDcJmKQDX5AoUiOjpKoUrsUUzrZSkhv7lOfU3VPzxYkdZuS6wTkY3QJ6paeRH6Yjg3PAfzap1C1ejfjUUgaZWTwR7_UZ-jkf8_NRH5q2v9cSAZnM1uV1ZUCINDOiE-dTm0T6l/s320/Screenshot_2016-06-24-21-22-13.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/3698463758214499312/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/06/amazo.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/3698463758214499312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/3698463758214499312'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/06/amazo.html' title='オランジーナがamazonで無料！'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxuSBC2dtXDcJmKQDX5AoUiOjpKoUrsUUzrZSkhv7lOfU3VPzxYkdZuS6wTkY3QJ6paeRH6Yjg3PAfzap1C1ejfjUUgaZWTwR7_UZ-jkf8_NRH5q2v9cSAZnM1uV1ZUCINDOiE-dTm0T6l/s72-c/Screenshot_2016-06-24-21-22-13.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-523558418269913641</id><published>2016-04-18T23:29:00.000+09:00</published><updated>2016-04-18T23:29:19.573+09:00</updated><title type='text'>org.knime.workbench.repository</title><content type='html'>This description point allows to provide meta node templates in the node repository. In order to create a meta node template do the following:
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Create a meta node within KNIME&lt;/li&gt;
&lt;li&gt;Copy the referring directory from the runtime workspace&lt;/li&gt;
&lt;li&gt;Paste it into your plug-in directory&lt;/li&gt;
&lt;li&gt;Add the extension &quot;org.knime.workbench.repository.metanode&quot;&lt;/li&gt;
&lt;li&gt;Fill out the attributes:
&lt;dl&gt;
&lt;dt&gt;workflowDir:&lt;/dt&gt;
&lt;dd&gt;point to the directory containing the meta node (make sure to add the directory also to the binary build in &lt;code&gt;build.properties&lt;/code&gt;&lt;/dd&gt;
&lt;dt&gt;name:&lt;/dt&gt;
&lt;dd&gt;The name is displayed as the name for your meta node template in the node repository&lt;/dd&gt;
&lt;dt&gt;id:&lt;/dt&gt;
&lt;dd&gt;For internal maintainance&lt;/dd&gt;
&lt;dt&gt;category-path:&lt;/dt&gt;
&lt;dd&gt;The path to the category where it is placed within the node repository&lt;/dd&gt;
&lt;dt&gt;after:&lt;/dt&gt;
&lt;dt&gt;Optionally specifiy a node after which the meta node template should appear&lt;/dt&gt;
&lt;/dl&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;dt&gt;icon:&lt;/dt&gt;
&lt;dd&gt;The icon is displayed in the node repository&lt;/dd&gt;
&lt;dt&gt;description:&lt;/dt&gt;
&lt;dd&gt;describe what your node template does. It is displayed in the node description, when your meta node template is selected&lt;/dd&gt;


</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/523558418269913641/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/04/orgknimeworkbenchrepository.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/523558418269913641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/523558418269913641'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/04/orgknimeworkbenchrepository.html' title='org.knime.workbench.repository'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-2172937018889447234</id><published>2016-04-17T15:52:00.002+09:00</published><updated>2016-06-24T21:30:34.802+09:00</updated><title type='text'>KNIMEで自作ノードをNode Repositoryに追加する方法</title><content type='html'>&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6;&quot;&gt;Launch your project (which you are developing )&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6;&quot;&gt;Create a meta node there (just as a normal user would do ) and design/add the sub-flow inside it&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6;&quot;&gt;In the runtime configuration folder there will be a folder created with the name of this meta node. copy the content of that folder to a folder under your plugin directory...and this way the metanode is copied in your plugin.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6;&quot;&gt;Add the metanode extension org.knime.workbench.repository.metanode and put in the relevant information as your metanode name and its working directory ( the directory in your plugin where you have copied the metanode ) and your metanode is ready....&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6;&quot;&gt;so, you donot need to write any java code&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 19.2px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVbChiBULRo659uaiXR0lcxrHZrxDAD315c0RuXrB3SpX4XFiZB-XKzRnHJy3QxYJECeSICmitnX1ejiWgxGLEA2SLjbb62UsmACKPbNQfmMnR_2lFm8ZXmrmMRROdGJcIt2RuLEISeFl7/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2016-04-17+15.51.29.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVbChiBULRo659uaiXR0lcxrHZrxDAD315c0RuXrB3SpX4XFiZB-XKzRnHJy3QxYJECeSICmitnX1ejiWgxGLEA2SLjbb62UsmACKPbNQfmMnR_2lFm8ZXmrmMRROdGJcIt2RuLEISeFl7/s400/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2016-04-17+15.51.29.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 19.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 19.2px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/2172937018889447234/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/04/knimenode-repository.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/2172937018889447234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/2172937018889447234'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/04/knimenode-repository.html' title='KNIMEで自作ノードをNode Repositoryに追加する方法'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVbChiBULRo659uaiXR0lcxrHZrxDAD315c0RuXrB3SpX4XFiZB-XKzRnHJy3QxYJECeSICmitnX1ejiWgxGLEA2SLjbb62UsmACKPbNQfmMnR_2lFm8ZXmrmMRROdGJcIt2RuLEISeFl7/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2016-04-17+15.51.29.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-1982114344093907943</id><published>2016-04-17T15:02:00.000+09:00</published><updated>2016-04-17T15:02:16.503+09:00</updated><title type='text'>KNIME v3.0.0の新機能 (KNIME v2.12.1との比較)</title><content type='html'>&lt;h2 style=&quot;-webkit-margin-before: 0.83em; background-color: white; color: #606060; font-family: Roboto, sans-serif; line-height: 1.2em; margin: 0px 0px 0.5em;&quot;&gt;
&lt;span style=&quot;font-size: 16.8px; line-height: 1.2em;&quot;&gt;Important notes&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;-webkit-margin-after: 1em; -webkit-margin-before: 1em; background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6; margin-bottom: 1em; padding: 0px;&quot;&gt;
KNIME 3.0 is a major new release and comes with some new or slightly modified API. We did our best to retain API stability, though if you have developed custom extensions or using non-standard API (or eclipse API), minor changes to your code or a recompilation are required. We have summarized the changes on this&amp;nbsp;&lt;a href=&quot;https://tech.knime.org/api-changes-in-knime-30&quot; style=&quot;color: #ff9000; text-decoration: none;&quot;&gt;page&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;-webkit-margin-after: 1em; -webkit-margin-before: 1em; background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6; margin-bottom: 1em; padding: 0px;&quot;&gt;
Due to changes in underlying frameworks (e.g. Eclipse and Java) some nodes produce different results than in earlier KNIME version. The result are and have been correct, however the ordering of rows, columns, or items in collections may be different. In very rare cases predictive models are slightly different because in case of ties usually the order of the data items is used as a tie-breaker.&lt;/div&gt;
&lt;div style=&quot;-webkit-margin-after: 1em; -webkit-margin-before: 1em; background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; line-height: 1.6; margin-bottom: 1em; padding: 0px;&quot;&gt;
In particular the following nodes are affected:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; margin: 0.5em 0px 1em; padding: 0px; position: relative;&quot;&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Group By&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Naives Bayes Learner/Predictor&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;SVM Learner/Predictor&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Extract Color&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;One to Many&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;JFreeChart Pie Chart&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;MoSS&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Term co-occurrence counter&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Chi-square keyword extractor&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;NGram creator&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;All tagger nodes from the textprocessing extension&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;K Nearest Neighbor&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Feature Inserter&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Table Indexer&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Shortest Path&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Partition Table&lt;/li&gt;
&lt;/ul&gt;
&lt;hr style=&quot;background: rgb(82, 148, 193); border: none; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; height: 1px; margin: 0px; padding: 0px;&quot; /&gt;
&lt;h3 style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 16.8px; line-height: 1.2em;&quot;&gt;
New Nodes&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; margin: 0.5em 0px 1em; padding: 0px; position: relative;&quot;&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;New Node 5000: Autoregressive integrated moving average model (ARIMA)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;New Node 6157: Grouped Bar Chart JavaScript view based on NVD3&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;New Node 6234: Grouped Pie/Donut Chart JavaScript view based on NVD3&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 16.8px; line-height: 1.2em;&quot;&gt;
Enhancements&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; margin: 0.5em 0px 1em; padding: 0px; position: relative;&quot;&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6394: Major update to KNIME UI - better design, better categorization, better annotation, etc.&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6177: Workflow Anntations: Better handling, locking (no accidental move/edit), update UI (border instead of filled)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6367: Re-organization of node repository + moving some &quot;labs&quot; project into base packages&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 5929: Better support for HiDIP displays&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 3107: Better support for PPT/PPTX and XLS(X) in report designer (BIRT upgrade)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 5916: Upgrade to Java 8&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 5915: Upgrade to Eclipse 4.5&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6397: Upgrade of free Marvin Nodes (3.0.0.v0400)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 4870: Support for &quot;Boolean&quot; and &quot;Long&quot; types in different source nodes (file reader, table creator, ...)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6277: BufferedDataTable to return row count as long&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 2921: Public Examples Server to run on port 80 via http (problems with corporate firewalls blocking outside access to non-standard port/protocol)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6278: New extension point for data types&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6279: New extension point for port types&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6265: Update RSyntaxTextArea to version 2.5.7 for Java 8 support&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6193: Update JSch version to support recent encryption algorithms&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6213: Releases for Mac OS X should be bundled as a proper &quot;Mac App&quot; and/or &quot;Library&quot;&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6015: Molecule readers should create adapter cells instead of primitive cell types&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6248: (Testing Extension) Don&#39;t report failing nodes multiple times&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6256: Show feature name at bottom of node descriptions instead of plug-in name&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6293: Update PostgreSQL JDBC driver&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6281: Add deprecated flag to node extension point&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6282: Move commonly used nodes from separate extensions to base distribution&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6309: Java Snippet to support Java 1.8 syntax&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6315: Double click in tree viewers (node repository, explorer, selection dialogs) should consistently collapse/expand element&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6285: Add &quot;Execute And Open Interactive View&quot; action to node context menu&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6322: File Reader should always derive table name from actual file location (no longer part as individual configuration parameter)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6341: Add method to DataCell for comparing content of different cell classes&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Enh 6337: Write system out/err to separate file while executing testflows&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 16.8px; line-height: 1.2em;&quot;&gt;
Bug Fixes&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; color: #606060; font-family: Roboto, sans-serif; font-size: 12px; margin: 0.5em 0px 1em; padding: 0px; position: relative;&quot;&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6269: Remove unused expert-flag from node extension point&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 5433: WorkflowManager.executeAllAndWaitUntilDone doesn&#39;t return even though no node are running any more&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6369: Click on a selected node should not edit node description&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 2991: Missing Copy&amp;amp;Paste with conflict handling (also in teamspace)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6241: Remove option &quot;Check for updates&quot; in the &quot;Help&quot; menu&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6374: Workflow editing: nested scopes of different type with wrong wiring can result in NPE&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6254: MoSS output found fragments in unreliable order&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6255: JFreeChart Pie Chart may draw segments in unreliable order&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6258: Nominal color model in table spec may shuffle values&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 3649: Node bounding boxes too small at &amp;gt;100%&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6259: Extract System Properties outputs rows in unreliable order&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6261: Call Workflow nodes may output column in unpredictable order&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6051: Undo/Redo buttons are shown twice in toolbar (Eclipse 4.x)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6222: Workflow Projects view to be retired (fully replaced by KNIME Explorer)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6306: PMML reader fails to parse PMML files containing &quot;XML 1.1&quot; features, such as chars 0x01 &amp;amp; 0x02 - to print graceful warning&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6321: File Reader dialog not properly updating &quot;enable&quot; status when flow variables are used&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 2024: Remove deprecated package filetokenizer and SettingsStatus&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 1923: Remove deprecated methods push|peekScopeVariable from NodeModel&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 2159: Unreachable printers block KNIME (disable under linux -- to be enabled in knime.ini again)&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 6311: Intro page doesn&#39;t work properly with Eclipse 4&lt;/li&gt;
&lt;li style=&quot;background: url(&amp;quot;/sites/all/themes/knime/images/menu-leaf.gif&amp;quot;) 1px 0.35em no-repeat transparent; list-style-image: none; list-style-type: none; margin: 0.15em 0px 0.15em 0.5em; padding: 0px 0px 0.2em 1.5em; position: relative;&quot;&gt;Bug 2641: (API Change): Reduce scope of NodeModel#getOutgoingFlowObjectStack() to package access (was never meant to be seen by client code)&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #606060; font-family: Roboto, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/1982114344093907943/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/04/knime-v300-knime-v2121.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/1982114344093907943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/1982114344093907943'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/04/knime-v300-knime-v2121.html' title='KNIME v3.0.0の新機能 (KNIME v2.12.1との比較)'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-4253806155021355239</id><published>2016-01-31T22:04:00.001+09:00</published><updated>2016-05-07T12:15:13.952+09:00</updated><title type='text'>水戸のあんこう鍋情報</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&amp;#27700;&amp;#25144;&amp;#12391;&amp;#12354;&amp;#12435;&amp;#12371;&amp;#12358;&amp;#37707;&amp;#12392;&amp;#12356;&amp;#12360;&amp;#12400;&amp;#12289;&amp;#12392;&amp;#12426;&amp;#12354;&amp;#12360;&amp;#12378;&amp;#12399;&amp;#27849;&amp;#30010;&amp;#12398;&amp;#12300;&amp;#23665;&amp;#32736;&amp;#65288;&amp;#12373;&amp;#12435;&amp;#12377;&amp;#12356;&amp;#65289;&amp;#12301;&amp;#12391;&amp;#12377;&amp;#12290;&lt;br&gt;
&lt;a href=&quot;http://www.sansui-mito.com/&quot;&gt;http://www.sansui-mito.com/&lt;/a&gt;&lt;br&gt;
&amp;#12288;&amp;#12385;&amp;#12423;&amp;#12387;&amp;#12392;&amp;#23450;&amp;#30058;&amp;#12377;&amp;#12366;&amp;#12427;&amp;#24863;&amp;#12376;&amp;#12364;&amp;#12354;&amp;#12426;&amp;#12414;&amp;#12377;&amp;#12290;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;#12300;&amp;#23450;&amp;#30058;&amp;#12301;&amp;#12392;&amp;#12356;&amp;#12358;&amp;#28857;&amp;#12391;&amp;#12399;&amp;#27425;&amp;#28857;&amp;#12392;&amp;#12394;&amp;#12427;&amp;#12398;&amp;#12364;&amp;#12289;&amp;#37504;&amp;#26447;&amp;#22338;&amp;#12398;&amp;#12300;&amp;#20116;&amp;#37941; &amp;#22818;&amp;#22659;&amp;#24245;&amp;#65288;&amp;#12372;&amp;#12390;&amp;#12388;&amp;#12416;&amp;#12365;&amp;#12423;&amp;#12358;&amp;#12354;&amp;#12435;&amp;#65289;&amp;#12301;&amp;#12290;&lt;br&gt;
&lt;a href=&quot;http://tabelog.com/ibaraki/A0801/A080101/8000382/&quot;&gt;http://tabelog.com/ibaraki/A0801/A080101/8000382/&lt;/a&gt;&lt;br&gt;
&amp;#12288;&amp;#12383;&amp;#12384;&amp;#12289;&amp;#20693;&amp;#12399;&amp;#12371;&amp;#12371;&amp;#12391;&amp;#12399;&amp;#12354;&amp;#12435;&amp;#12371;&amp;#12358;&amp;#12399;&amp;#39135;&amp;#12409;&amp;#12383;&amp;#12371;&amp;#12392;&amp;#12394;&amp;#12356;&amp;#12391;&amp;#12377;&amp;#12290;&lt;br&gt;
&amp;#12288;&amp;#26172;&amp;#12395;&amp;#36557;&amp;#40335;&amp;#12398;&amp;#35242;&amp;#23376;&amp;#20028;&amp;#12434;&amp;#39135;&amp;#12409;&amp;#12395;&amp;#34892;&amp;#12367;&amp;#12398;&amp;#12391;&amp;#12377;&amp;#12290;&amp;#12371;&amp;#12428;&amp;#12364;&amp;#12358;&amp;#12414;&amp;#12356;&amp;#12290;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;#12418;&amp;#12358;&amp;#23569;&amp;#12375;&amp;#12450;&amp;#12483;&amp;#12488;&amp;#12507;&amp;#12540;&amp;#12512;&amp;#12394;&amp;#12392;&amp;#12371;&amp;#12429;&amp;#12384;&amp;#12392;&amp;#12289;&amp;#23470;&amp;#19979;&amp;#37504;&amp;#24231;&amp;#12398;&amp;#12300;&amp;#20124;&amp;#36335;&amp;#38491;&amp;#65288;&amp;#12354;&amp;#12376;&amp;#12408;&amp;#12356;&amp;#65289;&amp;#12301;&amp;#12290;&lt;br&gt;
&lt;a href=&quot;http://www.hotpepper.jp/strJ000304324/&quot;&gt;http://www.hotpepper.jp/strJ000304324/&lt;/a&gt;&lt;br&gt;
&amp;#12288;&amp;#22823;&amp;#34886;&amp;#30340;&amp;#12394;&amp;#38640;&amp;#22258;&amp;#27671;&amp;#12394;&amp;#12398;&amp;#12391;&amp;#12289;&amp;#12367;&amp;#12388;&amp;#12429;&amp;#12370;&amp;#12427;&amp;#30456;&amp;#25163;&amp;#12391;&amp;#12354;&amp;#12428;&amp;#12400;&amp;#33391;&amp;#12356;&amp;#12363;&amp;#12418;&amp;#30693;&amp;#12428;&amp;#12414;&amp;#12379;&amp;#12435;&amp;#12290;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;#22823;&amp;#31348;&amp;#12392;&amp;#12375;&amp;#12390;&amp;#12399;&amp;#12289;&amp;#12367;&amp;#12429;&amp;#12400;&amp;#12397;&amp;#21830;&amp;#24215;&amp;#34903;&amp;#65288;&amp;#35023;&amp;#65289;&amp;#12398;&amp;#12300;&amp;#12362;&amp;#12363;&amp;#12360;&amp;#12426;&amp;#12398;&amp;#21619;&amp;#12288;&amp;#12363;&amp;#12378;&amp;#12371;&amp;#12301;&amp;#12290;&lt;br&gt;
&lt;a href=&quot;http://cpstyle.jp/mito/shops/146194&quot;&gt;http://cpstyle.jp/mito/shops/146194&lt;/a&gt;&lt;br&gt;
&amp;#12288;&amp;#27880;&amp;#25991;&amp;#12375;&amp;#12394;&amp;#12367;&amp;#12390;&amp;#12418;&amp;#12356;&amp;#12429;&amp;#12356;&amp;#12429;&amp;#20986;&amp;#12390;&amp;#12367;&amp;#12427;&amp;#23455;&amp;#23478;&amp;#24418;&amp;#24335;&amp;#12289;&amp;#12381;&amp;#12428;&amp;#12391;&amp;#12356;&amp;#12390;&amp;#39514;&amp;#12367;&amp;#12411;&amp;#12393;&amp;#23433;&amp;#12356;&amp;#12290;&lt;br&gt;
&amp;#12288;&amp;#12391;&amp;#12418;&amp;#12289;&amp;#12392;&amp;#12390;&amp;#12388;&amp;#12418;&amp;#12394;&amp;#12367;&amp;#22823;&amp;#12365;&amp;#12356;&amp;#12450;&amp;#12531;&amp;#12461;&amp;#12514;&amp;#12418;&amp;#20986;&amp;#12375;&amp;#12390;&amp;#12367;&amp;#12428;&amp;#12427;&amp;#12375;&amp;#12289;&amp;#12356;&amp;#12356;&amp;#12354;&amp;#12435;&amp;#12371;&amp;#12358;&amp;#12434;&amp;#20986;&amp;#12375;&amp;#12390;&amp;#12367;&amp;#12428;&amp;#12414;&amp;#12377;&amp;#12290;&lt;br&gt;
&amp;#12288;&amp;#12383;&amp;#12384;&amp;#12375;&amp;#12487;&amp;#12451;&amp;#12540;&amp;#12503;&amp;#12394;&amp;#38640;&amp;#22258;&amp;#27671;&amp;#12394;&amp;#12398;&amp;#12391;&amp;#12289;&amp;#12381;&amp;#12358;&amp;#12356;&amp;#12358;&amp;#29366;&amp;#27841;&amp;#12434;&amp;#27005;&amp;#12375;&amp;#12417;&amp;#12427;&amp;#30456;&amp;#25163;&amp;#12391;&amp;#12394;&amp;#12356;&amp;#12392;NG&amp;#12391;&amp;#12377;&amp;#12290;&lt;br&gt;
&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/4253806155021355239/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2016/01/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/4253806155021355239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/4253806155021355239'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2016/01/blog-post.html' title='水戸のあんこう鍋情報'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-7288549331191050789</id><published>2015-10-25T16:42:00.001+09:00</published><updated>2015-10-25T16:42:43.610+09:00</updated><title type='text'>理系解析ソフトを無料で作成します</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&amp;#22823;&amp;#23398;&amp;#12398;&amp;#12524;&amp;#12509;&amp;#12540;&amp;#12488;&amp;#29992;&amp;#12289;&amp;#30740;&amp;#31350;&amp;#23460;&amp;#12391;&amp;#12398;&amp;#31777;&amp;#26131;&amp;#35299;&amp;#26512;&amp;#29992;&amp;#12289;&amp;#20250;&amp;#31038;&amp;#12398;&amp;#31777;&amp;#26131;&amp;#35299;&amp;#26512;&amp;#29992;&amp;#12434;&amp;#24819;&amp;#23450;&amp;#12375;&amp;#12390;&amp;#12356;&amp;#12414;&amp;#12377;&amp;#12290;&amp;#35328;&amp;#35486;&amp;#12399;&amp;#12289;m&amp;#35328;&amp;#35486;&amp;#12414;&amp;#12383;&amp;#12399;python&amp;#12391;&amp;#23455;&amp;#26045;&amp;#12375;&amp;#12289;&amp;#12477;&amp;#12540;&amp;#12473;&amp;#12501;&amp;#12449;&amp;#12452;&amp;#12523;&amp;#12418;&amp;#12362;&amp;#28193;&amp;#12375;&amp;#12375;&amp;#12414;&amp;#12377;&amp;#12290;&lt;br&gt;
&amp;#12503;&amp;#12525;&amp;#12464;&amp;#12521;&amp;#12512;&amp;#20316;&amp;#25104;&amp;#12399;&amp;#28961;&amp;#26009;&amp;#12391;&amp;#23455;&amp;#26045;&amp;#12375;&amp;#12414;&amp;#12377;&amp;#12364;&amp;#12289;&amp;#19968;&amp;#23450;&amp;#26399;&amp;#38291;&amp;#65288;&amp;#35201;&amp;#30456;&amp;#35527;&amp;#65289;&amp;#12364;&amp;#32076;&amp;#36942;&amp;#24460;&amp;#12289;&amp;#12477;&amp;#12540;&amp;#12473;&amp;#12399;&amp;#35504;&amp;#12391;&amp;#12418;&amp;#12450;&amp;#12463;&amp;#12475;&amp;#12473;&amp;#21487;&amp;#33021;&amp;#12395;&amp;#12375;&amp;#12414;&amp;#12377;&amp;#12290;&amp;#35443;&amp;#12375;&amp;#12367;&amp;#12399;&amp;#12289;&amp;#12484;&amp;#12452;&amp;#12483;&amp;#12479;&amp;#12540;&amp;#12391; @tetsuji16 &amp;#23451;&amp;#12395;&amp;#12513;&amp;#12483;&amp;#12475;&amp;#12540;&amp;#12472;&amp;#12375;&amp;#12390;&amp;#19979;&amp;#12373;&amp;#12356;&amp;#12290;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/7288549331191050789/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2015/10/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7288549331191050789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7288549331191050789'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2015/10/blog-post.html' title='理系解析ソフトを無料で作成します'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-1862369739403365733</id><published>2015-07-08T08:08:00.001+09:00</published><updated>2015-07-08T08:08:31.309+09:00</updated><title type='text'>Google play ニュースがSDカードへの記事保存に対応</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;&amp;#20037;&amp;#12375;&amp;#12406;&amp;#12426;&amp;#12395;Google play &amp;#12491;&amp;#12517;&amp;#12540;&amp;#12473;&amp;#12398;&amp;#35373;&amp;#23450;&amp;#12434;&amp;#30906;&amp;#35469;&amp;#12375;&amp;#12383;&amp;#12392;&amp;#12371;&amp;#12429;&amp;#12289;SD&amp;#12459;&amp;#12540;&amp;#12489;&amp;#12408;&amp;#12398;&amp;#35352;&amp;#20107;&amp;#20445;&amp;#23384;&amp;#12395;&amp;#23550;&amp;#24540;&amp;#23550;&amp;#24540;&amp;#12375;&amp;#12390;&amp;#12414;&amp;#12375;&amp;#12383;&amp;#12290; &amp;#27671;&amp;#12364;&amp;#20184;&amp;#12356;&amp;#12390;&amp;#12356;&amp;#12394;&amp;#12356;&amp;#20154;&amp;#12418;&amp;#22810;&amp;#12356;&amp;#12392;&amp;#24605;&amp;#12358;&amp;#12398;&amp;#12391;&amp;#25237;&amp;#31295;&amp;#12290;&amp;#35373;&amp;#23450;&amp;#12363;&amp;#12425;&amp;#12289;SD&amp;#12459;&amp;#12540;&amp;#12489;&amp;#12395;&amp;#12467;&amp;#12531;&amp;#12486;&amp;#12531;&amp;#12484;&amp;#12434;&amp;#20445;&amp;#23384;&amp;#12395;&amp;#12481;&amp;#12455;&amp;#12483;&amp;#12463;&amp;#12434;&amp;#20837;&amp;#12428;&amp;#12428;&amp;#12400;&amp;#35373;&amp;#23450;&amp;#23436;&amp;#20102;&amp;#12391;&amp;#12377;&amp;#12290;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&amp;#12371;&amp;#12428;&amp;#12391;&amp;#12289;&amp;#21476;&amp;#12356;&amp;#25658;&amp;#24111;&amp;#12391;&amp;#12418;&amp;#23481;&amp;#37327;&amp;#12434;&amp;#22311;&amp;#36843;&amp;#12377;&amp;#12427;&amp;#12371;&amp;#12392;&amp;#12394;&amp;#12367;&amp;#24555;&amp;#36969;&amp;#12395;&amp;#12394;&amp;#12426;&amp;#12414;&amp;#12377;&amp;#12397;&amp;#12290;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/1862369739403365733/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2015/07/google-play-sd.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/1862369739403365733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/1862369739403365733'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2015/07/google-play-sd.html' title='Google play ニュースがSDカードへの記事保存に対応'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-7107526068906832132</id><published>2015-06-13T22:22:00.004+09:00</published><updated>2015-06-13T22:22:47.156+09:00</updated><title type='text'>数値科学計算用、主要Pythonパッケージ</title><content type='html'>数値科学計算用に用いられる、Pythonの主要パッケージをまとめました。&lt;br /&gt;
&lt;br /&gt;
行列計算&lt;br /&gt;
　NumPy&lt;br /&gt;
科学計算&lt;br /&gt;
　SciPy&lt;br /&gt;
データ操作/処理&lt;br /&gt;
　Pandas&lt;br /&gt;
データ可視化&lt;br /&gt;
　matplotlib&lt;br /&gt;
機械学習&lt;br /&gt;
　scikit-learn&lt;br /&gt;
数式処理&lt;br /&gt;
　SymPy&lt;br /&gt;
ディープラーニング&lt;br /&gt;
　Pylearn2&lt;br /&gt;
データ分析、可視化&lt;br /&gt;
　Orange&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/7107526068906832132/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2015/06/python.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7107526068906832132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/7107526068906832132'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2015/06/python.html' title='数値科学計算用、主要Pythonパッケージ'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6844611188591432607.post-5204500454324155618</id><published>2015-05-24T20:23:00.001+09:00</published><updated>2015-06-14T00:06:30.696+09:00</updated><title type='text'>Matlab/Octaveの判別</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfFsvRJHXsZxNDDjY3YcXKxoFdj693rtNWHZElx0U0tJlzS1Q6CYvSGuacrnoNTkBNK8kqFScdxHL5SO7jqdMKJzizdETzh51srjoFnBhTICCXjmL2Roi-syiGMLOkUsg6texaQwRa1Fq/s1600/logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfFsvRJHXsZxNDDjY3YcXKxoFdj693rtNWHZElx0U0tJlzS1Q6CYvSGuacrnoNTkBNK8kqFScdxHL5SO7jqdMKJzizdETzh51srjoFnBhTICCXjmL2Roi-syiGMLOkUsg6texaQwRa1Fq/s200/logo.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL71a-5AeROdsluix2PRGX69uBMoPCP7KK0Za_olS2-dtqI2smbWEcYS2k2aVTgjGCyFJ1cTinGN2Nu0wXGXpH924v7F851wF_XfgCCFtCbqoq3rrJ-tqa-zOugdJQDzjbDVEATYiKQPF6/s1600/Matlab_Logo+%25281%2529.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL71a-5AeROdsluix2PRGX69uBMoPCP7KK0Za_olS2-dtqI2smbWEcYS2k2aVTgjGCyFJ1cTinGN2Nu0wXGXpH924v7F851wF_XfgCCFtCbqoq3rrJ-tqa-zOugdJQDzjbDVEATYiKQPF6/s200/Matlab_Logo+%25281%2529.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: palatino, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: palatino, serif;&quot;&gt;MatlabとOctaveで微妙に関数の形が違う場合や、そもそもMatlabで定義されていない関数も存在します。その場合は、MatlabとOctaveで共通化できるところは共通化し、共通化できないところは、MatlabとOctaveで別々の処理を行うようにプログラムを作成する必要があります。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: palatino, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: palatino, serif;&quot;&gt;MatlabかOctaveのどちらでプログラムを実行しているか判別するには、&lt;/span&gt;&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;Octaveだけに存在する&lt;/span&gt;&lt;code&gt;OCTAVE_VERSION&lt;/code&gt;&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;というビルトイン関数があるかどうかを使用します。以下のように、if文を追加することで、MatlabとOctaveで別々の処理を実行することができます。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;if exist&lt;/span&gt;(&#39;OCTAVE_VERSION&#39;) == 5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;% ここにOctave用コードを記載&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;% ここにMATLAB用コードを記載&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;end&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;tt&gt;※exist()&lt;/tt&gt;&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;は、引数に与えた名称がビルトイン関数であれば5を戻す関数です。(その他、変数なら1、ファイル名なら2、.mexや.octなら3、ディレクトリなら7など、様々なものの判定に使えます)&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: palatino, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tetsuji-16.blogspot.com/feeds/5204500454324155618/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://tetsuji-16.blogspot.com/2015/05/matlaboctave.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5204500454324155618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6844611188591432607/posts/default/5204500454324155618'/><link rel='alternate' type='text/html' href='http://tetsuji-16.blogspot.com/2015/05/matlaboctave.html' title='Matlab/Octaveの判別'/><author><name>tk</name><uri>http://www.blogger.com/profile/18137937524491208562</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfFsvRJHXsZxNDDjY3YcXKxoFdj693rtNWHZElx0U0tJlzS1Q6CYvSGuacrnoNTkBNK8kqFScdxHL5SO7jqdMKJzizdETzh51srjoFnBhTICCXjmL2Roi-syiGMLOkUsg6texaQwRa1Fq/s72-c/logo.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>