asMatrix

fun <T : Any> Point<T>.asMatrix(): VirtualMatrix<T>

Creates an n &times; 1 VirtualMatrix, where n is the size of the given buffer.

Return

the new matrix.

Parameters

<receiver>

a buffer.

T

the type of elements contained in the buffer.

Sources

common source
Link copied to clipboard