Trait matrix::Matrix [] [src]

pub trait Matrix {
    type Element: Element;
    fn rows(&self) -> usize;
    fn columns(&self) -> usize;
}

A matrix.

Associated Types

type Element: Element

The element type.

Required Methods

fn rows(&self) -> usize

Return the number of rows.

fn columns(&self) -> usize

Return the number of columns.

Implementors