Struct arrayfire::Array
[−]
[src]
pub struct Array { /* fields omitted */ }A multidimensional data container
Currently, Array objects can store only data until four dimensions
NOTE
All operators(traits) from std::ops module implemented for Array object
carry out element wise operations. For example, * does multiplication of
elements at corresponding locations in two different Arrays.
Methods
impl Array[src]
fn new<T: HasAfEnum>(slice: &[T], dims: Dim4) -> Array
Constructs a new Array object
Examples
use arrayfire::{Array, Dim4, print}; let values: [f32; 3] = [1.0, 2.0, 3.0]; let indices = Array::new(&values, Dim4::new(&[3, 1, 1, 1])); print(&indices);
fn new_strided<T: HasAfEnum>(
slice: &[T],
offset: i64,
dims: Dim4,
strides: Dim4
) -> Array
slice: &[T],
offset: i64,
dims: Dim4,
strides: Dim4
) -> Array
Constructs a new Array object from strided data
The data pointed by the slice passed to this function can possibily be offseted using an additional offset parameter.
fn new_empty(dims: Dim4, aftype: DType) -> Array
Constructs a new Array object of specified dimensions and type
Examples
use arrayfire::{Array, Dim4, DType}; let garbageVals = Array::new_empty(Dim4::new(&[3, 1, 1, 1]), DType::F32);
fn get_backend(&self) -> Backend
Returns the backend of the Array
Return Values
Returns an value of type Backend which indicates which backend
was active when Array was created.
fn get_device_id(&self) -> i32
Returns the device identifier(integer) on which the Array was created
Return Values
Return the device id on which Array was created.
fn elements(&self) -> usize
Returns the number of elements in the Array
fn get_type(&self) -> DType
Returns the Array data type
fn dims(&self) -> Dim4
Returns the dimensions of the Array
fn strides(&self) -> Dim4
Returns the strides of the Array
fn numdims(&self) -> u32
Returns the number of dimensions of the Array
fn offset(&self) -> i64
Returns the offset to the pointer from where data begins
fn get(&self) -> i64
Returns the native FFI handle for Rust object Array
fn host<T: HasAfEnum>(&self, data: &mut [T])
Copies the data from the Array to the mutable slice data
fn eval(&self)
Evaluates any pending lazy expressions that represent the data in the Array object
fn copy(&self) -> Array
Makes an copy of the Array
This does a deep copy of the data into a new Array
fn is_empty(&self) -> bool
Check if Array is empty
fn is_scalar(&self) -> bool
Check if Array is scalar
fn is_row(&self) -> bool
Check if Array is a row
fn is_column(&self) -> bool
Check if Array is a column
fn is_vector(&self) -> bool
Check if Array is a vector
fn is_complex(&self) -> bool
Check if Array is of complex type
fn is_double(&self) -> bool
Check if Array's numerical type is of double precision
fn is_single(&self) -> bool
Check if Array's numerical type is of single precision
fn is_real(&self) -> bool
Check if Array is of real type
fn is_floating(&self) -> bool
Check if Array is of single precision
fn is_integer(&self) -> bool
Check if Array is of integral type
fn is_bool(&self) -> bool
Check if Array is of boolean type
fn is_linear(&self) -> bool
Check if Array's memory layout is continuous and one dimensional
fn is_owner(&self) -> bool
Check if Array's memory is owned by it and not a view of another Array
fn cast<T: HasAfEnum>(&self) -> Array
Cast the Array data type to target_type
fn is_sparse(&self) -> bool
Find if the current array is sparse
fn lock(&self)
Lock the device buffer in the memory manager
Locked buffers are not freed by memory manager until unlock is called.
fn unlock(&self)
Unlock the device buffer in the memory manager
This function will give back the control over the device pointer to the memory manager.
fn device_ptr(&self) -> u64
Get the device pointer and lock the buffer in memory manager
The device pointer is not freed by memory manager until unlock is called.
fn get_allocated_bytes(&self) -> usize
Get the size of physical allocated bytes.
This function will return the size of the parent/owner if the current Array object is an indexed Array.
Trait Implementations
impl From<i64> for Array[src]
Used for creating Array object from native resource id
impl Clone for Array[src]
Returns a new Array object after incrementing the reference count of native resource
Cloning an Array does not do a deep copy of the underlying array data. It increments the reference count of native resource and returns you the new reference in the form a new Array object.
To create a deep copy use copy()
fn clone(&self) -> Array
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Drop for Array[src]
To free resources when Array goes out of scope
impl AddAssign<Array> for Array[src]
fn add_assign(&mut self, rhs: Array)
The method for the += operator
impl SubAssign<Array> for Array[src]
fn sub_assign(&mut self, rhs: Array)
The method for the -= operator
impl MulAssign<Array> for Array[src]
fn mul_assign(&mut self, rhs: Array)
The method for the *= operator
impl DivAssign<Array> for Array[src]
fn div_assign(&mut self, rhs: Array)
The method for the /= operator
impl RemAssign<Array> for Array[src]
fn rem_assign(&mut self, rhs: Array)
The method for the %= operator
impl ShlAssign<Array> for Array[src]
fn shl_assign(&mut self, rhs: Array)
The method for the <<= operator
impl ShrAssign<Array> for Array[src]
fn shr_assign(&mut self, rhs: Array)
The method for the >>= operator
impl BitAndAssign<Array> for Array[src]
fn bitand_assign(&mut self, rhs: Array)
The method for the &= operator
impl BitOrAssign<Array> for Array[src]
fn bitor_assign(&mut self, rhs: Array)
The method for the |= operator
impl BitXorAssign<Array> for Array[src]
fn bitxor_assign(&mut self, rhs: Array)
The method for the ^= operator
impl<'f> Not for &'f Array[src]
Enables use of ! on objects of type Array
type Output = Array
The resulting type after applying the ! operator
fn not(self) -> Array
The method for the unary ! operator
impl Convertable for Array[src]
impl<'f> Add<Complex<f64>> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: Complex<f64>) -> Array
The method for the + operator
impl Add<Complex<f64>> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: Complex<f64>) -> Array
The method for the + operator
impl<'f> Sub<Complex<f64>> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: Complex<f64>) -> Array
The method for the - operator
impl Sub<Complex<f64>> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: Complex<f64>) -> Array
The method for the - operator
impl<'f> Mul<Complex<f64>> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: Complex<f64>) -> Array
The method for the * operator
impl Mul<Complex<f64>> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: Complex<f64>) -> Array
The method for the * operator
impl<'f> Div<Complex<f64>> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: Complex<f64>) -> Array
The method for the / operator
impl Div<Complex<f64>> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: Complex<f64>) -> Array
The method for the / operator
impl<'f> Add<Complex<f32>> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: Complex<f32>) -> Array
The method for the + operator
impl Add<Complex<f32>> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: Complex<f32>) -> Array
The method for the + operator
impl<'f> Sub<Complex<f32>> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: Complex<f32>) -> Array
The method for the - operator
impl Sub<Complex<f32>> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: Complex<f32>) -> Array
The method for the - operator
impl<'f> Mul<Complex<f32>> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: Complex<f32>) -> Array
The method for the * operator
impl Mul<Complex<f32>> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: Complex<f32>) -> Array
The method for the * operator
impl<'f> Div<Complex<f32>> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: Complex<f32>) -> Array
The method for the / operator
impl Div<Complex<f32>> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: Complex<f32>) -> Array
The method for the / operator
impl<'f> Add<f64> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: f64) -> Array
The method for the + operator
impl Add<f64> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: f64) -> Array
The method for the + operator
impl<'f> Sub<f64> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: f64) -> Array
The method for the - operator
impl Sub<f64> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: f64) -> Array
The method for the - operator
impl<'f> Mul<f64> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: f64) -> Array
The method for the * operator
impl Mul<f64> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: f64) -> Array
The method for the * operator
impl<'f> Div<f64> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: f64) -> Array
The method for the / operator
impl Div<f64> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: f64) -> Array
The method for the / operator
impl<'f> Add<f32> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: f32) -> Array
The method for the + operator
impl Add<f32> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: f32) -> Array
The method for the + operator
impl<'f> Sub<f32> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: f32) -> Array
The method for the - operator
impl Sub<f32> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: f32) -> Array
The method for the - operator
impl<'f> Mul<f32> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: f32) -> Array
The method for the * operator
impl Mul<f32> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: f32) -> Array
The method for the * operator
impl<'f> Div<f32> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: f32) -> Array
The method for the / operator
impl Div<f32> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: f32) -> Array
The method for the / operator
impl<'f> Add<u64> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: u64) -> Array
The method for the + operator
impl Add<u64> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: u64) -> Array
The method for the + operator
impl<'f> Sub<u64> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: u64) -> Array
The method for the - operator
impl Sub<u64> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: u64) -> Array
The method for the - operator
impl<'f> Mul<u64> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: u64) -> Array
The method for the * operator
impl Mul<u64> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: u64) -> Array
The method for the * operator
impl<'f> Div<u64> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: u64) -> Array
The method for the / operator
impl Div<u64> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: u64) -> Array
The method for the / operator
impl<'f> Add<i64> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: i64) -> Array
The method for the + operator
impl Add<i64> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: i64) -> Array
The method for the + operator
impl<'f> Sub<i64> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: i64) -> Array
The method for the - operator
impl Sub<i64> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: i64) -> Array
The method for the - operator
impl<'f> Mul<i64> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: i64) -> Array
The method for the * operator
impl Mul<i64> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: i64) -> Array
The method for the * operator
impl<'f> Div<i64> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: i64) -> Array
The method for the / operator
impl Div<i64> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: i64) -> Array
The method for the / operator
impl<'f> Add<u32> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: u32) -> Array
The method for the + operator
impl Add<u32> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: u32) -> Array
The method for the + operator
impl<'f> Sub<u32> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: u32) -> Array
The method for the - operator
impl Sub<u32> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: u32) -> Array
The method for the - operator
impl<'f> Mul<u32> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: u32) -> Array
The method for the * operator
impl Mul<u32> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: u32) -> Array
The method for the * operator
impl<'f> Div<u32> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: u32) -> Array
The method for the / operator
impl Div<u32> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: u32) -> Array
The method for the / operator
impl<'f> Add<i32> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: i32) -> Array
The method for the + operator
impl Add<i32> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: i32) -> Array
The method for the + operator
impl<'f> Sub<i32> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: i32) -> Array
The method for the - operator
impl Sub<i32> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: i32) -> Array
The method for the - operator
impl<'f> Mul<i32> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: i32) -> Array
The method for the * operator
impl Mul<i32> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: i32) -> Array
The method for the * operator
impl<'f> Div<i32> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: i32) -> Array
The method for the / operator
impl Div<i32> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: i32) -> Array
The method for the / operator
impl<'f> Add<u8> for &'f Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: u8) -> Array
The method for the + operator
impl Add<u8> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: u8) -> Array
The method for the + operator
impl<'f> Sub<u8> for &'f Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: u8) -> Array
The method for the - operator
impl Sub<u8> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: u8) -> Array
The method for the - operator
impl<'f> Mul<u8> for &'f Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: u8) -> Array
The method for the * operator
impl Mul<u8> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: u8) -> Array
The method for the * operator
impl<'f> Div<u8> for &'f Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: u8) -> Array
The method for the / operator
impl Div<u8> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: u8) -> Array
The method for the / operator
impl Add<Array> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: Array) -> Array
The method for the + operator
impl<'a> Add<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: &'a Array) -> Array
The method for the + operator
impl<'a> Add<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: Array) -> Array
The method for the + operator
impl<'a, 'b> Add<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the + operator
fn add(self, rhs: &'a Array) -> Array
The method for the + operator
impl Sub<Array> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: Array) -> Array
The method for the - operator
impl<'a> Sub<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: &'a Array) -> Array
The method for the - operator
impl<'a> Sub<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: Array) -> Array
The method for the - operator
impl<'a, 'b> Sub<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the - operator
fn sub(self, rhs: &'a Array) -> Array
The method for the - operator
impl Mul<Array> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: Array) -> Array
The method for the * operator
impl<'a> Mul<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: &'a Array) -> Array
The method for the * operator
impl<'a> Mul<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: Array) -> Array
The method for the * operator
impl<'a, 'b> Mul<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the * operator
fn mul(self, rhs: &'a Array) -> Array
The method for the * operator
impl Div<Array> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: Array) -> Array
The method for the / operator
impl<'a> Div<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: &'a Array) -> Array
The method for the / operator
impl<'a> Div<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: Array) -> Array
The method for the / operator
impl<'a, 'b> Div<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the / operator
fn div(self, rhs: &'a Array) -> Array
The method for the / operator
impl Rem<Array> for Array[src]
type Output = Array
The resulting type after applying the % operator
fn rem(self, rhs: Array) -> Array
The method for the % operator
impl<'a> Rem<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the % operator
fn rem(self, rhs: &'a Array) -> Array
The method for the % operator
impl<'a> Rem<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the % operator
fn rem(self, rhs: Array) -> Array
The method for the % operator
impl<'a, 'b> Rem<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the % operator
fn rem(self, rhs: &'a Array) -> Array
The method for the % operator
impl Shl<Array> for Array[src]
type Output = Array
The resulting type after applying the << operator
fn shl(self, rhs: Array) -> Array
The method for the << operator
impl<'a> Shl<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the << operator
fn shl(self, rhs: &'a Array) -> Array
The method for the << operator
impl<'a> Shl<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the << operator
fn shl(self, rhs: Array) -> Array
The method for the << operator
impl<'a, 'b> Shl<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the << operator
fn shl(self, rhs: &'a Array) -> Array
The method for the << operator
impl Shr<Array> for Array[src]
type Output = Array
The resulting type after applying the >> operator
fn shr(self, rhs: Array) -> Array
The method for the >> operator
impl<'a> Shr<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the >> operator
fn shr(self, rhs: &'a Array) -> Array
The method for the >> operator
impl<'a> Shr<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the >> operator
fn shr(self, rhs: Array) -> Array
The method for the >> operator
impl<'a, 'b> Shr<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the >> operator
fn shr(self, rhs: &'a Array) -> Array
The method for the >> operator
impl BitAnd<Array> for Array[src]
type Output = Array
The resulting type after applying the & operator
fn bitand(self, rhs: Array) -> Array
The method for the & operator
impl<'a> BitAnd<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the & operator
fn bitand(self, rhs: &'a Array) -> Array
The method for the & operator
impl<'a> BitAnd<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the & operator
fn bitand(self, rhs: Array) -> Array
The method for the & operator
impl<'a, 'b> BitAnd<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the & operator
fn bitand(self, rhs: &'a Array) -> Array
The method for the & operator
impl BitOr<Array> for Array[src]
type Output = Array
The resulting type after applying the | operator
fn bitor(self, rhs: Array) -> Array
The method for the | operator
impl<'a> BitOr<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the | operator
fn bitor(self, rhs: &'a Array) -> Array
The method for the | operator
impl<'a> BitOr<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the | operator
fn bitor(self, rhs: Array) -> Array
The method for the | operator
impl<'a, 'b> BitOr<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the | operator
fn bitor(self, rhs: &'a Array) -> Array
The method for the | operator
impl BitXor<Array> for Array[src]
type Output = Array
The resulting type after applying the ^ operator
fn bitxor(self, rhs: Array) -> Array
The method for the ^ operator
impl<'a> BitXor<&'a Array> for Array[src]
type Output = Array
The resulting type after applying the ^ operator
fn bitxor(self, rhs: &'a Array) -> Array
The method for the ^ operator
impl<'a> BitXor<Array> for &'a Array[src]
type Output = Array
The resulting type after applying the ^ operator
fn bitxor(self, rhs: Array) -> Array
The method for the ^ operator
impl<'a, 'b> BitXor<&'a Array> for &'b Array[src]
type Output = Array
The resulting type after applying the ^ operator
fn bitxor(self, rhs: &'a Array) -> Array
The method for the ^ operator
impl Neg for Array[src]
Implement negation trait for Array
type Output = Array
The resulting type after applying the - operator
fn neg(self) -> Self::Output
The method for the unary - operator
impl Indexable for Array[src]
Enables Array to be used to index another Array
This is used in functions index_gen and assign_gen