| <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A `MatrixSlice`"><meta name="keywords" content="rust, rustlang, rust-lang, MatrixSlice"><title>MatrixSlice in rusty_machine::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../../rusty_machine/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../rusty_machine/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">MatrixSlice</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.from_matrix">from_matrix</a></li><li><a href="#method.from_raw_parts">from_raw_parts</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Add%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<&'b Matrix<T>></a></li><li><a href="#impl-Add%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Add<&'b MatrixSlice<'a, T>></a></li><li><a href="#impl-Add%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<&'b T></a></li><li><a href="#impl-Add%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add<&'c Matrix<T>></a></li><li><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Add<&'c MatrixSlice<'a, T>></a></li><li><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Add<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<&'c MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Add%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add<&'c T></a></li><li><a href="#impl-Add%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Add<&'d MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Add<&'d MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Add<&'d MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Add%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add<Matrix<T>></a></li><li><a href="#impl-Add%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<Matrix<T>></a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Add<MatrixSlice<'a, T>></a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Add<MatrixSlice<'a, T>></a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Add<MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Add<MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Add<MatrixSlice<'b, T>></a></li><li><a href="#impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Add<MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Add%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add<T></a></li><li><a href="#impl-Add%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add<T></a></li><li><a href="#impl-AddAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">AddAssign<&'b MatrixSlice<'a, T>></a></li><li><a href="#impl-AddAssign%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">AddAssign<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-AddAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">AddAssign<MatrixSlice<'a, T>></a></li><li><a href="#impl-AddAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">AddAssign<MatrixSlice<'b, T>></a></li><li><a href="#impl-BaseMatrix%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">BaseMatrix<T></a></li><li><a href="#impl-Clone-for-MatrixSlice%3C%27a%2C%20T%3E">Clone</a></li><li><a href="#impl-Copy-for-MatrixSlice%3C%27a%2C%20T%3E">Copy</a></li><li><a href="#impl-Debug-for-MatrixSlice%3C%27a%2C%20T%3E">Debug</a></li><li><a href="#impl-Div%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Div<&'b T></a></li><li><a href="#impl-Div%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Div<&'c T></a></li><li><a href="#impl-Div%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Div<T></a></li><li><a href="#impl-Div%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Div<T></a></li><li><a href="#impl-From%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">From<MatrixSlice<'a, T>></a></li><li><a href="#impl-Index%3C%5Busize%3B%202%5D%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Index<[usize; 2]></a></li><li><a href="#impl-IntoIterator-for-%26%27a%20MatrixSlice%3C%27a%2C%20T%3E">IntoIterator</a></li><li><a href="#impl-IntoIterator-for-%26%27a%20mut%20MatrixSlice%3C%27a%2C%20T%3E">IntoIterator</a></li><li><a href="#impl-IntoIterator-for-MatrixSlice%3C%27a%2C%20T%3E">IntoIterator</a></li><li><a href="#impl-Mul%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<&'b Matrix<T>></a></li><li><a href="#impl-Mul%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Mul<&'b MatrixSlice<'a, T>></a></li><li><a href="#impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E">Mul<&'b PermutationMatrix<T>></a></li><li><a href="#impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E">Mul<&'b PermutationMatrix<T>></a></li><li><a href="#impl-Mul%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<&'b T></a></li><li><a href="#impl-Mul%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul<&'c Matrix<T>></a></li><li><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Mul<&'c MatrixSlice<'a, T>></a></li><li><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Mul<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<&'c MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Mul%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul<&'c T></a></li><li><a href="#impl-Mul%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Mul<&'d MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Mul<&'d MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Mul<&'d MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Mul%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul<Matrix<T>></a></li><li><a href="#impl-Mul%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<Matrix<T>></a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Mul<MatrixSlice<'a, T>></a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Mul<MatrixSlice<'a, T>></a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Mul<MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Mul<MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Mul<MatrixSlice<'b, T>></a></li><li><a href="#impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Mul<MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E">Mul<PermutationMatrix<T>></a></li><li><a href="#impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E">Mul<PermutationMatrix<T>></a></li><li><a href="#impl-Mul%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul<T></a></li><li><a href="#impl-Mul%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul<T></a></li><li><a href="#impl-Neg-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Neg</a></li><li><a href="#impl-Neg-for-MatrixSlice%3C%27a%2C%20T%3E">Neg</a></li><li><a href="#impl-Sub%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<&'b Matrix<T>></a></li><li><a href="#impl-Sub%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Sub<&'b MatrixSlice<'a, T>></a></li><li><a href="#impl-Sub%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<&'b T></a></li><li><a href="#impl-Sub%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub<&'c Matrix<T>></a></li><li><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Sub<&'c MatrixSlice<'a, T>></a></li><li><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Sub<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<&'c MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Sub%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub<&'c T></a></li><li><a href="#impl-Sub%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Sub<&'d MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Sub<&'d MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Sub<&'d MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Sub%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub<Matrix<T>></a></li><li><a href="#impl-Sub%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<Matrix<T>></a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Sub<MatrixSlice<'a, T>></a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Sub<MatrixSlice<'a, T>></a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Sub<MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Sub<MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Sub<MatrixSlice<'b, T>></a></li><li><a href="#impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Sub<MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<MatrixSliceMut<'b, T>></a></li><li><a href="#impl-Sub%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub<T></a></li><li><a href="#impl-Sub%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub<T></a></li><li><a href="#impl-SubAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">SubAssign<&'b MatrixSlice<'a, T>></a></li><li><a href="#impl-SubAssign%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">SubAssign<&'c MatrixSlice<'b, T>></a></li><li><a href="#impl-SubAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">SubAssign<MatrixSlice<'a, T>></a></li><li><a href="#impl-SubAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">SubAssign<MatrixSlice<'b, T>></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-MatrixSlice%3C%27a%2C%20T%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-MatrixSlice%3C%27a%2C%20T%3E">!Send</a></li><li><a href="#impl-Sync-for-MatrixSlice%3C%27a%2C%20T%3E">!Sync</a></li><li><a href="#impl-Unpin-for-MatrixSlice%3C%27a%2C%20T%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-MatrixSlice%3C%27a%2C%20T%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-MatrixSlice%3C%27a%2C%20T%3E">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Into<U></a></li><li><a href="#impl-ToOwned-for-MatrixSlice%3C%27a%2C%20T%3E">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E-for-MatrixSlice%3C%27a%2C%20T%3E">VZip<V></a></li></ul></section><h2><a href="index.html">In rusty_machine::prelude</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Struct <a href="../index.html">rusty_machine</a>::<wbr><a href="index.html">prelude</a>::<wbr><a class="struct" href="#">MatrixSlice</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/rulinalg/matrix/mod.rs.html#58">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct MatrixSlice<'a, T><span class="where fmt-newline">where<br> T: 'a,</span>{ /* private fields */ }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A <code>MatrixSlice</code></p> |
| <p>This struct provides a slice into a matrix.</p> |
| <p>The struct contains the upper left point of the slice |
| and the width and height of the slice.</p> |
| </div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/slice.rs.html#4">source</a><a href="#impl-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_matrix" class="method has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/slice.rs.html#15-19">source</a><h4 class="code-header">pub fn <a href="#method.from_matrix" class="fnname">from_matrix</a>(<br> mat: &'a <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>,<br> start: [usize; 2],<br> rows: usize,<br> cols: usize<br>) -> <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h4></section></summary><div class="docblock"><p>Produce a <code>MatrixSlice</code> from a <code>Matrix</code></p> |
| <h5 id="examples"><a href="#examples">Examples</a></h5> |
| <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>rulinalg::matrix::{Matrix, MatrixSlice}; |
| |
| <span class="kw">let </span>a = Matrix::new(<span class="number">3</span>,<span class="number">3</span>, (<span class="number">0</span>..<span class="number">9</span>).collect::<Vec<usize>>()); |
| <span class="kw">let </span>slice = MatrixSlice::from_matrix(<span class="kw-2">&</span>a, [<span class="number">1</span>,<span class="number">1</span>], <span class="number">2</span>, <span class="number">2</span>);</code></pre></div> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_raw_parts" class="method has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/slice.rs.html#59-63">source</a><h4 class="code-header">pub unsafe fn <a href="#method.from_raw_parts" class="fnname">from_raw_parts</a>(<br> ptr: *const T,<br> rows: usize,<br> cols: usize,<br> row_stride: usize<br>) -> <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h4></section></summary><div class="docblock"><p>Creates a <code>MatrixSlice</code> from raw parts.</p> |
| <h5 id="examples-1"><a href="#examples-1">Examples</a></h5> |
| <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>rulinalg::matrix::MatrixSlice; |
| |
| <span class="kw">let </span><span class="kw-2">mut </span>a = <span class="macro">vec!</span>[<span class="number">4.0</span>; <span class="number">16</span>]; |
| |
| <span class="kw">unsafe </span>{ |
| <span class="comment">// Create a matrix slice with 3 rows, and 3 cols |
| // The row stride of 4 specifies the distance between the start of each row in the data. |
| </span><span class="kw">let </span>b = MatrixSlice::from_raw_parts(a.as_ptr(), <span class="number">3</span>, <span class="number">3</span>, <span class="number">4</span>); |
| }</code></pre></div> |
| <h5 id="safety"><a href="#safety">Safety</a></h5> |
| <p>The pointer must be followed by a contiguous slice of data larger than <code>row_stride * rows</code>. |
| If not then other operations will produce undefined behaviour.</p> |
| <p>Additionally <code>cols</code> should be less than the <code>row_stride</code>. It is possible to use this |
| function safely whilst violating this condition. So long as |
| <code>max(cols, row_stride) * rows</code> is less than the data size.</p> |
| </div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<&'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-7" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-7" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, m: &<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<&'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-21" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-21" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-21" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#impl-Add%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<&'b T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| addition |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-4" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#method.add-4" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<&'c <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-19" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-19" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-19" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, m: &<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for &'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-12" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-12" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-12" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-20" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-20" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#method.add-20" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-9" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-9" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#method.add-9" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#impl-Add%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<&'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-2" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#method.add-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#impl-Add%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<&'c T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| addition |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-10" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-10" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#method.add-10" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#impl-Add%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Add<&'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-16" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-16" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#method.add-16" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#impl-Add%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Add<&'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-23" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-23" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#method.add-23" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#impl-Add%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Add<&'d <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-15" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-15" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#method.add-15" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-13" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-13" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-13" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, m: <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Add<<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, m: <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for &'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-11" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-11" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-11" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Add<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-1" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#516">source</a><a href="#method.add-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-22" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-22" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#method.add-22" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-8" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#method.add-8" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-18" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-18" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#385">source</a><a href="#method.add-18" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-5" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#386">source</a><a href="#method.add-5" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Add<<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-6" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#method.add-6" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-3" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#387">source</a><a href="#method.add-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#impl-Add%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Add<T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| addition |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-14" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-14" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#method.add-14" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Add%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#impl-Add%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Add<T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| addition |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-17" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-17" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#184">source</a><a href="#method.add-17" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-AddAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#813">source</a><a href="#impl-AddAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> AddAssign<&'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_assign-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#813">source</a><a href="#method.add_assign-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add_assign</a>(&mut self, _rhs: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-AddAssign%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#775">source</a><a href="#impl-AddAssign%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> AddAssign<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_assign-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#775">source</a><a href="#method.add_assign-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add_assign</a>(&mut self, _rhs: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#813">source</a><a href="#impl-AddAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> AddAssign<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_assign-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#813">source</a><a href="#method.add_assign-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add_assign</a>(&mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-AddAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#775">source</a><a href="#impl-AddAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> AddAssign<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Add<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| addition |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_assign" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#775">source</a><a href="#method.add_assign" class="anchor"></a><h4 class="code-header">fn <a class="fnname">add_assign</a>(&mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-BaseMatrix%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/impl_base.rs.html#81">source</a><a href="#impl-BaseMatrix%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> <a class="trait" href="../linalg/trait.BaseMatrix.html" title="trait rusty_machine::linalg::BaseMatrix">BaseMatrix</a><T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.rows" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/impl_base.rs.html#82">source</a><a href="#method.rows" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#tymethod.rows" class="fnname">rows</a>(&self) -> usize</h4></section></summary><div class='docblock'>Rows in the matrix.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.cols" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/impl_base.rs.html#85">source</a><a href="#method.cols" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#tymethod.cols" class="fnname">cols</a>(&self) -> usize</h4></section></summary><div class='docblock'>Columns in the matrix.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.row_stride" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/impl_base.rs.html#88">source</a><a href="#method.row_stride" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#tymethod.row_stride" class="fnname">row_stride</a>(&self) -> usize</h4></section></summary><div class='docblock'>Row stride in the matrix.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_ptr" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/impl_base.rs.html#91">source</a><a href="#method.as_ptr" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#tymethod.as_ptr" class="fnname">as_ptr</a>(&self) -> *const T</h4></section></summary><div class='docblock'>Top left index of the matrix.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_empty" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#55">source</a><a href="#method.is_empty" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.is_empty" class="fnname">is_empty</a>(&self) -> bool</h4></section></summary><div class='docblock'>Returns true if the matrix contais no elements</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.as_slice" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#72">source</a><a href="#method.as_slice" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.as_slice" class="fnname">as_slice</a>(&self) -> <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T></h4></section></summary><div class='docblock'>Returns a <code>MatrixSlice</code> over the whole matrix. <a href="../linalg/trait.BaseMatrix.html#method.as_slice">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_unchecked" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#79">source</a><a href="#method.get_unchecked" class="anchor"></a><h4 class="code-header">unsafe fn <a href="../linalg/trait.BaseMatrix.html#method.get_unchecked" class="fnname">get_unchecked</a>(&self, index: [usize; 2]) -> &T</h4></section></summary><div class='docblock'>Get a reference to an element in the matrix without bounds checking.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#101">source</a><a href="#method.get" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.get" class="fnname">get</a>(&self, index: [usize; 2]) -> Option<&T></h4></section></summary><div class='docblock'>Get a reference to an element in the matrix. <a href="../linalg/trait.BaseMatrix.html#method.get">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.col" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#133">source</a><a href="#method.col" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.col" class="fnname">col</a>(&self, index: usize) -> <a class="struct" href="../../rulinalg/matrix/struct.Column.html" title="struct rulinalg::matrix::Column">Column</a><'_, T></h4></section></summary><div class='docblock'>Returns the column of a matrix at the given index. |
| <code>None</code> if the index is out of bounds. <a href="../linalg/trait.BaseMatrix.html#method.col">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.col_unchecked" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#158">source</a><a href="#method.col_unchecked" class="anchor"></a><h4 class="code-header">unsafe fn <a href="../linalg/trait.BaseMatrix.html#method.col_unchecked" class="fnname">col_unchecked</a>(&self, index: usize) -> <a class="struct" href="../../rulinalg/matrix/struct.Column.html" title="struct rulinalg::matrix::Column">Column</a><'_, T></h4></section></summary><div class='docblock'>Returns the column of a matrix at the given |
| index without doing a bounds check. <a href="../linalg/trait.BaseMatrix.html#method.col_unchecked">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.row" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#183">source</a><a href="#method.row" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.row" class="fnname">row</a>(&self, index: usize) -> <a class="struct" href="../../rulinalg/matrix/struct.Row.html" title="struct rulinalg::matrix::Row">Row</a><'_, T></h4></section></summary><div class='docblock'>Returns the row of a matrix at the given index. <a href="../linalg/trait.BaseMatrix.html#method.row">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.row_unchecked" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#207">source</a><a href="#method.row_unchecked" class="anchor"></a><h4 class="code-header">unsafe fn <a href="../linalg/trait.BaseMatrix.html#method.row_unchecked" class="fnname">row_unchecked</a>(&self, index: usize) -> <a class="struct" href="../../rulinalg/matrix/struct.Row.html" title="struct rulinalg::matrix::Row">Row</a><'_, T></h4></section></summary><div class='docblock'>Returns the row of a matrix at the given index without doing unbounds checking <a href="../linalg/trait.BaseMatrix.html#method.row_unchecked">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#229-230">source</a><a href="#method.iter" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.iter" class="fnname">iter</a><'a>(&self) -> <a class="struct" href="../../rulinalg/matrix/struct.SliceIter.html" title="struct rulinalg::matrix::SliceIter">SliceIter</a><'a, T><span class="where fmt-newline">where<br> T: 'a,</span></h4></section></summary><div class='docblock'>Returns an iterator over the matrix data. <a href="../linalg/trait.BaseMatrix.html#method.iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.col_iter" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#262">source</a><a href="#method.col_iter" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.col_iter" class="fnname">col_iter</a>(&self) -> <a class="struct" href="../../rulinalg/matrix/struct.Cols.html" title="struct rulinalg::matrix::Cols">Cols</a><'_, T></h4></section></summary><div class='docblock'>Iterate over the columns of the matrix. <a href="../linalg/trait.BaseMatrix.html#method.col_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.row_iter" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#292">source</a><a href="#method.row_iter" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.row_iter" class="fnname">row_iter</a>(&self) -> <a class="struct" href="../../rulinalg/matrix/struct.Rows.html" title="struct rulinalg::matrix::Rows">Rows</a><'_, T></h4></section></summary><div class='docblock'>Iterate over the rows of the matrix. <a href="../linalg/trait.BaseMatrix.html#method.row_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.diag_iter" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#336">source</a><a href="#method.diag_iter" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.diag_iter" class="fnname">diag_iter</a>(&self, k: <a class="enum" href="../../rulinalg/matrix/enum.DiagOffset.html" title="enum rulinalg::matrix::DiagOffset">DiagOffset</a>) -> <a class="struct" href="../../rulinalg/matrix/struct.Diagonal.html" title="struct rulinalg::matrix::Diagonal">Diagonal</a><'_, T, Self></h4></section></summary><div class='docblock'>Iterate over diagonal entries <a href="../linalg/trait.BaseMatrix.html#method.diag_iter">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.metric" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#459-461">source</a><a href="#method.metric" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.metric" class="fnname">metric</a><'a, 'b, B, M>(&'a self, mat: &'b B, metric: M) -> T<span class="where fmt-newline">where<br> B: 'b + <a class="trait" href="../linalg/trait.BaseMatrix.html" title="trait rusty_machine::linalg::BaseMatrix">BaseMatrix</a><T>,<br> M: <a class="trait" href="../linalg/norm/trait.MatrixMetric.html" title="trait rusty_machine::linalg::norm::MatrixMetric">MatrixMetric</a><'a, 'b, T, Self, B>,</span></h4></section></summary><div class='docblock'>Compute the metric distance between two matrices. <a href="../linalg/trait.BaseMatrix.html#method.metric">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.diag" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#909">source</a><a href="#method.diag" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.diag" class="fnname">diag</a>(&self) -> <a class="struct" href="../../rulinalg/matrix/struct.Diagonal.html" title="struct rulinalg::matrix::Diagonal">Diagonal</a><'_, T, Self></h4></section></summary><div class='docblock'>Extract the diagonal of the matrix <a href="../linalg/trait.BaseMatrix.html#method.diag">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.split_at" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#1079">source</a><a href="#method.split_at" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.split_at" class="fnname">split_at</a>(<br> &self,<br> mid: usize,<br> axis: <a class="enum" href="../linalg/enum.Axes.html" title="enum rusty_machine::linalg::Axes">Axes</a><br>) -> (<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>, <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Split the matrix at the specified axis returning two <code>MatrixSlice</code>s. <a href="../linalg/trait.BaseMatrix.html#method.split_at">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub_slice" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/base/mod.rs.html#1128-1129">source</a><a href="#method.sub_slice" class="anchor"></a><h4 class="code-header">fn <a href="../linalg/trait.BaseMatrix.html#method.sub_slice" class="fnname">sub_slice</a><'a>(<br> &self,<br> start: [usize; 2],<br> rows: usize,<br> cols: usize<br>) -> <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: 'a,</span></h4></section></summary><div class='docblock'>Produce a <code>MatrixSlice</code> from an existing matrix. <a href="../linalg/trait.BaseMatrix.html#method.sub_slice">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mod.rs.html#57">source</a><a href="#impl-Clone-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Clone for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: 'a + Clone,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mod.rs.html#57">source</a><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a class="fnname">clone</a>(&self) -> <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h4></section></summary><div class='docblock'>Returns a copy of the value. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="since rightside" title="Stable since Rust version 1.0.0">1.0.0</span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">const fn <a class="fnname">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mod.rs.html#57">source</a><a href="#impl-Debug-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Debug for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: 'a + Debug,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mod.rs.html#57">source</a><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt</a>(&self, f: &mut Formatter<'_>) -> Result<(), Error></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Div%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#impl-Div%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Div<&'b T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Div<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| division |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-52" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-52" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.div-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#method.div-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">div</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Div%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#impl-Div%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Div<&'c T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Div<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| division |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-54" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-54" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.div-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#method.div-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">div</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Div%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#impl-Div%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Div<T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Div<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| division |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-51" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-51" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.div" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#method.div" class="anchor"></a><h4 class="code-header">fn <a class="fnname">div</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Div%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#impl-Div%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Div<T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Div<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| division |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-53" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-53" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.div-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#182">source</a><a href="#method.div-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">div</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/convert.rs.html#46">source</a><a href="#impl-From%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> From<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/convert.rs.html#46">source</a><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(slice: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Index%3C%5Busize%3B%202%5D%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#50">source</a><a href="#impl-Index%3C%5Busize%3B%202%5D%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Index<[usize; 2]> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section></summary><div class="docblock"><p>Indexes |
| matrix slice. |
| Takes row index first then column.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-50" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-50" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>The returned type after indexing.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.index" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#50">source</a><a href="#method.index" class="anchor"></a><h4 class="code-header">fn <a class="fnname">index</a>(&self, idx: [usize; 2]) -> &T</h4></section></summary><div class='docblock'>Performs the indexing (<code>container[index]</code>) operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-IntoIterator-for-%26%27a%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/iter.rs.html#394">source</a><a href="#impl-IntoIterator-for-%26%27a%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> IntoIterator for &'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Item" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Item" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Item</a> = &'a T</h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.IntoIter" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.IntoIter" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">IntoIter</a> = <a class="struct" href="../../rulinalg/matrix/struct.SliceIter.html" title="struct rulinalg::matrix::SliceIter">SliceIter</a><'a, T></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_iter" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/iter.rs.html#398">source</a><a href="#method.into_iter" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into_iter</a>(self) -> <&'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T> as IntoIterator>::IntoIter</h4></section></summary><div class='docblock'>Creates an iterator from a value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-IntoIterator-for-%26%27a%20mut%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/iter.rs.html#403">source</a><a href="#impl-IntoIterator-for-%26%27a%20mut%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> IntoIterator for &'a mut <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Item-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Item-2" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Item</a> = &'a T</h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.IntoIter-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.IntoIter-2" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">IntoIter</a> = <a class="struct" href="../../rulinalg/matrix/struct.SliceIter.html" title="struct rulinalg::matrix::SliceIter">SliceIter</a><'a, T></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_iter-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/iter.rs.html#407">source</a><a href="#method.into_iter-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into_iter</a>(self) -> <&'a mut <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T> as IntoIterator>::IntoIter</h4></section></summary><div class='docblock'>Creates an iterator from a value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-IntoIterator-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/iter.rs.html#385">source</a><a href="#impl-IntoIterator-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> IntoIterator for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Item-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Item-1" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Item</a> = &'a T</h4></section></summary><div class='docblock'>The type of the elements being iterated over.</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.IntoIter-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.IntoIter-1" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">IntoIter</a> = <a class="struct" href="../../rulinalg/matrix/struct.SliceIter.html" title="struct rulinalg::matrix::SliceIter">SliceIter</a><'a, T></h4></section></summary><div class='docblock'>Which kind of iterator are we turning this into?</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_iter-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/iter.rs.html#389">source</a><a href="#method.into_iter-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into_iter</a>(self) -> <<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T> as IntoIterator>::IntoIter</h4></section></summary><div class='docblock'>Creates an iterator from a value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<&'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-58" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-58" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<&'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-64" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-64" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-9" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#200">source</a><a href="#impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'm, T> Mul<&'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>> for &'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'m, T><span class="where fmt-newline">where<br> T: <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> + Clone,</span></h3></section></summary><div class="docblock"><p>Right-multiply a matrix by a permutation matrix.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-63" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-63" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#200">source</a><a href="#method.mul-8" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, rhs: &'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#203">source</a><a href="#impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'm, T> Mul<&'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'m, T><span class="where fmt-newline">where<br> T: <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> + Clone,</span></h3></section></summary><div class="docblock"><p>Right-multiply a matrix by a permutation matrix.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-66" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-66" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#203">source</a><a href="#method.mul-11" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, rhs: &'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#impl-Mul%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<&'b T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Mul<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| multiplication |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-73" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-73" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#method.mul-18" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<&'c <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-59" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-59" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-4" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for &'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-77" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-77" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-22" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-79" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-79" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#method.mul-24" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-56" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-56" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#method.mul-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#impl-Mul%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<&'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-67" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-67" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#method.mul-12" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#impl-Mul%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<&'c T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Mul<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| multiplication |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-82" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-82" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-27" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#method.mul-27" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#impl-Mul%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Mul<&'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-62" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-62" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#method.mul-7" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#impl-Mul%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Mul<&'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-74" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-74" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#method.mul-19" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#impl-Mul%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Mul<&'d <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-68" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-68" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#method.mul-13" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: &<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-70" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-70" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-15" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Mul<<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-80" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-80" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-25" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for &'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-81" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-81" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-26" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-26" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Mul<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-69" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-69" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#234">source</a><a href="#method.mul-14" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-75" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-75" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#method.mul-20" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-60" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-60" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#method.mul-5" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-71" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-71" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#284">source</a><a href="#method.mul-16" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-57" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-57" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#286">source</a><a href="#method.mul-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Mul<<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-61" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-61" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#method.mul-6" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a><Output = T> + Add<T> + Mul<T, Output = T> + Any,</span></h3></section></summary><div class="docblock"><p>Multiplies two matrices together.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-76" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-76" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mat_mul.rs.html#285">source</a><a href="#method.mul-21" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, m: <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#200">source</a><a href="#impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'm, T> Mul<<a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>> for &'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'m, T><span class="where fmt-newline">where<br> T: <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> + Clone,</span></h3></section></summary><div class="docblock"><p>Right-multiply a matrix by a permutation matrix.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-65" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-65" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#200">source</a><a href="#method.mul-10" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, rhs: <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#203">source</a><a href="#impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'm, T> Mul<<a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'m, T><span class="where fmt-newline">where<br> T: <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a> + Clone,</span></h3></section></summary><div class="docblock"><p>Right-multiply a matrix by a permutation matrix.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-72" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-72" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_permutation_mul.rs.html#203">source</a><a href="#method.mul-17" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, rhs: <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#impl-Mul%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Mul<T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Mul<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| multiplication |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-78" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-78" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#method.mul-23" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Mul%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#impl-Mul%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Mul<T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Mul<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| multiplication |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-55" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-55" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#180">source</a><a href="#method.mul" class="anchor"></a><h4 class="code-header">fn <a class="fnname">mul</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Neg-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#850">source</a><a href="#impl-Neg-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Neg for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Neg<Output = T> + Copy,</span></h3></section></summary><div class="docblock"><p>Gets negative of matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-49" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-49" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.neg-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#850">source</a><a href="#method.neg-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">neg</a>(self) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Neg-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#850">source</a><a href="#impl-Neg-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Neg for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Neg<Output = T> + Copy,</span></h3></section></summary><div class="docblock"><p>Gets negative of matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-48" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-48" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.neg" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#850">source</a><a href="#method.neg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">neg</a>(self) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3C%26%27b%20Matrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<&'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-38" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-38" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-14" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, m: &<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<&'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-35" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-35" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-11" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#impl-Sub%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<&'b T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| subtraction |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-43" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-43" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#method.sub-19" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<&'c <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-29" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-29" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-5" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, m: &<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for &'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-30" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-30" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-6" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-26" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-26" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#method.sub-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-37" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-37" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#method.sub-13" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#impl-Sub%3C%26%27c%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<&'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-25" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-25" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#method.sub-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#impl-Sub%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<&'c T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| subtraction |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-42" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-42" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#method.sub-18" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, f: &T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#impl-Sub%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Sub<&'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-47" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-47" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#method.sub-23" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#impl-Sub%3C%26%27d%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Sub<&'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-32" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-32" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#method.sub-8" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#impl-Sub%3C%26%27d%20MatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, 'd, T> Sub<&'d <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-34" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-34" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#method.sub-10" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: &<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-44" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-44" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-20" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, m: <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Sub<<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-39" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-39" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-15" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, m: <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for &'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-27" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-27" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Sub<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between <code>Matrix</code> and <code>MatrixSlice</code>.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-24" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-24" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#519">source</a><a href="#method.sub" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-41" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-41" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#method.sub-17" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-28" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-28" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#method.sub-4" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-33" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-33" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#390">source</a><a href="#method.sub-9" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-45" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-45" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#391">source</a><a href="#method.sub-21" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> Sub<<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for &'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-36" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-36" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#method.sub-12" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| between the slices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-31" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-31" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#392">source</a><a href="#method.sub-7" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, s: <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'_, T>) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#impl-Sub%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> Sub<T> for &'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| subtraction |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-46" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-46" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#method.sub-22" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Sub%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#impl-Sub%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Sub<T> for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Scalar |
| subtraction |
| with matrix slice.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output-40" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output-40" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Output</a> = <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#186">source</a><a href="#method.sub-16" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub</a>(self, f: T) -> <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-SubAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#814">source</a><a href="#impl-SubAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> SubAssign<&'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub_assign" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#814">source</a><a href="#method.sub_assign" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub_assign</a>(&mut self, _rhs: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-SubAssign%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#776">source</a><a href="#impl-SubAssign%3C%26%27c%20MatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, 'c, T> SubAssign<&'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub_assign-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#776">source</a><a href="#method.sub_assign-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub_assign</a>(&mut self, _rhs: &<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#814">source</a><a href="#impl-SubAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> SubAssign<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T>> for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a><T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub_assign-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#814">source</a><a href="#method.sub_assign-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub_assign</a>(&mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-SubAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#776">source</a><a href="#impl-SubAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, 'b, T> SubAssign<<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'b, T>> for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a><'a, T><span class="where fmt-newline">where<br> T: Copy + Sub<T, Output = T>,</span></h3></section></summary><div class="docblock"><p>Performs elementwise |
| subtraction |
| assignment between two matrices.</p> |
| </div><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.sub_assign-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/impl_ops.rs.html#776">source</a><a href="#method.sub_assign-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">sub_assign</a>(&mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'_, T>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a>Read more</a></div></details></div></details><section id="impl-Copy-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/rulinalg/matrix/mod.rs.html#57">source</a><a href="#impl-Copy-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Copy for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: 'a + Copy,</span></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> RefUnwindSafe for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: RefUnwindSafe,</span></h3></section><section id="impl-Send-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-Send-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> !Send for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section><section id="impl-Sync-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-Sync-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> !Sync for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section><section id="impl-Unpin-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-Unpin-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> Unpin for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T></h3></section><section id="impl-UnwindSafe-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-UnwindSafe-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<'a, T> UnwindSafe for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a><'a, T><span class="where fmt-newline">where<br> T: RefUnwindSafe,</span></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-Any-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T> Any for T<span class="where fmt-newline">where<br> T: 'static + ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a class="fnname">type_id</a>(&self) -> TypeId</h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-Borrow%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T> Borrow<T> for T<span class="where fmt-newline">where<br> T: ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a class="fnname">borrow</a>(&self) -> &T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-BorrowMut%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T> BorrowMut<T> for T<span class="where fmt-newline">where<br> T: ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">borrow_mut</a>(&mut self) -> &mut T</h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-From%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T> From<T> for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p> |
| </div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-Into%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T, U> Into<U> for T<span class="where fmt-newline">where<br> U: From<T>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p> |
| <p>That is, this conversion is whatever the implementation of |
| <code>[From]<T> for U</code> chooses to do.</p> |
| </div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToOwned-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-ToOwned-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T> ToOwned for T<span class="where fmt-newline">where<br> T: Clone,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Owned" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl has-srclink"><a href="#method.to_owned" class="anchor"></a><h4 class="code-header">fn <a class="fnname">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl has-srclink"><a href="#method.clone_into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">clone_into</a>(&self, target: &mut T)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-TryFrom%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T, U> TryFrom<U> for T<span class="where fmt-newline">where<br> U: Into<T>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Error</a> = Infallible</h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.try_from" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_from</a>(value: U) -> Result<T, <T as TryFrom<U>>::Error></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a href="#impl-TryInto%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<T, U> TryInto<U> for T<span class="where fmt-newline">where<br> U: TryFrom<T>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Error</a> = <U as TryFrom<T>>::Error</h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.try_into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_into</a>(self) -> Result<U, <U as TryFrom<T>>::Error></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/ppv_lite86/types.rs.html#221">source</a><a href="#impl-VZip%3CV%3E-for-MatrixSlice%3C%27a%2C%20T%3E" class="anchor"></a><h3 class="code-header">impl<V, T> <a class="trait" href="../../ppv_lite86/types/trait.VZip.html" title="trait ppv_lite86::types::VZip">VZip</a><V> for T<span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.MultiLane.html" title="trait ppv_lite86::types::MultiLane">MultiLane</a><T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/ppv_lite86/types.rs.html#226">source</a><a href="#method.vzip" class="anchor"></a><h4 class="code-header">fn <a href="../../ppv_lite86/types/trait.VZip.html#tymethod.vzip" class="fnname">vzip</a>(self) -> V</h4></section></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="rusty_machine" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html> |