Struct nalgebra::DVector6 [] [src]

pub struct DVector6<N> {
    // some fields omitted
}

Stack-allocated, dynamically sized vector with a maximum size of 6.

Methods

impl<N: Zero + Copy + Clone> DVector6<N>
[src]

Tests if all components of the vector are zeroes.

impl<N: Zero + Copy + Clone> DVector6<N>
[src]

Builds a vector filled with zeros.

Arguments

  • dimension - The dimension of the vector.

impl<N: One + Zero + Copy + Clone> DVector6<N>
[src]

Builds a vector filled with ones.

Arguments

  • dimension - The dimension of the vector.

impl<N: Rand + Zero> DVector6<N>
[src]

Builds a vector filled with random values.

impl<N: BaseFloat + ApproxEq<N>> DVector6<N>
[src]

Computes the canonical basis for the given dimension. A canonical basis is a set of vectors, mutually orthogonal, with all its component equal to 0.0 except one which is equal to 1.0.

Computes a basis of the space orthogonal to the vector. If the input vector is of dimension n, this will return n - 1 vectors.

impl<N> DVector6<N>
[src]

The number of elements of this vector.

Creates an uninitialized vector of dimension dimension.

impl<N: Copy + Zero> DVector6<N>
[src]

Builds a vector filled with a constant.

impl<N: Copy + Zero> DVector6<N>
[src]

Builds a vector filled with the components provided by a vector.

The vector must have at least dimension elements.

impl<N: Zero> DVector6<N>
[src]

Builds a vector filled with the result of a function.

Trait Implementations

impl<N> Mul<DMatrix6<N>> for DVector6<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, N> Mul<DMatrix6<N>> for &'a DVector6<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, N> Mul<&'a DMatrix6<N>> for DVector6<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, N> Mul<&'b DMatrix6<N>> for &'a DVector6<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N> MulAssign<DMatrix6<N>> for DVector6<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The method for the *= operator

impl<'a, N> MulAssign<&'a DMatrix6<N>> for DVector6<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The method for the *= operator

impl<N> AsRef<[N]> for DVector6<N>
[src]

Performs the conversion.

impl<N> AsMut<[N]> for DVector6<N>
[src]

Performs the conversion.

impl<N> Shape<usize> for DVector6<N>
[src]

Returns the shape of an indexable object.

impl<N: Copy> Indexable<usize, N> for DVector6<N>
[src]

Swaps the i-th element of self with its j-th element.

Reads the i-th element of self. Read more

Writes to the i-th element of self. Read more

impl<N, T> Index<T> for DVector6<N> where [N]: Index<T>
[src]

The returned type after indexing

The method for the indexing (Foo[Bar]) operation

impl<N, T> IndexMut<T> for DVector6<N> where [N]: IndexMut<T>
[src]

The method for the indexing (Foo[Bar]) operation

impl<N> Iterable<N> for DVector6<N>
[src]

Gets a vector-like read-only iterator.

impl<N> IterableMut<N> for DVector6<N>
[src]

Gets a vector-like read-write iterator.

impl<N: Copy + Add<N, Output=N> + Mul<N, Output=N>> Axpy<N> for DVector6<N>
[src]

Adds $$a * x$$ to self.

impl<N: Copy + Mul<N, Output=N> + Zero> Mul<DVector6<N>> for DVector6<N>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N: Copy + Mul<N, Output=N> + Zero> Mul<N> for DVector6<N>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N> MulAssign<DVector6<N>> for DVector6<N> where N: Copy + MulAssign<N> + Zero
[src]

The method for the *= operator

impl<N> MulAssign<N> for DVector6<N> where N: Copy + MulAssign<N> + Zero
[src]

The method for the *= operator

impl<N: Copy + Div<N, Output=N> + Zero> Div<DVector6<N>> for DVector6<N>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<N: Copy + Div<N, Output=N> + Zero> Div<N> for DVector6<N>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, N: Copy + Div<N, Output=N> + Zero> Div<DVector6<N>> for &'a DVector6<N>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, N: Copy + Div<N, Output=N> + Zero> Div<N> for &'a DVector6<N>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<N> DivAssign<DVector6<N>> for DVector6<N> where N: Copy + DivAssign<N> + Zero
[src]

The method for the /= operator

impl<N> DivAssign<N> for DVector6<N> where N: Copy + DivAssign<N> + Zero
[src]

The method for the /= operator

impl<N: Copy + Add<N, Output=N> + Zero> Add<DVector6<N>> for DVector6<N>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<N: Copy + Add<N, Output=N> + Zero> Add<N> for DVector6<N>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<N> AddAssign<DVector6<N>> for DVector6<N> where N: Copy + AddAssign<N> + Zero
[src]

The method for the += operator

impl<N> AddAssign<N> for DVector6<N> where N: Copy + AddAssign<N> + Zero
[src]

The method for the += operator

impl<N: Copy + Sub<N, Output=N> + Zero> Sub<DVector6<N>> for DVector6<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<N: Copy + Sub<N, Output=N> + Zero> Sub<N> for DVector6<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<N> SubAssign<DVector6<N>> for DVector6<N> where N: Copy + SubAssign<N> + Zero
[src]

The method for the -= operator

impl<N> SubAssign<N> for DVector6<N> where N: Copy + SubAssign<N> + Zero
[src]

The method for the -= operator

impl<N: Neg<Output=N> + Zero + Copy> Neg for DVector6<N>
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<N: BaseNum> Dot<N> for DVector6<N>
[src]

Computes the dot (inner) product of two vectors.

impl<N: BaseFloat> Norm for DVector6<N>
[src]

The scalar type for the norm (i.e. the undelying field).

Computes the squared norm of self. Read more

Gets the normalized version of a copy of v. Read more

Normalizes self. Read more

Gets the normalized version of a copy of v or None if the vector has a norm smaller or equal to min_norm. In particular, .try_normalize(0.0) returns None if the norm is exactly zero. Read more

Normalized v or does nothing if the vector has a norm smaller or equal to min_norm. Read more

Computes the norm of self.

impl<N: BaseFloat + Cast<f64>> Mean<N> for DVector6<N>
[src]

Computes the mean of the observations stored by v. Read more

impl<N: ApproxEq<N>> ApproxEq<N> for DVector6<N>
[src]

Default epsilon for approximation.

Default ULPs for approximation.

Tests approximate equality using a custom epsilon.

Tests approximate equality using units in the last place (ULPs)

Tests approximate equality.

impl<N: PartialEq> PartialEq for DVector6<N>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Clone> Clone for DVector6<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Zero> FromIterator<N> for DVector6<N>
[src]

Creates a value from an iterator. Read more