expandDims

@JvmName(name = "expandDimsD1")
fun <T> MultiArray<T, D1>.expandDims(axis: Int): MultiArray<T, D2>
@JvmName(name = "expandDimsD2")
fun <T> MultiArray<T, D2>.expandDims(axis: Int): MultiArray<T, D3>
@JvmName(name = "expandDimsD3")
fun <T> MultiArray<T, D3>.expandDims(axis: Int): MultiArray<T, D4>
@JvmName(name = "expandDimsD4")
fun <T> MultiArray<T, D4>.expandDims(axis: Int): MultiArray<T, DN>

Returns a ndarray with an expanded shape.