|
M4RIE
0.20120415
|
Functions | |
| void | mzd_slice_set_ui (mzd_slice_t *A, word value) |
| Return diagonal matrix with value on the diagonal. | |
| static void | mzd_slice_randomize (mzd_slice_t *A) |
| Fill matrix A with random elements. | |
| static mzd_slice_t * | mzd_slice_copy (mzd_slice_t *B, const mzd_slice_t *A) |
| Copy matrix A to B. | |
| static word | mzd_slice_read_elem (const mzd_slice_t *A, const rci_t row, const rci_t col) |
| Get the element at position (row,col) from the matrix A. | |
| static void | mzd_slice_add_elem (mzd_slice_t *A, const rci_t row, const rci_t col, word elem) |
| At the element elem to the element at position (row,col) in the matrix A. | |
| static void | mzd_slice_write_elem (mzd_slice_t *A, const rci_t row, const rci_t col, word elem) |
| Write the element elem to the position (row,col) in the matrix A. | |
| void | mzed_randomize (mzed_t *A) |
| Fill matrix A with random elements. | |
| mzed_t * | mzed_copy (mzed_t *B, const mzed_t *A) |
| Copy matrix A to B. | |
| void | mzed_set_ui (mzed_t *A, word value) |
| Return diagonal matrix with value on the diagonal. | |
| static word | mzed_read_elem (const mzed_t *A, const rci_t row, const rci_t col) |
| Get the element at position (row,col) from the matrix A. | |
| static void | mzed_add_elem (mzed_t *A, const rci_t row, const rci_t col, const word elem) |
| At the element elem to the element at position (row,col) in the matrix A. | |
| static void | mzed_write_elem (mzed_t *A, const rci_t row, const rci_t col, const word elem) |
| Write the element elem to the position (row,col) in the matrix A. | |
| static void mzd_slice_add_elem | ( | mzd_slice_t * | A, |
| const rci_t | row, | ||
| const rci_t | col, | ||
| word | elem | ||
| ) | [inline, static] |
At the element elem to the element at position (row,col) in the matrix A.
| A | Target matrix. |
| row | Starting row. |
| col | Starting column. |
| elem | finite field element. |
| static mzd_slice_t* mzd_slice_copy | ( | mzd_slice_t * | B, |
| const mzd_slice_t * | A | ||
| ) | [inline, static] |
Copy matrix A to B.
| B | May be NULL for automatic creation. |
| A | Source matrix. |
| static void mzd_slice_randomize | ( | mzd_slice_t * | A | ) | [inline, static] |
Fill matrix A with random elements.
| A | Matrix |
| static word mzd_slice_read_elem | ( | const mzd_slice_t * | A, |
| const rci_t | row, | ||
| const rci_t | col | ||
| ) | [inline, static] |
Get the element at position (row,col) from the matrix A.
| A | Source matrix. |
| row | Starting row. |
| col | Starting column. |
| void mzd_slice_set_ui | ( | mzd_slice_t * | A, |
| word | value | ||
| ) |
Return diagonal matrix with value on the diagonal.
If the matrix is not square then the largest possible square submatrix is used.
| A | Matrix. |
| value | Finite Field element. |
| static void mzd_slice_write_elem | ( | mzd_slice_t * | A, |
| const rci_t | row, | ||
| const rci_t | col, | ||
| word | elem | ||
| ) | [inline, static] |
Write the element elem to the position (row,col) in the matrix A.
| A | Target matrix. |
| row | Starting row. |
| col | Starting column. |
| elem | finite field element. |
| static void mzed_add_elem | ( | mzed_t * | A, |
| const rci_t | row, | ||
| const rci_t | col, | ||
| const word | elem | ||
| ) | [inline, static] |
At the element elem to the element at position (row,col) in the matrix A.
| A | Target matrix. |
| row | Starting row. |
| col | Starting column. |
| elem | finite field element. |
Copy matrix A to B.
| B | May be NULL for automatic creation. |
| A | Source matrix. |
| void mzed_randomize | ( | mzed_t * | A | ) |
Fill matrix A with random elements.
| A | Matrix |
| static word mzed_read_elem | ( | const mzed_t * | A, |
| const rci_t | row, | ||
| const rci_t | col | ||
| ) | [inline, static] |
Get the element at position (row,col) from the matrix A.
| A | Source matrix. |
| row | Starting row. |
| col | Starting column. |
| void mzed_set_ui | ( | mzed_t * | A, |
| word | value | ||
| ) |
Return diagonal matrix with value on the diagonal.
If the matrix is not square then the largest possible square submatrix is used.
| A | Matrix |
| value | Finite Field element |
| static void mzed_write_elem | ( | mzed_t * | A, |
| const rci_t | row, | ||
| const rci_t | col, | ||
| const word | elem | ||
| ) | [inline, static] |
Write the element elem to the position (row,col) in the matrix A.
| A | Target matrix. |
| row | Starting row. |
| col | Starting column. |
| elem | finite field element. |
1.8.0