Type Definition ndarray::RcArray
[−]
[src]
type RcArray<A, D> = ArrayBase<OwnedRcRepr<A>, D>;
An array where the data has shared ownership and is copy on write. It can act as both an owner as the data as well as a shared reference (view like).
The RcArray<A, D>
is parameterized by A
for the element type and D
for
the dimensionality.
ArrayBase
is used to implement both the owned
arrays and the views; see its docs for an overview of all array features.
See also:
Methods
impl<A, D> RcArray<A, D> where
A: Clone,
D: Dimension,
[src]
A: Clone,
D: Dimension,
Methods specific to RcArray
.
See also all methods for ArrayBase
fn into_owned(self) -> Array<A, D>
Convert an RcArray
into Array
; cloning the array elements to unshare
them if necessary.