<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-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="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/linear/LinearSpace.kt#L222">source</a>)</span></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><spanclass="kdoc-tag"><h4class="">Receiver</h4><pclass="paragraph">a buffer.</p></span><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">the new matrix.</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>T</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the type of elements contained in the buffer.</p></div></div></div></div></div></div></div>