Type Definition nalgebra::core::Vector [] [src]

type Vector<N, D, S> = Matrix<N, D, U1, S>;

A matrix with one column and D rows.

Methods

impl<N: Scalar + PartialOrd + Signed, D: Dim, S: Storage<N, D>> Vector<N, D, S>
[src]

[src]

Computes the index of the vector component with the largest absolute value.

[src]

Computes the index of the vector component with the smallest absolute value.

impl<N, D: Dim, S> Vector<N, D, S> where
    N: Scalar + Zero + ClosedAdd + ClosedMul,
    S: StorageMut<N, D>, 
[src]

[src]

Computes self = a * x + b * self.

If be is zero, self is never read from.

[src]

Computes self = alpha * a * x + beta * self, where a is a matrix, x a vector, and alpha, beta two scalars.

If beta is zero, self is never read.

[src]

Computes self = alpha * a * x + beta * self, where a is a symmetric matrix, x a vector, and alpha, beta two scalars.

If beta is zero, self is never read. If self is read, only its lower-triangular part (including the diagonal) is actually read.

[src]

Computes self = alpha * a.transpose() * x + beta * self, where a is a matrix, x a vector, and alpha, beta two scalars.

If beta is zero, self is never read.

impl<N: Scalar, D: Dim, S: Storage<N, D>> Vector<N, D, S>
[src]

[src]

Gets a reference to the i-th element of this column vector without bound checking.

impl<N: Scalar, D: Dim, S: StorageMut<N, D>> Vector<N, D, S>
[src]

[src]

Gets a mutable reference to the i-th element of this column vector without bound checking.

impl<N: Scalar + Zero, D: DimAdd<U1>, S: Storage<N, D>> Vector<N, D, S>
[src]

[src]

Computes the coordinates in projective space of this vector, i.e., appends a 0 to its coordinates.

[src]

Constructs a vector from coordinates in projective space, i.e., removes a 0 at the end of self. Returns None if this last component is not zero.

impl<N: Real, S: Storage<N, U3>> Vector<N, U3, S> where
    DefaultAllocator: Allocator<N, U3>, 
[src]

[src]

Computes the matrix M such that for all vector v we have M * v == self.cross(&v).