Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TensorVectorConversion.hpp File Reference
#include "Acts/Utilities/Concepts.hpp"
#include <cstdint>
#include <vector>
#include <torch/torch.h>
+ Include dependency graph for TensorVectorConversion.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Acts::detail::TorchTypeMap< T >
 So far this is only needed for integers. More...
 
struct  Acts::detail::TorchTypeMap< int64_t >
 
struct  Acts::detail::TorchTypeMap< int32_t >
 
struct  Acts::detail::TorchTypeMap< int16_t >
 
struct  Acts::detail::TorchTypeMap< int8_t >
 
struct  Acts::detail::TorchTypeMap< float >
 
struct  Acts::detail::TorchTypeMap< double >
 

Namespaces

namespace  Acts::detail
 These functions perform the transport of a covariance matrix using given Jacobians. The required data is provided by the stepper object with some additional data. Since this is a purely algebraic problem the calculations are identical for StraightLineStepper and EigenStepper. As a consequence the methods can be located in a separate file.
 

Functions

template<typename T >
at::Tensor Acts::detail::vectorToTensor2D (std::vector< T > &vec, std::size_t cols)
 
template<typename T >
std::vector< TActs::detail::tensor2DToVector (const at::Tensor &tensor)