示例#1
0
        /// <summary>
        /// Convert a vector into a 1-by-size matrix (i.e. a row vector).
        /// </summary>
        /// <returns></returns>
        public MatrixFixed AsRow()
        {
            MatrixFixed ret = new MatrixFixed(1, data.Length);

            ret.SetRow(0, this);
            return(ret);
        }