#include <etk/types.hpp>
#include <etk/math/Vector2D.hpp>
#include <vector>
Go to the source code of this file.
- Author
- Edouard DUPIN
- Copyright
- 2011, Edouard DUPIN, all right reserved
- Note
- License: APACHE v2.0 (see license file)
§ dmat
Helper to simplify using of matrix.
§ imat
Helper to simplify using of matrix.
§ mat
Helper to simplify using of matrix.
§ uimat
Helper to simplify using of matrix.
§ clear()
Clear all the matrix.
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
§ eye()
Clear and set the diagonal at 1.
§ identity()
Set the matrix identity.
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
§ makeRandom()
void makeRandom |
( |
float |
_range | ) |
|
Generate a compleate random Matrix.
- Parameters
-
[in] | _range | The min/max value of the random Generation [-range..range]. |
§ maxDifference()
T maxDifference |
( |
const Matrix< T > & |
_input | ) |
const |
Return the maximum of the diff for this Matrix.
- Parameters
-
[in] | _input | The compared Matix. |
- Returns
- The absolute max value.
§ size()
Get the size of the current Matrix.
- Returns
- Dimention of the matrix