2024-09-26 14:32:20 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2024-10-03 12:48:22 +02:00
|
|
|
void print_matrix(const uint64_t row_length, const uint64_t column_length,
|
|
|
|
const uint64_t matrix[row_length][column_length]) {
|
|
|
|
|
|
|
|
for (uint64_t column_index=0; column_index < column_length; column_index++) {
|
|
|
|
for (uint64_t row_index=0; row_index < row_length; row_index++) {
|
2024-09-26 14:32:20 +02:00
|
|
|
printf("%lu ", matrix[row_index][column_index]);
|
|
|
|
}
|
|
|
|
printf("\n");
|
|
|
|
}
|
|
|
|
}
|
2024-10-03 12:48:22 +02:00
|
|
|
|
|
|
|
int matrix_multiply_basic(const uint64_t row_length1,
|
|
|
|
const uint64_t column_length1,
|
|
|
|
const uint64_t matrix1[row_length1][column_length1],
|
|
|
|
const uint64_t row_length2,
|
|
|
|
const uint64_t column_length2,
|
|
|
|
const uint64_t matrix2[row_length2][column_length2],
|
|
|
|
uint64_t output_matrix[row_length1][column_length2]) {
|
|
|
|
|
|
|
|
int ret = 0;
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
}
|