Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

[Program]: Write a PHP program to find the cofactor of a matrix #1736

Closed
Tracked by #1723
harshraj8843 opened this issue Oct 8, 2022 · 1 comment · Fixed by #5717
Closed
Tracked by #1723

[Program]: Write a PHP program to find the cofactor of a matrix #1736

harshraj8843 opened this issue Oct 8, 2022 · 1 comment · Fixed by #5717
Assignees
Labels
closed closed issues/PRs good first issue Good for newcomers PHP php related program

Comments

@harshraj8843
Copy link
Contributor

harshraj8843 commented Oct 8, 2022

Description

Write a PHP program to find the cofactor of a matrix

The cofactor of an element aij of a square matrix A is the determinant of the minor of A obtained by deleting the ith row and jth column of A. The cofactor of a matrix A is the matrix of cofactors of A.

Input  :
1 2 3
4 5 6
7 8 9

Output :
[[-3, 6, -3], [6, -12, 6], [-3, 6, -3]]
How to contribute
  • Save the solution in program/program/find-the-cofactor-of-a-matrix/program/find_the_cofactor_of_a_matrix.php file
@harshraj8843 harshraj8843 added good first issue Good for newcomers PHP php related labels Oct 8, 2022
@harshraj8843 harshraj8843 transferred this issue from codinasion/codinasion May 28, 2023
@harshraj8843 harshraj8843 changed the title Write a PHP program to find the cofactor of a matrix [Program]: Write a PHP program to find the cofactor of a matrix May 30, 2023
@BatinSimsek
Copy link
Contributor

!assign

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
closed closed issues/PRs good first issue Good for newcomers PHP php related program
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants