PHP help | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

PHP help

Who can help me in PHP it is very urgent please .. I need to calculate the determinant of a matrix in PHP .. But the values ​​must be integrated after the display.

26th Oct 2022, 6:47 PM
Daniel Alexis
3 Respuestas
+ 2
What is your code so far? What is the shape of your data? Does the matrix have the same size all the time? Or what are the possible sizes? https://en.m.wikipedia.org/wiki/Determinant
26th Oct 2022, 7:16 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Ok if it's always 3x3 then it is very easy, just use the formula on the Wikipedia page I linked.
26th Oct 2022, 7:28 PM
Tibor Santa
Tibor Santa - avatar
0
Matrix 3*3
26th Oct 2022, 7:26 PM
Daniel Alexis