cotila  1.2.1
A compile time linear algebra system

◆ vector() [1/3]

template<typename T , typename... U>
vector ( ,
U...   
) -> vector< std::enable_if_t<(std::is_same_v< T, U > &&...), T >, 1+sizeof...(U)>
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>