Lädt...

🔧 Matrix Addition,Matrix Multipliction


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

1.Matrix Addition:

public static void main(String[] args) {

int[][] a= {{1,2,3}
            {1,2,3},
        {4,5,6}};

int[][] b= {{6,7,8},
        {1,2,3},
        {7,8,9}};
int [][] c=new int[a.length][a[0].length]; 

for(int row=0;row<a.length;row++)
{
    for(int col=0;col<b.length;col++)
    {   
      c[row][col]=a[row][col]+b[row][col];
      System.out.print(c[row][col]+" ");
    }
      System.out.println();
}

}

output:
7 9 11
2 4 6
11 13 15

2.Martix Multipliction:

public static void main(String[] args) {

int[][] a= {{1,2,3},
        {1,2,3},
        {4,5,6}};
int[][] b= {{6,7,8},
        {1,2,3},
        {7,8,9}};
int [][] c=new int[a.length][a[0].length];
for(int row=0;row<a.length;row++)
{
  for(int col=0;col<b.length;col++)
  {
    for(int k = 0;k<b.length;k++)
    {
      c[row][col]=c[row][col]+(a[row][k]*b[k][col]);
    }
    System.out.print(c[row][col]+" ");
  }
     System.out.println();
}

}

output:
29 35 41
29 35 41
71 86 101

...

🔧 Matrix Addition,Matrix Multipliction


📈 72.84 Punkte
🔧 Programmierung

🕵️ matrix-media-repo up to 1.2.6 on Matrix resource consumption


📈 17.39 Punkte
🕵️ Sicherheitslücken

🎥 Matrix Live S09E31 — The Matrix Conference


📈 17.39 Punkte
🎥 Videos

🎥 Arch Conf 2020 - Enter the Matrix: Install your own Matrix server on Arch Linux


📈 17.39 Punkte
🎥 IT Security Video

📰 Matrix 5: Mehr Matrix ist ein Grund zur Freude!


📈 17.39 Punkte
📰 IT Nachrichten

🐧 Combating abuse in Matrix - without backdoors (Matrix blog)


📈 17.39 Punkte
🐧 Linux Tipps

🎥 Matrix Live S09E21 — Matrix & Element demos!


📈 17.39 Punkte
🎥 Videos

🔧 Summed Matrix | GeeksforGeeks‬ Beginner's DSA Sheet | Matrix Problems | With Source Code


📈 17.39 Punkte
🔧 Programmierung

📰 The Matrix: Matrix 4 mit Keanu Reeves kommt früher als erwartet


📈 17.39 Punkte
📰 IT Nachrichten

🎥 Matrix Live S09E20 — Moodle adopts Matrix


📈 17.39 Punkte
🎥 Videos

🔧 matrix multipilication,matrix addision


📈 17.39 Punkte
🔧 Programmierung

🐧 Introducing P2P (peer-to-peer) Matrix | Matrix.org


📈 17.39 Punkte
🐧 Linux Tipps

🎥 Matrix Live S09E18 — Matrix crypto update. Able to decrypt?


📈 17.39 Punkte
🎥 Video | Youtube

🎥 Matrix Live S10E15 – NGI Commons builds a community on Matrix


📈 17.39 Punkte
🎥 Videos

📰 Lumos Matrix: "Next-Gen"-Helm mit LED-Matrix bei Apple verfügbar


📈 17.39 Punkte
📰 IT Security Nachrichten

🎥 Matrix Live S09E17 — Element X, Call and Matrix Auth Service updates


📈 17.39 Punkte
🎥 Videos

🎥 Matrix Live S10E12 — Worms, but on Matrix


📈 17.39 Punkte
🎥 Video | Youtube

🐧 New Vector (developers of Matrix) raises $8.5M to accelerate Matrix/Riot/Modular


📈 17.39 Punkte
🐧 Linux Tipps

🎥 Matrix Live S09E14 — The Matrix Elm SDK


📈 17.39 Punkte
🎥 Video | Youtube

🎥 Matrix Live S10E12 — Worms, but on Matrix


📈 17.39 Punkte
🎥 Video | Youtube

📰 Matrix 1.0: Matrix-Projekt beendet Betaphase


📈 17.39 Punkte
📰 IT Nachrichten

🎥 Matrix Live S09E07 — Element X and Matrix Authentication Service


📈 17.39 Punkte
🎥 Video | Youtube

📰 News: Matrix 1.0 und die »Matrix.org Foundation« vorgestellt


📈 17.39 Punkte
🐧 Unix Server

🎥 Matrix Live S08E31 — Element Call Encryption, Linearised Matrix


📈 17.39 Punkte
🎥 Video | Youtube

🎥 Matrix Tutorial#14 – Bridging Discourse to Matrix


📈 17.39 Punkte
🎥 Videos

📰 Matrix 1.0 und die »Matrix.org Foundation« vorgestellt


📈 17.39 Punkte
📰 IT Nachrichten

🎥 Matrix Live S08E23 — MLS, Matrix Public Archive, Element X


📈 17.39 Punkte
🎥 Video | Youtube

🎥 Matrix Live S01E03 - Matrix Live Demos


📈 17.39 Punkte
🎥 Video | Youtube

🐧 Introducing Matrix 1.0 and the Matrix.org Foundation


📈 17.39 Punkte
🐧 Linux Tipps

🕵️ CVE-2023-26922 | Varisicte matrix-gui 2.0 matrix-gui-2.0 shell_exect sql injection


📈 17.39 Punkte
🕵️ Sicherheitslücken

🐧 ascii-matrix: render ascii art + matrix effect


📈 17.39 Punkte
🐧 Linux Tipps

🎥 Matrix 2.0 — How we're making Matrix go voom!


📈 17.39 Punkte
🎥 IT Security Video

🕵️ CVE-2024-42369 | matrix-org matrix-js-sdk up to 34.3.0 leaveRoomChain recursion


📈 17.39 Punkte
🕵️ Sicherheitslücken

matomo