cotila  1.2.1
A compile time linear algebra system

◆ vector() [2/3]

template<typename T , std::size_t N>
vector ( const   T(&)[N]) -> vector< T, N >
related

This deduction guide allows cotila::vector to be constructed like this:

cotila::vector v{{1., 2.}}; // deduces the type of v to be cotila::vector<double, 2>