|
Bsoft
1.9
Bernard's software package
|
Go to the source code of this file.
Functions | |
| int | matrix_show (Bmatrix matrix) |
| Displays the matrix contents. More... | |
| Bimage * | img_from_matrix (Bmatrix matrix) |
| Converts a matrix to an image. More... | |
| Bmatrix | matrix_random (long m, long n) |
| Generates a matrix with random values. More... | |
| int | matrix_rearrange (Bmatrix matrix, int *order) |
| Rearranges a matrix with a given order. More... | |
Variables | |
| int | verbose |
Converts a matrix to an image.
| Bmatrix | matrix matrix. |
Definition at line 50 of file Bmatrix.cpp.
| Bmatrix matrix_random | ( | long | m, |
| long | n | ||
| ) |
Generates a matrix with random values.
| int | m first dimension. |
| int | n second dimension. |
Definition at line 67 of file Bmatrix.cpp.
| int matrix_rearrange | ( | Bmatrix | matrix, |
| int * | order | ||
| ) |
Rearranges a matrix with a given order.
| Bmatrix* | matrix matrix. |
| int* | order new order of rows and columns. |
Definition at line 88 of file Bmatrix.cpp.
| int matrix_show | ( | Bmatrix | matrix | ) |
Displays the matrix contents.
| Bmatrix | matrix a pointer to the matrix. |
Definition at line 21 of file Bmatrix.cpp.
| int verbose |