octave-crib: add notebook.css link
This commit is contained in:
parent
e32e1efffe
commit
9ed2ada0d6
1 changed files with 21 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#+html_head: <script type="text/javascript" src="http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js"></script>
|
||||
#+html_head: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/htmlize.css"/>
|
||||
#+html_head: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/readtheorg.css"/>
|
||||
#+html_head: <link rel="stylesheet" type="text/css" href="../css/notebook.css" />
|
||||
#+html_link_home: ../../../index.html
|
||||
#+html_link_up: ../../../index.html
|
||||
|
||||
|
|
@ -32,6 +33,11 @@
|
|||
octave>
|
||||
#+end_example
|
||||
|
||||
** comments
|
||||
#+begin_example
|
||||
octave> x=2 % everything after the % is ignored
|
||||
#+end_example
|
||||
|
||||
** directory commands from octave prompt
|
||||
#+begin_example
|
||||
octave> pwd
|
||||
|
|
@ -60,6 +66,21 @@
|
|||
ans = 26
|
||||
#+end_example
|
||||
|
||||
** for-loops
|
||||
#+begin_example
|
||||
octave> fib=ones(1,11);
|
||||
octave> fib(1)=0;
|
||||
octave> for i=3:11
|
||||
octave> fib(i)=fib(i-1)+fib(i-2);
|
||||
octave> endfor
|
||||
octave> fib
|
||||
#+end_example
|
||||
|
||||
#+begin_example
|
||||
fib =
|
||||
0 1 1 2 3 5 8 13 21 34 55
|
||||
#+end_example
|
||||
|
||||
* Provenance
|
||||
- ~.org~ source for this page is here: file:octave-crib-src.org
|
||||
- git hash: src_sh{git rev-parse HEAD}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue