Exemplo n.º 1
0
        /// <summary>
        /// Create the Transpose of this Matrix
        /// </summary>
        public Matrixd GetTranspose()
        {
            Matrixd res = new Matrixd(Columns, Rows);

            for (int r = 0; r < Rows; r++)
            {
                for (int c = 0; c < Columns; c++)
                {
                    res[c, r] = this[r, c];
                }
            }

            return(res);
        }