cotila  1.2.1
A compile time linear algebra system
Classes | Functions
vector.h File Reference

Contains the definition of the cotila::vector class. More...

#include <array>
#include <cotila/detail/tmp.h>
#include <cotila/detail/assert.h>
#include <cstddef>
#include <type_traits>

Go to the source code of this file.

Classes

struct  cotila::vector< T, N >
 A container representing a vector. More...
 

Functions

template<typename... Args>
decltype(auto) constexpr cotila::make_vector (Args... args)
 constructs a cotila::vector from arguments More...
 
cotila::vector deduction guides
template<typename T , typename... U>
 cotila::vector (T, U...) -> vector< std::enable_if_t<(std::is_same_v< T, U > &&...), T >, 1+sizeof...(U)>
 deduction guide for uniform initialization More...
 
template<typename T , std::size_t N>
 cotila::vector (const T(&)[N]) -> vector< T, N >
 deduction guide for aggregate initialization More...
 
template<typename T , std::size_t N>
 cotila::vector (const T(&)[N][2]) -> vector< std::complex< T >, N >
 deduction guide for complex-valued aggregate initialization More...