blob: 2ff039e5f2650c3c47c0e4bffedb3d4caba14cfd [file] [log] [blame]
<!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">&#9776;</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&lt;&amp;&#39;b Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Add%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Add&lt;&amp;&#39;b MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Add%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add&lt;&amp;&#39;b T&gt;</a></li><li><a href="#impl-Add%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add&lt;&amp;&#39;c Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Add%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Add&lt;&amp;&#39;c MatrixSlice&lt;&#39;a, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add&lt;&amp;&#39;c T&gt;</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&lt;&amp;&#39;d MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;d MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;d MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add&lt;Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add&lt;Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Add&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Add&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Add&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Add&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Add&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Add&lt;MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add&lt;MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Add%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Add&lt;T&gt;</a></li><li><a href="#impl-Add%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Add&lt;T&gt;</a></li><li><a href="#impl-AddAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">AddAssign&lt;&amp;&#39;b MatrixSlice&lt;&#39;a, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-AddAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">AddAssign&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-AddAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">AddAssign&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-BaseMatrix%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">BaseMatrix&lt;T&gt;</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&lt;&amp;&#39;b T&gt;</a></li><li><a href="#impl-Div%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Div&lt;&amp;&#39;c T&gt;</a></li><li><a href="#impl-Div%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Div&lt;T&gt;</a></li><li><a href="#impl-Div%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Div&lt;T&gt;</a></li><li><a href="#impl-From%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">From&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Index%3C%5Busize%3B%202%5D%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Index&lt;[usize; 2]&gt;</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&lt;&amp;&#39;b Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Mul&lt;&amp;&#39;b MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E">Mul&lt;&amp;&#39;b PermutationMatrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3C%26%27b%20PermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E">Mul&lt;&amp;&#39;b PermutationMatrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;&amp;&#39;b T&gt;</a></li><li><a href="#impl-Mul%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;&amp;&#39;c Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Mul&lt;&amp;&#39;c MatrixSlice&lt;&#39;a, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;&amp;&#39;c T&gt;</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&lt;&amp;&#39;d MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;d MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;d MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Mul&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Mul&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Mul&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Mul&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-%26%27a%20MatrixSlice%3C%27m%2C%20T%3E">Mul&lt;PermutationMatrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3CPermutationMatrix%3CT%3E%3E-for-MatrixSlice%3C%27m%2C%20T%3E">Mul&lt;PermutationMatrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Mul%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;T&gt;</a></li><li><a href="#impl-Mul%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Mul&lt;T&gt;</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&lt;&amp;&#39;b Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Sub%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Sub&lt;&amp;&#39;b MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Sub%3C%26%27b%20T%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;&amp;&#39;b T&gt;</a></li><li><a href="#impl-Sub%3C%26%27c%20Matrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;&amp;&#39;c Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Sub%3C%26%27c%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Sub&lt;&amp;&#39;c MatrixSlice&lt;&#39;a, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3C%26%27c%20T%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;&amp;&#39;c T&gt;</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&lt;&amp;&#39;d MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;d MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;&amp;&#39;d MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrix%3CT%3E%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrix%3CT%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;Matrix&lt;T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-%26%27b%20Matrix%3CT%3E">Sub&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">Sub&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSliceMut%3C%27a%2C%20T%3E">Sub&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">Sub&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-%26%27c%20MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CMatrixSliceMut%3C%27b%2C%20T%3E%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;MatrixSliceMut&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-Sub%3CT%3E-for-%26%27b%20MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;T&gt;</a></li><li><a href="#impl-Sub%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Sub&lt;T&gt;</a></li><li><a href="#impl-SubAssign%3C%26%27b%20MatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">SubAssign&lt;&amp;&#39;b MatrixSlice&lt;&#39;a, T&gt;&gt;</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&lt;&amp;&#39;c MatrixSlice&lt;&#39;b, T&gt;&gt;</a></li><li><a href="#impl-SubAssign%3CMatrixSlice%3C%27a%2C%20T%3E%3E-for-Matrix%3CT%3E">SubAssign&lt;MatrixSlice&lt;&#39;a, T&gt;&gt;</a></li><li><a href="#impl-SubAssign%3CMatrixSlice%3C%27b%2C%20T%3E%3E-for-MatrixSliceMut%3C%27a%2C%20T%3E">SubAssign&lt;MatrixSlice&lt;&#39;b, T&gt;&gt;</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&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-MatrixSlice%3C%27a%2C%20T%3E">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E">Into&lt;U&gt;</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&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-MatrixSlice%3C%27a%2C%20T%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-MatrixSlice%3C%27a%2C%20T%3E">VZip&lt;V&gt;</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">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct MatrixSlice&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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&lt;'a, T&gt; <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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>&nbsp;&nbsp;&nbsp;&nbsp;mat: &amp;'a <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;start: [usize; 2],<br>&nbsp;&nbsp;&nbsp;&nbsp;rows: usize,<br>&nbsp;&nbsp;&nbsp;&nbsp;cols: usize<br>) -&gt; <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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::&lt;Vec&lt;usize&gt;&gt;());
<span class="kw">let </span>slice = MatrixSlice::from_matrix(<span class="kw-2">&amp;</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>&nbsp;&nbsp;&nbsp;&nbsp;ptr: *const T,<br>&nbsp;&nbsp;&nbsp;&nbsp;rows: usize,<br>&nbsp;&nbsp;&nbsp;&nbsp;cols: usize,<br>&nbsp;&nbsp;&nbsp;&nbsp;row_stride: usize<br>) -&gt; <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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&lt;'a, 'b, T&gt; Add&lt;&amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;&amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;&amp;'b T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;&amp;'c <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;&amp;'c T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Add&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Add&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Add&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Add&lt;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Add&lt;T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Add&lt;T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; AddAssign&lt;&amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, 'b, 'c, T&gt; AddAssign&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, T&gt; AddAssign&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, 'b, T&gt; AddAssign&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Add&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, T&gt; <a class="trait" href="../linalg/trait.BaseMatrix.html" title="trait rusty_machine::linalg::BaseMatrix">BaseMatrix</a>&lt;T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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>(&amp;self) -&gt; 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>(&amp;self) -&gt; 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>(&amp;self) -&gt; 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>(&amp;self) -&gt; *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>(&amp;self) -&gt; 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>(&amp;self) -&gt; <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;</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>(&amp;self, index: [usize; 2]) -&gt; &amp;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>(&amp;self, index: [usize; 2]) -&gt; Option&lt;&amp;T&gt;</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>(&amp;self, index: usize) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Column.html" title="struct rulinalg::matrix::Column">Column</a>&lt;'_, T&gt;</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>(&amp;self, index: usize) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Column.html" title="struct rulinalg::matrix::Column">Column</a>&lt;'_, T&gt;</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>(&amp;self, index: usize) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Row.html" title="struct rulinalg::matrix::Row">Row</a>&lt;'_, T&gt;</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>(&amp;self, index: usize) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Row.html" title="struct rulinalg::matrix::Row">Row</a>&lt;'_, T&gt;</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>&lt;'a&gt;(&amp;self) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.SliceIter.html" title="struct rulinalg::matrix::SliceIter">SliceIter</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;self) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Cols.html" title="struct rulinalg::matrix::Cols">Cols</a>&lt;'_, T&gt;</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>(&amp;self) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Rows.html" title="struct rulinalg::matrix::Rows">Rows</a>&lt;'_, T&gt;</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>(&amp;self, k: <a class="enum" href="../../rulinalg/matrix/enum.DiagOffset.html" title="enum rulinalg::matrix::DiagOffset">DiagOffset</a>) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Diagonal.html" title="struct rulinalg::matrix::Diagonal">Diagonal</a>&lt;'_, T, Self&gt;</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>&lt;'a, 'b, B, M&gt;(&amp;'a self, mat: &amp;'b B, metric: M) -&gt; T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;B: 'b + <a class="trait" href="../linalg/trait.BaseMatrix.html" title="trait rusty_machine::linalg::BaseMatrix">BaseMatrix</a>&lt;T&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;M: <a class="trait" href="../linalg/norm/trait.MatrixMetric.html" title="trait rusty_machine::linalg::norm::MatrixMetric">MatrixMetric</a>&lt;'a, 'b, T, Self, B&gt;,</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>(&amp;self) -&gt; <a class="struct" href="../../rulinalg/matrix/struct.Diagonal.html" title="struct rulinalg::matrix::Diagonal">Diagonal</a>&lt;'_, T, Self&gt;</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>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;mid: usize,<br>&nbsp;&nbsp;&nbsp;&nbsp;axis: <a class="enum" href="../linalg/enum.Axes.html" title="enum rusty_machine::linalg::Axes">Axes</a><br>) -&gt; (<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;, <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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>&lt;'a&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;start: [usize; 2],<br>&nbsp;&nbsp;&nbsp;&nbsp;rows: usize,<br>&nbsp;&nbsp;&nbsp;&nbsp;cols: usize<br>) -&gt; <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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&lt;'a, T&gt; Clone for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;self) -&gt; <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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>(&amp;mut self, source: &amp;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&lt;'a, T&gt; Debug for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;self, f: &amp;mut Formatter&lt;'_&gt;) -&gt; Result&lt;(), Error&gt;</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&lt;'a, 'b, T&gt; Div&lt;&amp;'b T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Div&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Div&lt;&amp;'c T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Div&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Div&lt;T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Div&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Div&lt;T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Div&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; From&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&lt;'a, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Index&lt;[usize; 2]&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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>(&amp;self, idx: [usize; 2]) -&gt; &amp;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&lt;'a, T&gt; IntoIterator for &amp;'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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> = &amp;'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>&lt;'a, T&gt;</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) -&gt; &lt;&amp;'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt; as IntoIterator&gt;::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&lt;'a, T&gt; IntoIterator for &amp;'a mut <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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> = &amp;'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>&lt;'a, T&gt;</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) -&gt; &lt;&amp;'a mut <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt; as IntoIterator&gt;::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&lt;'a, T&gt; IntoIterator for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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> = &amp;'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>&lt;'a, T&gt;</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) -&gt; &lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt; as IntoIterator&gt;::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&lt;'a, 'b, T&gt; Mul&lt;&amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;&amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'm, T&gt; Mul&lt;&amp;'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a>&lt;T&gt;&gt; for &amp;'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'m, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&lt;T&gt;</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: &amp;'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'm, T&gt; Mul&lt;&amp;'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'m, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&lt;T&gt;</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: &amp;'b <a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;&amp;'b T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Mul&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;&amp;'c <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;&amp;'c T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Mul&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Mul&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Mul&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Mul&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + <a class="trait" href="../../num_traits/identities/trait.Zero.html" title="trait num_traits::identities::Zero">Zero</a>&lt;Output = T&gt; + Add&lt;T&gt; + Mul&lt;T, Output = T&gt; + 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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'm, T&gt; Mul&lt;<a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a>&lt;T&gt;&gt; for &amp;'a <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'m, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'm, T&gt; Mul&lt;<a class="struct" href="../../rulinalg/matrix/permutation_matrix/struct.PermutationMatrix.html" title="struct rulinalg::matrix::permutation_matrix::PermutationMatrix">PermutationMatrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'m, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Mul&lt;T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Mul&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Mul&lt;T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Mul&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Neg for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Neg&lt;Output = T&gt; + 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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Neg for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Neg&lt;Output = T&gt; + 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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;&amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;&amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;&amp;'b T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;&amp;'c <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;&amp;'c T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;T) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Sub&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Sub&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, 'd, T&gt; Sub&lt;&amp;'d <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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: &amp;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for &amp;'b <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, 'c, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for &amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;<a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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>&lt;'_, T&gt;) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; Sub&lt;T&gt; for &amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, T&gt; Sub&lt;T&gt; for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>&lt;T&gt;</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) -&gt; <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;</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&lt;'a, 'b, T&gt; SubAssign&lt;&amp;'b <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, 'b, 'c, T&gt; SubAssign&lt;&amp;'c <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: &amp;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, T&gt; SubAssign&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;&gt; for <a class="struct" href="../linalg/struct.Matrix.html" title="struct rusty_machine::linalg::Matrix">Matrix</a>&lt;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, 'b, T&gt; SubAssign&lt;<a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'b, T&gt;&gt; for <a class="struct" href="../linalg/struct.MatrixSliceMut.html" title="struct rusty_machine::linalg::MatrixSliceMut">MatrixSliceMut</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Copy + Sub&lt;T, Output = T&gt;,</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>(&amp;mut self, _rhs: <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'_, T&gt;)</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&lt;'a, T&gt; Copy for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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&lt;'a, T&gt; RefUnwindSafe for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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&lt;'a, T&gt; !Send for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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&lt;'a, T&gt; !Sync for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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&lt;'a, T&gt; Unpin for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;</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&lt;'a, T&gt; UnwindSafe for <a class="struct" href="../linalg/struct.MatrixSlice.html" title="struct rusty_machine::linalg::MatrixSlice">MatrixSlice</a>&lt;'a, T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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&lt;T&gt; Any for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;self) -&gt; 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&lt;T&gt; Borrow&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;self) -&gt; &amp;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&lt;T&gt; BorrowMut&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;mut self) -&gt; &amp;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&lt;T&gt; From&lt;T&gt; 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) -&gt; 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&lt;T, U&gt; Into&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: From&lt;T&gt;,</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) -&gt; 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]&lt;T&gt; 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&lt;T&gt; ToOwned for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;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>(&amp;self) -&gt; 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>(&amp;self, target: &amp;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&lt;T, U&gt; TryFrom&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: Into&lt;T&gt;,</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) -&gt; Result&lt;T, &lt;T as TryFrom&lt;U&gt;&gt;::Error&gt;</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&lt;T, U&gt; TryInto&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: TryFrom&lt;T&gt;,</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> = &lt;U as TryFrom&lt;T&gt;&gt;::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) -&gt; Result&lt;U, &lt;U as TryFrom&lt;T&gt;&gt;::Error&gt;</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&lt;V, T&gt; <a class="trait" href="../../ppv_lite86/types/trait.VZip.html" title="trait ppv_lite86::types::VZip">VZip</a>&lt;V&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;V: <a class="trait" href="../../ppv_lite86/types/trait.MultiLane.html" title="trait ppv_lite86::types::MultiLane">MultiLane</a>&lt;T&gt;,</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) -&gt; 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>