template<class T, std::size_t N1, std::size_t N2, class base_type = std::array<std::array<T, N2>, N1>>
struct TinyMatrix< T, N1, N2, base_type >
Definition at line 42 of file Blitz.h.
◆ operator()() [1/2]
T const& operator() |
( |
std::size_t |
i, |
|
|
std::size_t |
j |
|
) |
| const |
|
inline |
Definition at line 51 of file Blitz.h.
51 {
return base_type::operator[](i)[j]; }
◆ operator()() [2/2]
T& operator() |
( |
std::size_t |
i, |
|
|
std::size_t |
j |
|
) |
| |
|
inline |
Definition at line 52 of file Blitz.h.
52 {
return base_type::operator[](i)[j]; }
◆ operator=()
Definition at line 44 of file Blitz.h.
46 std::array<T, N2> val;
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
TinyMatrix< T, N1, N2, base_type > const & |
self |
|
) |
| |
|
friend |
Definition at line 53 of file Blitz.h.
55 for (
auto i = 0; i != N1; ++i)
57 for (
auto j = 0; j != N2; ++j)
58 os <<
self(i, j) <<
',';
The documentation for this struct was generated from the following file:
- /home/pk7/projects/qmc/for_cron_doxygen/qmcpack/src/QMCTools/ppconvert/src/common/Blitz.h