// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2017 Viktor Csomor <viktor.csomor@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include"main.h"
#include <Eigen/CXX11/Tensor> #include <utility>
using Eigen::Tensor; using Eigen::RowMajor;
staticvoid calc_indices(int i, int& x, int& y, int& z)
{
x = i / 4;
y = (i % 4) / 2;
z = i % 2;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.