pub struct Array { /* private fields */ }Implementations§
Source§impl Array
impl Array
pub fn from_complex_matrix( rows: usize, cols: usize, values: &[Complex32], ) -> Result<Self>
pub fn matmul(&self, rhs: &Self, stream: &Stream) -> Result<Self>
pub fn max_abs_error(&self, rhs: &Self, stream: &Stream) -> Result<f32>
pub fn shape(&self) -> Result<Vec<usize>>
pub fn to_complex_vec(&self, stream: &Stream) -> Result<Vec<Complex32>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl !Send for Array
impl !Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
impl UnwindSafe for Array
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more