Пример #1
0
 private void E5_Tick(object sender, EventArgs e)
 {
     PS3.Extension.WriteString(0x004eb39c, "^5S^7pec Ops ^5M^7od Menu ^5B^7y ^5M^7rNiato - ^5A^7ccount ^5M^7enu^5\n\nLevel 50\nLevel 0\nLegit Stats\nHight Stats\n^2-->^5Max Stats");
     if (Key_IsDown((uint)0) == "R1")
     {
         E5.Stop();
         E1.Start();
     }
     if (Key_IsDown((uint)0) == "X")
     {
         byte[] buffer = new byte[] { 0x75, 0x30 };
         PS3.SetMemory(0x01881591, buffer);
         byte[] buffer1 = new byte[] { 0x14, 0x73 };
         PS3.SetMemory(0x01881595, buffer1);
         byte[] buffer2 = new byte[] { 0xEB };
         PS3.SetMemory(0x01881599, buffer2);
         byte[] buffer3 = new byte[] { 0x16, 0x03 };
         PS3.SetMemory(0x018815a5, buffer3);
     }
     if (Key_IsDown((uint)0) == "R3")
     {
         E5.Stop();
         HostMenuMain.Start();
     }
     if (Key_IsDown((uint)0) == "L1")
     {
         E5.Stop();
         E4.Start();
     }
 }
Пример #2
0
    public void onValueChanged()
    {
        bool e1Select, e2Select, e3Select, e4Select, e5Select;

        e1Select = E1.GetComponent <Toggle> ().isOn;
        e2Select = E2.GetComponent <Toggle> ().isOn;
        e3Select = E3.GetComponent <Toggle> ().isOn;
        e4Select = E4.GetComponent <Toggle> ().isOn;
        e5Select = E5.GetComponent <Toggle> ().isOn;


        if (e1Select)
        {
            PlayerPrefs.SetInt("E1Bronze", 1);
        }
        if (e2Select)
        {
            PlayerPrefs.SetInt("E2Bronze", 1);
        }
        if (e3Select)
        {
            PlayerPrefs.SetInt("E3Bronze", 1);
        }
        if (e4Select)
        {
            PlayerPrefs.SetInt("E4Bronze", 1);
        }
        if (e5Select)
        {
            PlayerPrefs.SetInt("E5Bronze", 1);
        }
    }
Пример #3
0
 private void A1_Tick(object sender, EventArgs e)
 {
     PS3.Extension.WriteString(0x004eb39c, "^5S^7pec Ops ^5M^7od Menu ^5B^7y ^5M^7rNiato - ^5M^7ain ^5M^7enu\n\n^2-->^5Host Menu\nClient 1 Menu\nReset Menu\nAccount Menu\nTeleport Menu\nVision Menu\nCredit Menu\n\n\n^3Client 0 : ^2" + textBox1.Text + "\n^3Client 1 : ^2" + textBox2.Text + "^5");
     if (Key_IsDown((uint)0) == "X")
     {
         HostMenuMain.Stop();
         B1.Start();
     }
     if (Key_IsDown((uint)0) == "R1")
     {
         HostMenuMain.Stop();
         Client1.Start();
     }
     if (Key_IsDown((uint)0) == "R3 + L3")
     {
         HostMenuMain.Stop();
         B1.Stop();
         B2.Stop();
         B3.Stop();
         B4.Stop();
         B5.Stop();
         Client1.Stop();
         C1.Stop();
         C2.Stop();
         C3.Stop();
         C4.Stop();
         ResetMenu.Stop();
         D1.Stop();
         D2.Stop();
         D3.Stop();
         D4.Stop();
         D5.Stop();
         AccountMenu.Stop();
         E1.Stop();
         E2.Stop();
         E3.Stop();
         E4.Stop();
         E5.Stop();
         TeleportMenu.Stop();
         F1.Stop();
         F2.Stop();
         F3.Stop();
         F4.Stop();
         VisionMenu.Stop();
         G1.Stop();
         G2.Stop();
         G3.Stop();
         G4.Stop();
         G5.Stop();
         G6.Stop();
         OtherMenu.Stop();
         H1.Stop();
         PS3.Extension.WriteString(0x004eb39c, "^5Menu ^1Closed");
         simpleButton2.Enabled           = true;
         toolStripStatusLabel2.Text      = "Not Started !";
         toolStripStatusLabel2.ForeColor = Color.Red;
         simpleButton3.Enabled           = false;
     }
 }
Пример #4
0
            private async Task InitOnEntry()
            {
                var e = new E4();
                var m = await this.Context.CreateActorAndExecuteAsync(typeof(M3B));

                var handled = await this.Context.SendEventAndExecuteAsync(m, e);

                this.Assert(handled);
                this.Assert(e.X is 1);
            }
Пример #5
0
            private async Task InitOnEntry()
            {
                var e = new E4();
                var m = await this.Runtime.CreateMachineAndExecute(typeof(M3B));

                var handled = await this.Runtime.SendEventAndExecute(m, e);

                this.Assert(handled);
                this.Assert(e.X == 1);
            }
        public void EntityAssigner_Assign_E4Prop1Assigned()
        {
            E4 source = new E4 {
                Prop2 = "P2"
            };
            E4 target = new E4();

            target.AssignFrom(source);

            Assert.Equal("P2", target.Prop1);
        }
Пример #7
0
 private void simpleButton3_Click(object sender, EventArgs e)
 {
     MainMenu.Stop();
     HostMenuMain.Stop();
     B1.Stop();
     B2.Stop();
     B3.Stop();
     B4.Stop();
     B5.Stop();
     Client1.Stop();
     C1.Stop();
     C2.Stop();
     C3.Stop();
     C4.Stop();
     ResetMenu.Stop();
     D1.Stop();
     D2.Stop();
     D3.Stop();
     D4.Stop();
     D5.Stop();
     AccountMenu.Stop();
     E1.Stop();
     E2.Stop();
     E3.Stop();
     E4.Stop();
     E5.Stop();
     TeleportMenu.Stop();
     F1.Stop();
     F2.Stop();
     F3.Stop();
     F4.Stop();
     VisionMenu.Stop();
     G1.Stop();
     G2.Stop();
     G3.Stop();
     G4.Stop();
     G5.Stop();
     G6.Stop();
     OtherMenu.Stop();
     H1.Stop();
     PS3.Extension.WriteString(0x004eb39c, "^5Menu ^1Closed");
     toolStripStatusLabel2.Text      = "Not Started !";
     toolStripStatusLabel2.ForeColor = Color.Red;
     simpleButton2.Enabled           = true;
     simpleButton3.Enabled           = false;
 }
Пример #8
0
    public void onValueChanged()
    {
        bool e1Select, e2Select, e3Select, e4Select, e5Select;

        e1Select = E1.GetComponent <Toggle> ().isOn;
        e2Select = E2.GetComponent <Toggle> ().isOn;
        e3Select = E3.GetComponent <Toggle> ().isOn;
        e4Select = E4.GetComponent <Toggle> ().isOn;
        e5Select = E5.GetComponent <Toggle> ().isOn;


        if (e1Select)
        {
            //t2.text ="E1 Selected" ;
            PlayerPrefs.SetInt("E1Select", 1);
        }
        if (e2Select)
        {
            //t2.text ="E2 Selected";
            PlayerPrefs.SetInt("E2Select", 1);
        }
        if (e3Select)
        {
            //t2.text="E3 Selected";
            PlayerPrefs.SetInt("E3Select", 1);
        }
        if (e4Select)
        {
            //t2.text="E4 Selected";
            PlayerPrefs.SetInt("E4Select", 1);
        }
        if (e5Select)
        {
            //t2.text ="E5 Selected";
            PlayerPrefs.SetInt("E5Select", 1);
        }
    }
Пример #9
0
 private static void Foo4(E4 expected, E4 actual)
 {
     Assert.Equal(expected, actual);
 }
Пример #10
0
 private static void Foo4(E4 expected, E4 actual)
 {
     Assert.Equal(expected, actual);
 }
Пример #11
0
    // Use this for initialization
    void Start()
    {
        PlayerIcon.GetComponent <SpriteRenderer>().enabled = true;
        A1.GetComponent <SpriteRenderer>().enabled         = false;
        A2.GetComponent <SpriteRenderer>().enabled         = false;
        A3.GetComponent <SpriteRenderer>().enabled         = false;
        A4.GetComponent <SpriteRenderer>().enabled         = false;
        A5.GetComponent <SpriteRenderer>().enabled         = false;
        A6.GetComponent <SpriteRenderer>().enabled         = false;
        A7.GetComponent <SpriteRenderer>().enabled         = false;
        A8.GetComponent <SpriteRenderer>().enabled         = false;
        A9.GetComponent <SpriteRenderer>().enabled         = false;
        A10.GetComponent <SpriteRenderer>().enabled        = false;
        A11.GetComponent <SpriteRenderer>().enabled        = false;
        B1.GetComponent <SpriteRenderer>().enabled         = false;
        B2.GetComponent <SpriteRenderer>().enabled         = false;
        B3.GetComponent <SpriteRenderer>().enabled         = false;
        B4.GetComponent <SpriteRenderer>().enabled         = false;
        B5.GetComponent <SpriteRenderer>().enabled         = false;
        B6.GetComponent <SpriteRenderer>().enabled         = false;
        B7.GetComponent <SpriteRenderer>().enabled         = false;
        B8.GetComponent <SpriteRenderer>().enabled         = false;
        B9.GetComponent <SpriteRenderer>().enabled         = false;
        B10.GetComponent <SpriteRenderer>().enabled        = false;
        B11.GetComponent <SpriteRenderer>().enabled        = false;
        C1.GetComponent <SpriteRenderer>().enabled         = false;
        C2.GetComponent <SpriteRenderer>().enabled         = false;
        C3.GetComponent <SpriteRenderer>().enabled         = false;
        C4.GetComponent <SpriteRenderer>().enabled         = false;
        C5.GetComponent <SpriteRenderer>().enabled         = false;
        C6.GetComponent <SpriteRenderer>().enabled         = false;
        C7.GetComponent <SpriteRenderer>().enabled         = false;
        C8.GetComponent <SpriteRenderer>().enabled         = false;
        C9.GetComponent <SpriteRenderer>().enabled         = false;
        C10.GetComponent <SpriteRenderer>().enabled        = false;
        C11.GetComponent <SpriteRenderer>().enabled        = false;
        D1.GetComponent <SpriteRenderer>().enabled         = false;
        D2.GetComponent <SpriteRenderer>().enabled         = false;
        D3.GetComponent <SpriteRenderer>().enabled         = false;
        D4.GetComponent <SpriteRenderer>().enabled         = false;
        D5.GetComponent <SpriteRenderer>().enabled         = false;
        D6.GetComponent <SpriteRenderer>().enabled         = false;
        D7.GetComponent <SpriteRenderer>().enabled         = false;
        D8.GetComponent <SpriteRenderer>().enabled         = false;
        D9.GetComponent <SpriteRenderer>().enabled         = false;
        D10.GetComponent <SpriteRenderer>().enabled        = false;
        D11.GetComponent <SpriteRenderer>().enabled        = false;
        E1.GetComponent <SpriteRenderer>().enabled         = false;
        E2.GetComponent <SpriteRenderer>().enabled         = false;
        E3.GetComponent <SpriteRenderer>().enabled         = false;
        E4.GetComponent <SpriteRenderer>().enabled         = false;
        E5.GetComponent <SpriteRenderer>().enabled         = false;
        E6.GetComponent <SpriteRenderer>().enabled         = false;
        E7.GetComponent <SpriteRenderer>().enabled         = false;
        E8.GetComponent <SpriteRenderer>().enabled         = false;
        E9.GetComponent <SpriteRenderer>().enabled         = false;
        E10.GetComponent <SpriteRenderer>().enabled        = false;
        E11.GetComponent <SpriteRenderer>().enabled        = false;
        F1.GetComponent <SpriteRenderer>().enabled         = false;
        F2.GetComponent <SpriteRenderer>().enabled         = false;
        F3.GetComponent <SpriteRenderer>().enabled         = false;
        F4.GetComponent <SpriteRenderer>().enabled         = false;
        F5.GetComponent <SpriteRenderer>().enabled         = false;
        F6.GetComponent <SpriteRenderer>().enabled         = false;
        F7.GetComponent <SpriteRenderer>().enabled         = false;
        F8.GetComponent <SpriteRenderer>().enabled         = false;
        F9.GetComponent <SpriteRenderer>().enabled         = false;
        F10.GetComponent <SpriteRenderer>().enabled        = false;
        F11.GetComponent <SpriteRenderer>().enabled        = false;
        G1.GetComponent <SpriteRenderer>().enabled         = false;
        G2.GetComponent <SpriteRenderer>().enabled         = false;
        G3.GetComponent <SpriteRenderer>().enabled         = false;
        G4.GetComponent <SpriteRenderer>().enabled         = false;
        G5.GetComponent <SpriteRenderer>().enabled         = false;
        G6.GetComponent <SpriteRenderer>().enabled         = false;
        G7.GetComponent <SpriteRenderer>().enabled         = false;
        G8.GetComponent <SpriteRenderer>().enabled         = false;
        G9.GetComponent <SpriteRenderer>().enabled         = false;
        G10.GetComponent <SpriteRenderer>().enabled        = false;
        G11.GetComponent <SpriteRenderer>().enabled        = false;
        H1.GetComponent <SpriteRenderer>().enabled         = false;
        H2.GetComponent <SpriteRenderer>().enabled         = false;
        H3.GetComponent <SpriteRenderer>().enabled         = false;
        H4.GetComponent <SpriteRenderer>().enabled         = false;
        H5.GetComponent <SpriteRenderer>().enabled         = false;
        H6.GetComponent <SpriteRenderer>().enabled         = false;
        H7.GetComponent <SpriteRenderer>().enabled         = false;
        H8.GetComponent <SpriteRenderer>().enabled         = false;
        H9.GetComponent <SpriteRenderer>().enabled         = false;
        H10.GetComponent <SpriteRenderer>().enabled        = false;
        H11.GetComponent <SpriteRenderer>().enabled        = false;
        I1.GetComponent <SpriteRenderer>().enabled         = false;
        I2.GetComponent <SpriteRenderer>().enabled         = false;
        I3.GetComponent <SpriteRenderer>().enabled         = false;
        I4.GetComponent <SpriteRenderer>().enabled         = false;
        I5.GetComponent <SpriteRenderer>().enabled         = false;
        I6.GetComponent <SpriteRenderer>().enabled         = false;
        I7.GetComponent <SpriteRenderer>().enabled         = false;
        I8.GetComponent <SpriteRenderer>().enabled         = false;
        I9.GetComponent <SpriteRenderer>().enabled         = false;
        I10.GetComponent <SpriteRenderer>().enabled        = false;
        I11.GetComponent <SpriteRenderer>().enabled        = false;
        J1.GetComponent <SpriteRenderer>().enabled         = false;
        J2.GetComponent <SpriteRenderer>().enabled         = false;
        J3.GetComponent <SpriteRenderer>().enabled         = false;
        J4.GetComponent <SpriteRenderer>().enabled         = false;
        J5.GetComponent <SpriteRenderer>().enabled         = false;
        J6.GetComponent <SpriteRenderer>().enabled         = false;
        J7.GetComponent <SpriteRenderer>().enabled         = false;
        J8.GetComponent <SpriteRenderer>().enabled         = false;
        J9.GetComponent <SpriteRenderer>().enabled         = false;
        J10.GetComponent <SpriteRenderer>().enabled        = false;
        J11.GetComponent <SpriteRenderer>().enabled        = false;
        K1.GetComponent <SpriteRenderer>().enabled         = false;
        K2.GetComponent <SpriteRenderer>().enabled         = false;
        K3.GetComponent <SpriteRenderer>().enabled         = false;
        K4.GetComponent <SpriteRenderer>().enabled         = false;
        K5.GetComponent <SpriteRenderer>().enabled         = false;
        K6.GetComponent <SpriteRenderer>().enabled         = false;
        K7.GetComponent <SpriteRenderer>().enabled         = false;
        K8.GetComponent <SpriteRenderer>().enabled         = false;
        K9.GetComponent <SpriteRenderer>().enabled         = false;
        K10.GetComponent <SpriteRenderer>().enabled        = false;
        K11.GetComponent <SpriteRenderer>().enabled        = false;
        float ratio = Screen.width / Screen.height;

        if (ratio < 2)
        {
            int screenx = 543;
            int screeny = 653;
        }
        else
        {
            int screenx = 743;
            int screeny = 853;
        }
    }
Пример #12
0
        public CouplLinesInFreqRange(Params currentParams, double l, double fmin, double fmax, int nf, double z1In, double z2In, double z1Out, double z2Out)
        {
            L     = l * Math.Pow(10, -3);
            C     = 0.2998;
            Z1In  = z1In;
            Z2In  = z2In;
            Z1Out = z1Out;
            Z2Out = z2Out;
            Fmin  = fmin;
            Fmax  = fmax;
            Nf    = nf;

            S11 = Vector <double> .Build.Dense(Nf);

            S12 = Vector <double> .Build.Dense(Nf);

            S13 = Vector <double> .Build.Dense(Nf);

            S14 = Vector <double> .Build.Dense(Nf);

            S22 = Vector <double> .Build.Dense(Nf);

            S24 = Vector <double> .Build.Dense(Nf);

            S23 = Vector <double> .Build.Dense(Nf);

            S33 = Vector <double> .Build.Dense(Nf);

            S34 = Vector <double> .Build.Dense(Nf);

            S44 = Vector <double> .Build.Dense(Nf);

            S21 = Vector <double> .Build.Dense(Nf);

            S31 = Vector <double> .Build.Dense(Nf);

            S32 = Vector <double> .Build.Dense(Nf);

            S41 = Vector <double> .Build.Dense(Nf);

            S42 = Vector <double> .Build.Dense(Nf);

            S43 = Vector <double> .Build.Dense(Nf);

            F11 = Vector <double> .Build.Dense(Nf);

            F12 = Vector <double> .Build.Dense(Nf);

            F13 = Vector <double> .Build.Dense(Nf);

            F14 = Vector <double> .Build.Dense(Nf);

            F22 = Vector <double> .Build.Dense(Nf);

            F24 = Vector <double> .Build.Dense(Nf);

            F23 = Vector <double> .Build.Dense(Nf);

            F33 = Vector <double> .Build.Dense(Nf);

            F34 = Vector <double> .Build.Dense(Nf);

            F44 = Vector <double> .Build.Dense(Nf);

            F21 = Vector <double> .Build.Dense(Nf);

            F31 = Vector <double> .Build.Dense(Nf);

            F32 = Vector <double> .Build.Dense(Nf);

            F41 = Vector <double> .Build.Dense(Nf);

            F42 = Vector <double> .Build.Dense(Nf);

            F43 = Vector <double> .Build.Dense(Nf);


            E4 = Matrix <double> .Build.DenseIdentity(4);

            Zl = Matrix <double> .Build.DenseIdentity(4);

            Zl[0, 0]  = Math.Sqrt(Z1In);
            Zl[1, 1]  = Math.Sqrt(Z2In);
            Zl[2, 2]  = Math.Sqrt(Z1Out);
            Zl[3, 3]  = Math.Sqrt(Z2Out);
            ZlComplex = Zl.ToComplex();
            E4Complex = E4.ToComplex();
            Y         = new Matrix <Complex> [Nf];

            Fi = Vector <double> .Build.Dense(Nf, i => ((Fmax - Fmin) / (Nf - 1)) *(i + 1) + Fmin);

            Wi = Fi.Multiply(2 * Math.PI);
            Um = Matrix <double> .Build.Dense(2, 2);

            Um[0, 0] = 1;
            Um[0, 1] = 1;
            Um[1, 0] = currentParams.Rc;
            Um[1, 1] = currentParams.Rp;

            Im = Matrix <double> .Build.Dense(2, 2);

            Im[0, 0] = Math.Pow(currentParams.Zc1, -1);
            Im[0, 1] = Math.Pow(currentParams.Zp1, -1);
            Im[1, 0] = -Math.Pow(currentParams.Zc1 * currentParams.Rp, -1);
            Im[1, 1] = -Math.Pow(currentParams.Zp1 * currentParams.Rc, -1);

            ElectricalLengthForC = Vector <Complex> .Build.Dense(Nf, i => _j *Wi[i] *(Math.Sqrt(currentParams.Erc) / C) *L);

            ElectricalLengthForP = Vector <Complex> .Build.Dense(Nf, i => _j *Wi[i] *(Math.Sqrt(currentParams.Erp) / C) *L);

            var tet = new Vector <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                tet[i] = Vector <Complex> .Build.Dense(new[] { ElectricalLengthForC[i], ElectricalLengthForP[i] });
            }

            var coIntermediate = new Vector <Complex> [Nf];
            var co             = new Vector <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                var coIntermediate1 = Vector <Complex> .Build.Dense(2);

                var coIntermediate2 = Vector <Complex> .Build.Dense(2);

                coIntermediate[i] = tet[i];
                coIntermediate[i].PointwiseTanh(coIntermediate1);
                coIntermediate1.DivideByThis(1, coIntermediate2);
                co[i] = coIntermediate2;
            }

            var scIntermediate = new Vector <Complex> [Nf];
            var sc             = new Vector <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                var scIntermediate1 = Vector <Complex> .Build.Dense(2);

                var scIntermediate2 = Vector <Complex> .Build.Dense(2);

                scIntermediate[i] = tet[i];
                scIntermediate[i].PointwiseSinh(scIntermediate1);
                scIntermediate1.DivideByThis(1, scIntermediate2);
                sc[i] = scIntermediate2;
            }

            var diagCo = new Matrix <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                diagCo[i] = Matrix <Complex> .Build.DenseOfDiagonalVector(co[i]);
            }

            var diagSc = new Matrix <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                diagSc[i] = Matrix <Complex> .Build.DenseOfDiagonalVector(sc[i]);
            }

            var yaa            = new Matrix <Complex> [Nf];
            var imIntermediate = Matrix <Complex> .Build.Dense(2, 2);

            var umIntermediate = Matrix <Complex> .Build.Dense(2, 2);

            imIntermediate = Im.ToComplex();
            umIntermediate = Um.Inverse().ToComplex();
            var diagCoIntermediate = diagCo;

            for (int i = 0; i < Nf; i++)
            {
                yaa[i] = imIntermediate.Multiply(diagCoIntermediate[i]).Multiply(umIntermediate);
            }


            var yab = new Matrix <Complex> [Nf];
            var diagScIntermediate = diagSc;

            for (int i = 0; i < Nf; i++)
            {
                yab[i] = -imIntermediate.Multiply(diagScIntermediate[i]).Multiply(umIntermediate);
            }

            var yaayab1 = new Matrix <Complex> [Nf];
            var yaayab2 = new Matrix <Complex> [Nf];
            var yo      = new Matrix <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                yaayab1[i] = yaa[i].Append(yab[i]);
                yaayab2[i] = yab[i].Append(yaa[i]);
                yo[i]      = yaayab1[i].Stack(yaayab2[i]);
            }

            if (Z1Out > Math.Pow(10, 9) && Z2Out > Math.Pow(10, 9))
            {
                var additionMatrix = Matrix <double> .Build.Dense(4, 4);

                additionMatrix[3, 3] = Math.Pow(10, 10);
                additionMatrix[2, 2] = Math.Pow(10, 10);
                additionMatrix[3, 2] = -Math.Pow(10, 10);
                additionMatrix[2, 3] = -Math.Pow(10, 10);
                var complexAddMatrix = additionMatrix.ToComplex();
                for (int i = 0; i < Nf; i++)
                {
                    yo[i] = yo[i] + complexAddMatrix;
                }
            }
            for (int i = 0; i < Nf; i++)
            {
                Y[i] = ZlComplex.Multiply(yo[i]).Multiply(ZlComplex);
            }
            var SS = new Matrix <Complex> [Nf];

            for (int i = 0; i < Nf; i++)
            {
                SS[i] = 2 * (E4Complex + Y[i]).Inverse() - E4Complex;
            }

            var SS11 = Vector <Complex> .Build.Dense(Nf);

            var SS12 = Vector <Complex> .Build.Dense(Nf);

            var SS13 = Vector <Complex> .Build.Dense(Nf);

            var SS14 = Vector <Complex> .Build.Dense(Nf);

            var SS22 = Vector <Complex> .Build.Dense(Nf);

            var SS24 = Vector <Complex> .Build.Dense(Nf);

            var SS23 = Vector <Complex> .Build.Dense(Nf);

            var SS33 = Vector <Complex> .Build.Dense(Nf);

            var SS34 = Vector <Complex> .Build.Dense(Nf);

            var SS44 = Vector <Complex> .Build.Dense(Nf);

            var SS21 = Vector <Complex> .Build.Dense(Nf);

            var SS31 = Vector <Complex> .Build.Dense(Nf);

            var SS32 = Vector <Complex> .Build.Dense(Nf);

            var SS41 = Vector <Complex> .Build.Dense(Nf);

            var SS42 = Vector <Complex> .Build.Dense(Nf);

            var SS43 = Vector <Complex> .Build.Dense(Nf);

            for (int i = 0; i < Nf; i++)
            {
                SS11[i] = SS[i][0, 0];
                SS12[i] = SS[i][0, 1];
                SS13[i] = SS[i][0, 2];
                SS14[i] = SS[i][0, 3];
                SS22[i] = SS[i][1, 1];
                SS24[i] = SS[i][1, 3];
                SS23[i] = SS[i][1, 2];
                SS33[i] = SS[i][2, 2];
                SS34[i] = SS[i][2, 3];
                SS44[i] = SS[i][3, 3];
                SS21[i] = SS[i][1, 0];
                SS31[i] = SS[i][2, 0];
                SS32[i] = SS[i][2, 1];
                SS41[i] = SS[i][3, 0];
                SS42[i] = SS[i][3, 1];
                SS43[i] = SS[i][3, 2];
            }

            for (int i = 0; i < Nf; i++)
            {
                S11[i] = 20 * Math.Log10(SS11.PointwiseAbs()[i].Real);
                S12[i] = 20 * Math.Log10(SS12.PointwiseAbs()[i].Real);
                S13[i] = 20 * Math.Log10(SS13.PointwiseAbs()[i].Real);
                S14[i] = 20 * Math.Log10(SS14.PointwiseAbs()[i].Real);
                S22[i] = 20 * Math.Log10(SS22.PointwiseAbs()[i].Real);
                S24[i] = 20 * Math.Log10(SS24.PointwiseAbs()[i].Real);
                S23[i] = 20 * Math.Log10(SS23.PointwiseAbs()[i].Real);
                S33[i] = 20 * Math.Log10(SS33.PointwiseAbs()[i].Real);
                S34[i] = 20 * Math.Log10(SS34.PointwiseAbs()[i].Real);
                S44[i] = 20 * Math.Log10(SS44.PointwiseAbs()[i].Real);
                S21[i] = 20 * Math.Log10(SS21.PointwiseAbs()[i].Real);
                S31[i] = 20 * Math.Log10(SS31.PointwiseAbs()[i].Real);
                S32[i] = 20 * Math.Log10(SS32.PointwiseAbs()[i].Real);
                S41[i] = 20 * Math.Log10(SS41.PointwiseAbs()[i].Real);
                S42[i] = 20 * Math.Log10(SS42.PointwiseAbs()[i].Real);
                S43[i] = 20 * Math.Log10(SS43.PointwiseAbs()[i].Real);

                F11[i] = 180 / Math.PI * SS11[i].Phase;
                F12[i] = 180 / Math.PI * SS12[i].Phase;
                F13[i] = 180 / Math.PI * SS13[i].Phase;
                F14[i] = 180 / Math.PI * SS14[i].Phase;
                F22[i] = 180 / Math.PI * SS22[i].Phase;
                F24[i] = 180 / Math.PI * SS24[i].Phase;
                F23[i] = 180 / Math.PI * SS23[i].Phase;
                F33[i] = 180 / Math.PI * SS33[i].Phase;
                F34[i] = 180 / Math.PI * SS34[i].Phase;
                F44[i] = 180 / Math.PI * SS44[i].Phase;
                F21[i] = 180 / Math.PI * SS21[i].Phase;
                F31[i] = 180 / Math.PI * SS31[i].Phase;
                F32[i] = 180 / Math.PI * SS32[i].Phase;
                F41[i] = 180 / Math.PI * SS41[i].Phase;
                F42[i] = 180 / Math.PI * SS42[i].Phase;
                F43[i] = 180 / Math.PI * SS43[i].Phase;
            }
        }