Type Definition vectrix::RowVector[][src]

type RowVector<T, const N: usize> = Matrix<T, 1, N>;

A matrix with one row and N columns.

Implementations

impl<T> RowVector<T, 1>[src]

pub const fn new(x: T) -> Self[src]

Creates a new vector from the given components.

impl<T> RowVector<T, 2>[src]

pub const fn new(x: T, y: T) -> Self[src]

Creates a new vector from the given components.

impl<T> RowVector<T, 3>[src]

pub const fn new(x: T, y: T, z: T) -> Self[src]

Creates a new vector from the given components.

impl<T> RowVector<T, 4>[src]

pub const fn new(x: T, y: T, z: T, w: T) -> Self[src]

Creates a new vector from the given components.

impl<T> RowVector<T, 5>[src]

pub const fn new(x: T, y: T, z: T, w: T, a: T) -> Self[src]

Creates a new vector from the given components.

impl<T> RowVector<T, 6>[src]

pub const fn new(x: T, y: T, z: T, w: T, a: T, b: T) -> Self[src]

Creates a new vector from the given components.

Trait Implementations

impl<T> From<[T; 1]> for RowVector<T, 1>[src]

impl<T> From<[T; 2]> for RowVector<T, 2>[src]

impl<T> From<[T; 3]> for RowVector<T, 3>[src]

impl<T> From<[T; 4]> for RowVector<T, 4>[src]

impl<T> From<[T; 5]> for RowVector<T, 5>[src]

impl<T> From<[T; 6]> for RowVector<T, 6>[src]