Function vec1

Source
pub fn vec1<T>(x: T) -> Matrix<T, Const<1>, Const<1>, ArrayStorage<T, 1, 1>>
where T: Scalar,
Expand description

Creates a new 1D vector.

ยงExamples:

Construct a vector of bools:

let v = glm::vec1(true);