<divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="as-matrix.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">></span><ahref="index.html#-1940126653%2FClasslikes%2F244675578">Point</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="as-matrix.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="as-matrix.html"><spanclass="token function">asMatrix</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="-virtual-matrix/index.html">VirtualMatrix</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="as-matrix.html">T</a><spanclass="token operator">></span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Creates an n × 1 <ahref="-virtual-matrix/index.html">VirtualMatrix</a>, where n is the size of the given buffer.</p><h4class="">Receiver</h4><pclass="paragraph">a buffer.</p><h4class="">Return</h4><pclass="paragraph">the new matrix.</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>T</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the type of elements contained in the buffer.</p></div></div></div></div></div></div></div></div></div>