YAMP.PlotValue.ConvertY C# (CSharp) Метод

ConvertY() защищенный Метод

Converts only row values of the matrix into a double array.
protected ConvertY ( MatrixValue m, Int32 dy, Int32 length, Int32 dx ) : Double[]
m MatrixValue The MatrixValue to convert.
dy System.Int32 The offset in rows.
length System.Int32 The number of columns to consider.
dx System.Int32 The offset in columns.
Результат Double[]
        protected Double[] ConvertY(MatrixValue m, Int32 dy, Int32 length, Int32 dx)
        {
            var values = new Double[length];
            var j = dy + 1;
            var k = dx + 1;

            for (var i = 0; i < length; i++)
            {
                values[i] = m[j, k].Re;
                j++;
            }

            return values;
        }