README.md in matrix_extensions-0.0.4 vs README.md in matrix_extensions-0.0.5
- old
+ new
@@ -45,19 +45,16 @@
Matrix[ [2,4], [1,4] ].element_exponentiation Matrix[ [2,4], [1,4]] ]
=> Matrix[[4, 256], [1, 256]]
```
-**Prefilled matrix with zeros or ones:**
+**Prefilled matrix with ones:**
```ruby
require 'matrix_extensions' # if not loaded automatically
-Matrix.zeros(2,4)
-=> Matrix[[0, 0, 0, 0], [0, 0, 0, 0]]
-
-Matrix.ones(2,2)
+Matrix.one(2,2)
=> Matrix[[1, 1], [1, 1]]
```
**Concatenating matrices and vectors horizontally:**
@@ -106,10 +103,10 @@
```ruby
require 'matrix_extensions' # if not loaded automatically
Matrix[ [1,2,3], [4,5,6], [7,8,9] ].vpop(2)
-=> Matrix[[1, 2, 3]]
+=> => Matrix[[7, 8, 9], [4, 5, 6]]
```
## Contributing
1. Fork it ( https://github.com/[my-github-username]/matrix_extensions/fork )