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

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

Converts a given matrixvalue (seen as a vector) into a double array.
protected Convert ( MatrixValue m, Int32 offset, Int32 length ) : Double[]
m MatrixValue The MatrixValue to convert.
offset System.Int32 The offset in the matrix (0 = start with 1st element).
length System.Int32 The number of elements to convert.
Результат Double[]
        protected Double[] Convert(MatrixValue m, Int32 offset, Int32 length)
        {
            var values = new Double[length];
            var j = offset + 1;

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

            return values;
        }