Go to the documentation of this file.
10 #ifndef EIGEN_CXX11_TENSOR_TENSOR_IO_H
11 #define EIGEN_CXX11_TENSOR_TENSOR_IO_H
18 template <
typename Tensor,
int Rank>
25 const Index first_dim = Eigen::internal::array_get<0>(tensor.
dimensions());
35 template <
typename Tensor>
50 template <
typename Tensor>
61 typedef typename Evaluator::Dimensions Dimensions;
66 tensor.evalSubExprsIfNeeded(
NULL);
79 #endif // EIGEN_CXX11_TENSOR_TENSOR_IO_H
Namespace containing all symbols from the Eigen library.
std::ostream & operator<<(std::ostream &os, const DSizes< IndexType, NumDims > &dims)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Scalar & coeff(const array< Index, NumIndices > &indices) const
static void run(std::ostream &os, const Tensor &tensor)
ofstream os("timeSchurFactors.csv")
static void run(std::ostream &os, const Tensor &tensor)
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Dimensions & dimensions() const
A matrix or vector expression mapping an existing array of data.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t array_prod(const Sizes< Indices... > &)
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
static void run(std::ostream &os, const Tensor &tensor)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar * data()
A cost model used to limit the number of threads used for evaluating tensor expression.
internal::traits< Self >::Index Index
internal::nested_eval< T, 1 >::type eval(const T &xpr)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:06:08