forked from kscience/kmath
Document ShapeND.asArray()
This commit is contained in:
parent
9228e6019c
commit
fc0393436f
@ -68,6 +68,9 @@ public operator fun ShapeND.component3(): Int = get(2)
|
|||||||
*/
|
*/
|
||||||
public fun ShapeND.toArray(): IntArray = array.copyOf()
|
public fun ShapeND.toArray(): IntArray = array.copyOf()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provide internal content of [ShapeND]. Must not be modified.
|
||||||
|
*/
|
||||||
@UnsafeKMathAPI
|
@UnsafeKMathAPI
|
||||||
public fun ShapeND.asArray(): IntArray = array
|
public fun ShapeND.asArray(): IntArray = array
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user