asSequence

open fun asSequence(): Sequence<T>

Get all elements in the matrix as sequence.