Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 5e4b068

Browse files
committedJun 10, 2017
docs: update README to reflect changes to matrices
1 parent badf7f5 commit 5e4b068

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,16 @@ Operation | Description
8787
`m.at(n)` | Access the n-th row of the matrix as a constant
8888
`m.at(n, x)` | Access the element at row n and col x as a constant
8989
`m * v` | Multiply matrix `m` with vector `v`
90+
`m * a` | Multiply matrix `m` with matrix `a`
91+
`m * s` | Multiply matrix `m` with scalar `s`
92+
`-m` | Negate matrix `m`
9093
`a + b` | Add the matrices
9194
`a - b` | Subtract the matrices
9295
`a.equal(b, e)` | Tests if the matrix `a` is equal to `b` with the accuary `e`
9396
`a == b` | Tests if the matrix `a` is equal to `b`
9497
`a != b` | Tests if the matrix `a` is not equal to `b`
95-
`a.width()` | Get the number of matrix cols
96-
`a.height()` | Get the number of matrix rows
98+
`a.colCount()` | Get the number of matrix cols
99+
`a.rowCount()` | Get the number of matrix rows
97100
`a.to_string()` | Generate a string representation of the matrix
98101

99102
## What is planned?

0 commit comments

Comments
 (0)