cotila  1.2.1
A compile time linear algebra system

◆ vector() [3/3]

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

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

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