Powered By Blogger

miércoles, 29 de octubre de 2008

Deber Operaciones con Matriz

Inge aqui está el deber de las Operaciones con Matrices
Att. Gustavo Araujo
9vo Nivel "A"

using System;
using System.Collections.Generic;
using System.Text;

namespace CMatrices
{
class clsMatrices
{
int[,] A, B, C;
public clsMatrices()
{

}
public static void CargaMatrices(int[,] M1, int[,] M2)
{

for (int i = 0; i < j="0" i =" 0;" j =" 0;" i =" 0;" j =" 0;" i =" 0;" j =" 0;" i =" 0;" j =" 0;" columna ="=" mensaje =" true;" mensaje =" false;" i =" 0;" j =" 0;" i =" 0;" j =" 0;" i =" 0;" j =" 0;" k =" 0;">
{
MR[i, j] += M1[i, K] * M2[K, j];
}
}
}

}
public static void CargaMatricesT(int[,] M1)
{

for (int i = 0; i < j =" 0;" fila ="=" mensaje =" true;" mensaje =" false;" i =" 0;" j =" 0;" i =" 0;" j =" 0;" determinante =" (Moriginal[0," i =" 0;" j =" 0;" i =" 0;" j =" 0;" opc =" Console.ReadLine();" fila =" Convert.ToInt32(Console.ReadLine());" columna =" Convert.ToInt32(Console.ReadLine());" m1 =" new" m2 =" new" mr =" new" fila =" Convert.ToInt32(Console.ReadLine());" columna =" Convert.ToInt32(Console.ReadLine());" m1 =" new" m2 =" new" mr =" new" fila =" Convert.ToInt32(Console.ReadLine());" columna =" Convert.ToInt32(Console.ReadLine());" fila2 =" Convert.ToInt32(Console.ReadLine());" columna2 =" Convert.ToInt32(Console.ReadLine());" objmatriz =" new" msgvalida =" objMatriz.ValidaMatrizMul(fila," msgvalida ="=" m1 =" new" m2 =" new" mr =" new" fila =" Convert.ToInt32(Console.ReadLine());" columna =" Convert.ToInt32(Console.ReadLine());" objmatriz2 =" new" msgdevalidez =" objMatriz2.ValidaMatrizTranspuesta(fila," msgdevalidez ="=" m1 =" new" mr =" new" o =" 2;" moriginal =" new" mres="new" minversa =" new" objmatriz =" new" determinante=" objMatriz.CalculaDeterminante(Moriginal);" fila =" Convert.ToInt32(Console.ReadLine());" columna =" Convert.ToInt32(Console.ReadLine());" escalar =" Convert.ToInt32(Console.ReadLine());" m1 =" new" mr =" new" opc = "7">

No hay comentarios: