README cleanup
This commit is contained in:
parent
9fed1f736a
commit
f49e03b71d
14
README.md
14
README.md
@ -100,11 +100,11 @@ Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
|||||||
|
|
||||||
## 1. The Very Basics
|
## 1. The Very Basics
|
||||||
|
|
||||||
### [`HelloWorld.mps`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorld.mps)
|
### [`HelloWorld.m`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorld.m)
|
||||||
|
|
||||||
Hello world
|
Hello world
|
||||||
|
|
||||||
### [`HelloWorldInLoop.mps`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorldInLoop.mps)
|
### [`HelloWorldInLoop.m`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorldInLoop.m)
|
||||||
|
|
||||||
Hello world
|
Hello world
|
||||||
Hello world
|
Hello world
|
||||||
@ -117,7 +117,7 @@ Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
|||||||
Hello world
|
Hello world
|
||||||
Hello world
|
Hello world
|
||||||
|
|
||||||
### [`HelloWorldInAnotherLoop.mps`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorldInAnotherLoop.mps)
|
### [`HelloWorldInAnotherLoop.m`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorldInAnotherLoop.m)
|
||||||
|
|
||||||
Hello world
|
Hello world
|
||||||
Hello world
|
Hello world
|
||||||
@ -130,7 +130,7 @@ Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
|||||||
Hello world
|
Hello world
|
||||||
Hello world
|
Hello world
|
||||||
|
|
||||||
### [`HelloWorldInNestedLoop.mps`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorldInNestedLoop.mps)
|
### [`HelloWorldInNestedLoop.m`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/HelloWorldInNestedLoop.m)
|
||||||
|
|
||||||
1:1 Hello world
|
1:1 Hello world
|
||||||
1:2 Hello world
|
1:2 Hello world
|
||||||
@ -143,7 +143,7 @@ Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
|||||||
2:4 Hello world
|
2:4 Hello world
|
||||||
2:5 Hello world
|
2:5 Hello world
|
||||||
|
|
||||||
### [`ArithmeticOperations.mps`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/ArithmeticOperations.mps)
|
### [`ArithmeticOperations.m`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/ArithmeticOperations.m)
|
||||||
|
|
||||||
There were 7 apples, 8 pears and 9 oranges,
|
There were 7 apples, 8 pears and 9 oranges,
|
||||||
a total of 24 fruits in a basket.
|
a total of 24 fruits in a basket.
|
||||||
@ -152,7 +152,7 @@ Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
|||||||
Now there are 21 fruits in the basket,
|
Now there are 21 fruits in the basket,
|
||||||
the average fruit value is 7.
|
the average fruit value is 7.
|
||||||
|
|
||||||
### [`Arrays.mps`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/Arrays.mps)
|
### [`Arrays.m`](https://github.com/programarivm/mumps-examples/blob/master/01-the-very-basics/Arrays.m)
|
||||||
|
|
||||||
Approaching the solar system:
|
Approaching the solar system:
|
||||||
Mercury
|
Mercury
|
||||||
@ -181,7 +181,7 @@ Copy the examples into your `~/.fis-gtm/V6.3-003A_x86_64/r` folder and run:
|
|||||||
|
|
||||||
## 2. User Defined Functions
|
## 2. User Defined Functions
|
||||||
|
|
||||||
### [`FactorialByReference.mps`](https://github.com/programarivm/mumps-examples/blob/master/02-user-defined-functions/FactorialByReference.mps)
|
### [`FactorialByReference.m`](https://github.com/programarivm/mumps-examples/blob/master/02-user-defined-functions/FactorialByReference.m)
|
||||||
|
|
||||||
Enter n: 5
|
Enter n: 5
|
||||||
5! = 120
|
5! = 120
|
||||||
|
Loading…
x
Reference in New Issue
Block a user