From 645ca8ad52623f926651277a6391cc75ca207f87 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 9 Feb 2019 21:53:22 -0600 Subject: [PATCH] All 3 modes of direct done --- examples/convolution.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/examples/convolution.rs b/examples/convolution.rs index 7a3e8780..07b1f974 100644 --- a/examples/convolution.rs +++ b/examples/convolution.rs @@ -1,9 +1,6 @@ extern crate nalgebra as na; use na::storage::Storage; -use na::{ - convert, zero, DMatrix, DVector, Dim, Dynamic, Matrix, Matrix2x3, Real, VecStorage, Vector, - Vector2, Vector3, Vector4, Vector5, U1, -}; +use na::{zero, DVector, Dim, Dynamic, Matrix, Real, VecStorage, Vector, U1}; use std::cmp; enum ConvolveMode { @@ -96,8 +93,5 @@ fn convolve, Q: Storage>( } fn main() { - let v1 = Vector4::new(1.0, 2.0, 1.0, 0.0); - let v2 = Vector4::new(1.0, 2.0, 5.0, 9.0); - let x = convolve(v1, v2, Some(ConvolveMode::Same)); - println!("{:?}", x); + }