using System; using System.Threading; using static System.Math; using static System.Console; public class EVD{ public vector e; public matrix V=null; public int sweeps; public static void timesJ(matrix A, int p, int q, double c, double s){ for(int i=0;i timesJ(A,p,q,c,s) ); Thread tJA = new Thread(() => Jtimes(A,p,q,c,-s) ); tAJ.Start(); tJA.Start(); tAJ.Join(); tJA.Join(); if(withV) timesJ(V,p,q,c,s); } } }while(changed); for(int i=0;i