Answer to Question #298389 in C for fernandez

Question #298389

Multiply two polynomials of same degree using divide and conquer by Strassen's matrix multiplication method .


1
Expert's answer
2022-02-18T01:22:45-0500
#include <stdio.h>

int n = 4;

void mylt(double a[][n], double b[][n], double c[][n]) {
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      c[i][j] = 0;
      for (int k = 0; k < n; k++) {
        c[i][j] += a[i][k] * b[k][j];
      }
    }
  }
}

int main(int argc, char *argv[]) {
  return 0;  
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS