- 1
Matrix equation using function in c
Write a program to prove the following equation using function: ([A]^ * [B])^ T =[B]^ T*; [A] ^ T
3 ответов
+ 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.
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 ;)
0
Thanks..
I got it!!