position

fun position(i: Long, j: Int): Long

Gets the position within the file relative to the beginning of the file of the ith observation in the jth replication. This assumes that the data is a double 8 bytes stored in column major form

Return

the position in the file relative to the beginning of the file of the ith observation in the jth replication

Parameters

i

the index to the ith observation

j

the index to the jth replication