73template <
class T,
size_t d>
75 const std::array<T, d> &x,
76 const std::array<T, d> &y
87for (
size_t i = 0; i < d; i++){
112template <
class T,
size_t d>
114 const std::array<T, d> &x,
126for (
size_t i = 0; i < d; i++){
151template <
class T,
size_t d>
154 const std::array<T, d> &y
189template <
class T,
size_t d,
size_t e>
192 const std::array<std::array<T, e>, d> &y
198std::array<std::array<T, e>, d> z;
203for (
size_t i = 0; i < d; i++){
229template <
class T,
size_t d,
size_t e>
231 const std::array<std::array<T, e>, d> &x,
238std::array<std::array<T, e>, d> z;
267template <
class T,
size_t d>
269 std::array< T, d > &x,
270 const std::array< T, d > &y
281for (
size_t i = 0; i < d; i++){
305template <
class T,
size_t d>
307 std::array< T, d > &x,
319for (
size_t i = 0; i < d; i++){
343template <
class T,
size_t d,
size_t e>
345 std::array< std::array< T, e >, d > &x,
357for (
size_t i = 0; i < d; i++) {
384template <
class T,
size_t d>
386 const std::array<T, d> &x,
387 const std::array<T, d> &y
398for (
size_t i = 0; i < d; i++){
423template <
class T,
size_t d>
425 const std::array<T, d> &x,
437for (
size_t i = 0; i < d; i++){
462template <
class T,
size_t d>
465 const std::array<T, d> &y
500template <
class T,
size_t d,
size_t e>
503 const std::array<std::array<T, e>, d> &y
509std::array<std::array<T, e>, d> z;
514for (
size_t i = 0; i < d; i++) {
540template <
class T,
size_t d,
size_t e>
542 const std::array<std::array<T, e>, d> &x,
549std::array<std::array<T, e>, d> z;
578template <
class T,
size_t d>
580 std::array< T, d > &x,
581 const std::array< T, d > &y
592for (
size_t i = 0; i < d; i++){
616template <
class T,
size_t d>
618 std::array< T, d > &x,
649for (
size_t i = 0; i < d; i++){
673template <
class T,
size_t d,
size_t e>
675 std::array< std::array< T, e >, d > &x,
687for (
size_t i = 0; i < d; i++) {
714template <
class T,
size_t d>
716 const std::array<T, d> &x,
717 const std::array<T, d> &y
728for (
size_t i = 0; i < d; i++){
753template <
class T,
size_t d>
755 const std::array<T, d> &x,
767for (
size_t i = 0; i < d; i++){
792template <
class T,
size_t d>
795 const std::array<T, d> &y
830template <
class T,
size_t d,
size_t e>
833 const std::array<std::array<T, e>, d> &y
839std::array<std::array<T, e>, d> z;
844for (
size_t i = 0; i < d; i++) {
870template <
class T,
size_t d,
size_t e>
872 const std::array<std::array<T, e>, d> &x,
879std::array<std::array<T, e>, d> z;
884for (
size_t i = 0; i < d; i++) {
910template <
class T,
size_t d>
912 std::array< T, d > &x,
913 const std::array< T, d > &y
924for (
size_t i = 0; i < d; i++){
948template <
class T,
size_t d>
950 std::array< T, d > &x,
962for (
size_t i = 0; i < d; i++){
986template <
class T,
size_t d,
size_t e>
988 std::array< std::array< T, e >, d > &x,
1000for (
size_t i = 0; i < d; i++) {
1027template <
class T,
size_t d>
1029 const std::array<T, d> &x,
1030 const std::array<T, d> &y
1041for (
size_t i = 0; i < d; i++){
1066template <
class T,
size_t d>
1068 const std::array<T, d> &x,
1085for (i = 0; i < d; i++) {
1110template <
class T,
size_t d>
1113 const std::array<T, d> &y
1124for (
size_t i = 0; i < d; i++) {
1150template <
class T,
size_t d,
size_t e>
1153 const std::array<std::array<T, e>, d> &y
1159std::array<std::array<T, e>, d> z;
1164for (
size_t i = 0; i < d; i++) {
1190template <
class T,
size_t d,
size_t e>
1192 const std::array<std::array<T, e>, d> &x,
1199std::array<std::array<T, e>, d> z;
1204for (
size_t i = 0; i < d; i++) {
1230template <
class T,
size_t d>
1232 std::array< T, d > &x,
1233 const std::array< T, d > &y
1236for (
size_t i = 0; i < d; i++){
1260template <
class T,
size_t d>
1262 std::array< T, d > &x,
1266for (
size_t i = 0; i < d; i++){
1290template <
class T,
size_t d,
size_t e>
1292 std::array< std::array< T, e >, d > &x,
1296for (
size_t i = 0; i < d; i++) {
1327template <
class T,
size_t d>
1330 const std::array<T, d> &x
1344for (
size_t i = 0; i < d-1; i++) {
1366template <
class T,
size_t d>
1369 const std::array<T, d> &x
1383for (
size_t i = 0; i < d-1; i++) {
1407template <
class T,
size_t d>
1410 const std::array<T, d> &x
1424for (
size_t i = 0; i < d-1; i++) {
1448template <
class T,
size_t d>
1468while ((in.good()) && (i < d)) {
1469 if (in >> dummy) { x[i] = dummy; }
1488template <
class T,
size_t d>
1508while ((in.good()) && (i < d)) {
1509 if (in >> dummy) { x[i] = dummy; }
1527template<
class T,
size_t d>
1530 const std::array<T, d> &x,
1531 unsigned int padding
1539typename std::array<T, d>::const_iterator i, e = x.cend();
1548out << std::string(padding,
' ') <<
"[ ";
1550for (i = x.begin(); i != e; ++i) {
1567template<
class T,
size_t d>
1570 const std::array<T, d> &x,
1571 unsigned int padding
1579typename std::array<T, d>::const_iterator i, e = x.cend();
1588out << std::string(padding,
' ') <<
"[ ";
1590for (i = x.begin(); i != e; ++i) {
std::array< T, d > & operator*=(std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > & operator-=(std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > operator/(const std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > & operator+=(std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > & operator/=(std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > operator*(const std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > operator-(const std::array< T, d > &x, const std::array< T, d > &y)
std::array< T, d > operator+(const std::array< T, d > &x, const std::array< T, d > &y)
std::istream & operator>>(std::istream &in, std::array< T, d > &x)
std::ostream & display(std::ostream &out, const std::array< T, d > &x, unsigned int padding)
std::ostream & operator<<(std::ostream &out, const std::array< T, d > &x)