protected void Button1_Click(object sender, EventArgs e)
        {
            var matrixA = new Matrix(3);

            matrixA.Create(m.GetMatrixData("Matrix1"));
            var matrixB = new Matrix(3);

            matrixB.Create(m.GetMatrixData("Matrix2"));
            m.SetMatrixData("Result", m.matrixSign["+"](matrixA, matrixB));
        }
Esempio n. 2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            var matrixA = new Matrix(3);

            matrixA.Create(m.GetMatrixData("Matrix1"));
            m.SetMatrixData("Result", m.numberSign["*"](matrixA, decimal.Parse(Number.Text.Replace(',', '.'), CultureInfo.InvariantCulture)));
        }