1
 2
 3
 4
 5
 6
 7
 8
 9
10
use Element;
use format::Diagonal;
use operation::Transpose;

impl<T: Element> Transpose for Diagonal<T> {
    #[inline(always)]
    fn transpose(&self) -> Self {
        self.clone()
    }
}