annotate index.md @ 66:a7952259f5d3 kai

Markdownify more pages, make better use of SVG and CSS.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 12 Oct 2016 01:48:26 +0200
parents 0a7baadc93a4
children 5e297505996c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 ---
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
2 layout: default
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3 ---
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
4
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
5 **[GNU Octave][1]** is a high-level interpreted language,
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
6 primarily intended for numerical computations,
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
7 with built-in plotting and visualization capabilities.
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
8 Many [Octave Forge packages][2] provide useful extensions for
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
9 several scientific and engineering applications.
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
10 The GNU Octave language is quite similar to [Matlab][3]
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
11 so that most programs are easily portable.
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
12
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
13 Octave is distributed under the terms of the
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
14 [GNU General Public License][4].
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
15
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
16 [![GNU Octave 4.0.3 - Licensed under CC BY-SA 3.0][screen-small]][screen]
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
17
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
18 [1]: http://www.octave.org
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
19 [2]: http://octave.sourceforge.net/packages.php
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
20 [3]: https://www.mathworks.com/matlab
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
21 [4]: https://www.gnu.org/copyleft/gpl.html
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
22 [screen]: {{ "/img/screenshot-2016.png" | relative_url }}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
23 [screen-small]: {{ "/img/screenshot-2016-small.png" | relative_url }}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
24
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
26
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
27 ---
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
28
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
29 # [{% octicon rss class:"octicon-rss-octave" %}]({{ "/feed.xml" | relative_url }}) News
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
30
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
31 {% for post in site.posts limit:3 %}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
32 - [{{ post.title }}]({{ post.url | relative_url }})
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
33 ({{ post.date | date: "%b %-d, %Y" }}):
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
34 <span class="post-small">{{ post.excerpt | strip_html}}
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
35 {% endfor %}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
36
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
37
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
38
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
39 ---
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
40
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
41 ## Some Examples
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
42
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
43 - Solve systems of equations with linear algebra operations on
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
44 **vectors** and **matrices**:
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
45
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
46 {% highlight octave %}
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
47 b = [4; 9; 2] % Column vector
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
48 A = [ 3 4 5;
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
49 1 3 1;
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
50 3 5 9 ]
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
51 x = A \ b % Solve $Ax = b$ by inverting A
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
52 {% endhighlight %}
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
53
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
54 - Visualize data with **high-level plot commands** in 2D and 3D:
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
55
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
56 {% highlight octave %}
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
57 x = -10:0.1:10 % Create an evenly-spaced vector from -10..10
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
58 y = sin(x) % y is also a vector
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
59 plot(x,y)
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
60 {% endhighlight %}
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
61
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
62 ![Sine plot]({{ "/img/plot.png" | relative_url }})