Type Definition nalgebra::core::VectorN
[−]
[src]
type VectorN<N, D> = MatrixMN<N, D, U1>;
A statically sized D-dimensional column vector.
Methods
impl<N, R: DimName> VectorN<N, R> where
N: Scalar + Zero + One,
DefaultAllocator: Allocator<N, R>,
[src]
N: Scalar + Zero + One,
DefaultAllocator: Allocator<N, R>,
fn x() -> Self where
R::Value: Cmp<U0, Output = Greater>,
[src]
R::Value: Cmp<U0, Output = Greater>,
The column vector with a 1 as its first component, and zero elsewhere.
fn y() -> Self where
R::Value: Cmp<U1, Output = Greater>,
[src]
R::Value: Cmp<U1, Output = Greater>,
The column vector with a 1 as its second component, and zero elsewhere.
fn z() -> Self where
R::Value: Cmp<U2, Output = Greater>,
[src]
R::Value: Cmp<U2, Output = Greater>,
The column vector with a 1 as its third component, and zero elsewhere.
fn w() -> Self where
R::Value: Cmp<U3, Output = Greater>,
[src]
R::Value: Cmp<U3, Output = Greater>,
The column vector with a 1 as its fourth component, and zero elsewhere.
fn a() -> Self where
R::Value: Cmp<U4, Output = Greater>,
[src]
R::Value: Cmp<U4, Output = Greater>,
The column vector with a 1 as its fifth component, and zero elsewhere.
fn b() -> Self where
R::Value: Cmp<U5, Output = Greater>,
[src]
R::Value: Cmp<U5, Output = Greater>,
The column vector with a 1 as its sixth component, and zero elsewhere.
fn x_axis() -> Unit<Self> where
R::Value: Cmp<U0, Output = Greater>,
[src]
R::Value: Cmp<U0, Output = Greater>,
The unit column vector with a 1 as its first component, and zero elsewhere.
fn y_axis() -> Unit<Self> where
R::Value: Cmp<U1, Output = Greater>,
[src]
R::Value: Cmp<U1, Output = Greater>,
The unit column vector with a 1 as its second component, and zero elsewhere.
fn z_axis() -> Unit<Self> where
R::Value: Cmp<U2, Output = Greater>,
[src]
R::Value: Cmp<U2, Output = Greater>,
The unit column vector with a 1 as its third component, and zero elsewhere.
fn w_axis() -> Unit<Self> where
R::Value: Cmp<U3, Output = Greater>,
[src]
R::Value: Cmp<U3, Output = Greater>,
The unit column vector with a 1 as its fourth component, and zero elsewhere.
fn a_axis() -> Unit<Self> where
R::Value: Cmp<U4, Output = Greater>,
[src]
R::Value: Cmp<U4, Output = Greater>,
The unit column vector with a 1 as its fifth component, and zero elsewhere.
fn b_axis() -> Unit<Self> where
R::Value: Cmp<U5, Output = Greater>,
[src]
R::Value: Cmp<U5, Output = Greater>,
The unit column vector with a 1 as its sixth component, and zero elsewhere.