About 226,000 results
Open links in new tab
  1. Optimized matrix multiplication in C - Stack Overflow

    Dec 15, 2009 · Blocking Efficient Matrix Multiplication relies on blocking your matrix and performing several smaller blocked multiplies. Ideally the size of each block is chosen to fit …

  2. math - Matrix Multiplication In C - Stack Overflow

    Apr 15, 2012 · I'm trying to solve a matrix multiplication problem with C. Matrix sizes given in problem (2x2) I wrote this code but it doesn't print result as I expect. I think I'm missing a point …

  3. Using multiple threads to do matrix Multiplication in C

    Aug 31, 2022 · So, I was trying to write a program to do matrix multiplication using multiple threads and then plot a graph between the time taken and the number of threads used. I used …

  4. arrays - 2D matrix multiplication in c - Stack Overflow

    May 26, 2021 · I have written a code in C language for matrix multiplication. There is no error, but the desired output is not coming, which part of my code is wrong or had I miss something. …

  5. c - Using SIMD To Parallelize Matrix Multiplication For A 4x4, Row ...

    Sep 25, 2024 · I am currently facing an extremely hard time trying to parallelize a 4x4 matrix-multiplication algorithm. I am trying to make a library to use in a minimal raytracer project for …

  6. matrix multiplication in c using pointers - Stack Overflow

    The compiler is rarely wrong. Next, general matrix multiplication using pointers, simply requires that you follow the rules of matrix multiplication. That means you can multiply a m x n matrix …

  7. algorithm - Strassen's multiplication in C - Stack Overflow

    Jun 24, 2021 · Please have a look in the following code: #include<stdio.h> #include<stdlib.h> int **divide(int **Matrix,int n,int position) { int i,j; int **Partition ...

  8. matrix - How to use this C code to multiply two matrices using …

    Mar 10, 2012 · I was looking for an implementation of Strassen's Algorithm in C, and I've found this code at the end. To use the multiply function: void multiply(int n, matrix a, matrix b, matrix …

  9. Matrix Multiplication using OpenMP (C) - Collapsing all the loops

    Feb 23, 2020 · So I was learning about the basics OpenMP in C and work-sharing constructs, particularly for loop. One of the most famous examples used in all the tutorials is of matrix …

  10. c - Why is matrix multiplication faster with numpy than with ctypes …

    May 4, 2012 · In your case, you're using the naive approach to matrix multiplication as taught in school, which is in O (n^3). However, you can do much better for certain kinds of matrices, …