tensor 0.1.2

Currently, a sketch of a Tensor library
Documentation
1
2
3
4
5
6
7
8
9
use std::ops::{Add, Mul};
use std::fmt::Display;
use std::fmt::Debug;

extern crate num;
use self::num::traits::Zero;

pub trait TensorTrait<T>: Zero + Clone + Display + Debug + Add<T, Output = T> + Mul<T, Output = T> { }
impl<T> TensorTrait<T> for T where T: Zero + Clone + Display + Debug + Add<T, Output = T> + Mul<T, Output = T> { }