alduncin

this.cosafea

Feb 27th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.50 KB | None | 0 0
  1.     for(i=0;i<this.Matriz[0].length;i++)
  2.                     {
  3.                         for(j=0;j<this.Matriz[0][0].length;j++)
  4.                             {
  5.                                 if(i!=iteracion)
  6.                                     {
  7.                                         if(j!=iteracion)
  8.                                             {
  9.                                                 //aqui                                                                                                
  10.                         this.Matriz[iteracion+1][i][j] =
  11.                             new Fracciones().division(
  12.                               new Fracciones().resta(
  13.                                 new Fracciones().multiplicacion(
  14.                                   this.PivAct,this.Matriz[iteracion][i][j]),
  15.                                     new Fracciones().multiplicacion(
  16.                                       this.Matriz[iteracion][iteracion][j],this.Matriz[iteracion][i][iteracion])
  17.                                                ),this.PivAnt);
  18.  
  19.                         /*objeto que se va a dividir                                                                                                  
  20.                          *objeto que se va a restar                                                                                                  
  21.                          *objeto que se va a multiplicar                                                                                              
  22.                          *multiplicandose :D                                                                                                          
  23.                          *objeto que se va a multiplicar y el resultado se restara con el de arribita                                                
  24.                          *multiplicandose D:                                                                                                          
  25.                          *dividiendose */
  26. //elementos tipo Fracciones                                                                                                  
  27.                                                 /*                                                                                                    
  28.                                                 Elemento1.multiplicacion(this.PivAct,this.Matriz[iteracion][i][j]);                                  
  29.                                                 Elemento2.multiplicacion(this.Matriz[iteracion][iteracion][j],                                        
  30.                                                                          this.Matriz[iteracion][i][iteracion]);                                      
  31.                                                 Espacio.resta(Elemento1,Elemento2);                                                                  
  32.                                                 Elemento.division(Espacio,this.PivAnt);                                                              
  33.                                                 //:D ... espacio=elemento-elemento1;  espacio/pivAnt     o.o                                          
  34.                                                 this.Matriz[iteracion+1][i][j]=Elemento;//elemento tipo Fracciones                                    
  35.                                             */
  36.                    
  37.                                             }
  38.                                     }
  39.  
  40.                             }
  41.                     }
Advertisement
Add Comment
Please, Sign In to add comment