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

[Program]: Write a Swift program to find the rank of a matrix #2506

Closed
Tracked by #2487
harshraj8843 opened this issue Oct 12, 2022 · 1 comment · Fixed by #5620
Closed
Tracked by #2487

[Program]: Write a Swift program to find the rank of a matrix #2506

harshraj8843 opened this issue Oct 12, 2022 · 1 comment · Fixed by #5620
Assignees
Labels
closed closed issues/PRs good first issue Good for newcomers program Swift swift related

Comments

@harshraj8843
Copy link
Contributor

harshraj8843 commented Oct 12, 2022

Description

Write a Swift program to find the rank of a matrix

The rank of a matrix is the dimension of the vector space generated by its columns. The rank of a matrix is also equal to the dimension of the vector space generated by its rows. The rank of a matrix is also equal to the number of pivots in its reduced row echelon form.

Input  :
1 2 3
4 5 6
7 8 9

Output :
2
How to contribute
  • Save the solution in program/program/find-the-rank-of-a-matrix/program/FindTheRankOfAMatrix.swift file
@harshraj8843 harshraj8843 added good first issue Good for newcomers Swift swift related labels Oct 12, 2022
@harshraj8843 harshraj8843 transferred this issue from codinasion/codinasion May 28, 2023
@harshraj8843 harshraj8843 changed the title Write a Swift program to find the rank of a matrix [Program]: Write a Swift program to find the rank of a matrix May 30, 2023
@bulutg
Copy link
Contributor

bulutg commented Apr 7, 2024

!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 program Swift swift related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants