view

fun <T, D : Dimension, M : Dimension> MultiArray<T, D>.view(index: Int, axis: Int = 0): MultiArray<T, M>
fun <T, D : Dimension, M : Dimension> MultiArray<T, D>.view(indices: IntArray, axes: IntArray): MultiArray<T, M>
@JvmName(name = "viewD2")
fun <T> MultiArray<T, D2>.view(index: Int, axis: Int = 0): MultiArray<T, D1>
@JvmName(name = "viewD3")
fun <T> MultiArray<T, D3>.view(index: Int, axis: Int = 0): MultiArray<T, D2>
@JvmName(name = "viewD3toD1")
fun <T> MultiArray<T, D3>.view(    ind1: Int,     ind2: Int,     axis1: Int = 0,     axis2: Int = 1): MultiArray<T, D1>
@JvmName(name = "viewD4")
fun <T> MultiArray<T, D4>.view(index: Int, axis: Int = 0): MultiArray<T, D3>
@JvmName(name = "viewD4toD2")
fun <T> MultiArray<T, D4>.view(    ind1: Int,     ind2: Int,     axis1: Int = 0,     axis2: Int = 1): MultiArray<T, D2>
@JvmName(name = "viewD4toD1")
fun <T> MultiArray<T, D4>.view(    ind1: Int,     ind2: Int,     ind3: Int,     axis1: Int = 0,     axis2: Int = 1,     axis3: Int = 2): MultiArray<T, D1>
@JvmName(name = "viewDN")
fun <T> MultiArray<T, DN>.view(index: Int, axis: Int = 0): MultiArray<T, DN>
@JvmName(name = "viewDN")
fun <T> MultiArray<T, DN>.view(index: IntArray, axes: IntArray): MultiArray<T, DN>