Matrix equation using function in c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Matrix equation using function in c

Write a program to prove the following equation using function: ([A]^ * [B])^ T =[B]^ T*; [A] ^ T

28th Jun 2021, 1:25 PM
Ashwini Naik
Ashwini Naik - avatar
3 Answers
+ 3
You can find articles describing how to implement matrix multiplication and transpose in C on the net. For example: https://www.knowprogram.com/c-programming/matrix-operations-in-c/ Afterwards, it's just a matter of setting up the matrices, performing both operations independently, and checking whether the resulting matrices are equal. If you need help with the actual code, you should link your attempt and explain where you are stuck.
28th Jun 2021, 3:27 PM
Shadow
Shadow - avatar
0
proving an equation is not really a programming task, but rather a logical human task ^^... the only way to less or more "prove" an equation "using function" would be to provide it bunch of random input values, compute both sides of equation and for each, and pray to got equality for all ;P but you will never "prove" it, as you cannot test for infinity of input possibilities... you just demonstrate that you cannot find input wich invalid the equation ;)
28th Jun 2021, 5:56 PM
visph
visph - avatar
0
Thanks.. I got it!!
30th Jun 2021, 8:17 AM
Ashwini Naik
Ashwini Naik - avatar