Package koma.util
Types
Name | Summary |
---|---|
IndexIterator | data class IndexIterator : Iterator < IndexIterator > An Iterator that counts indices of a given shape in row-major order, simultaneously in both array and linear form. Useful for stepping through N-dimensional data. |
Functions
Name | Summary |
---|---|
fromCollection | fun fromCollection(collection: Collection < Double >): DoubleArray fun fromCollection(collection: Collection < Int >): IntArray Converts a collection into a primitive DoubleArray |