Xped
Loading...
Searching...
No Matches
ADTensor.hpp File Reference
#include <cmath>
#include "stan/math/rev.hpp"
#include "Xped/AD/complex_var.hpp"
#include "Xped/Util/Bool.hpp"
#include "Xped/Core/Tensor.hpp"
#include "Xped/AD/reverse_pass_callback_alloc.hpp"
#include "Xped/AD/vari_value.hpp"
Include dependency graph for ADTensor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Xped::Tensor< Scalar_, Rank, CoRank, Symmetry_, true, AllocationPolicy_ >
 

Namespaces

namespace  Xped
 

Typedefs

template<bool AD, typename Scalar , std::size_t Rank, std::size_t CoRank, typename Symmetry , typename AllocationPolicy = HeapPolicy>
using Xped::XTensor = std::conditional_t< AD, Tensor< Scalar, Rank, CoRank, Symmetry, true, AllocationPolicy >, Tensor< Scalar, Rank, CoRank, Symmetry, false, AllocationPolicy > >
 
template<bool AD, typename Scalar >
using Xped::XScalar = std::conditional_t< AD, stan::math::var_value< Scalar >, Scalar >
 

Functions

template<bool TRACK = true, typename Scalar , std::size_t Rank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, Scalar, Rank, CoRank, Symmetry > Xped::operator- (const Tensor< Scalar, Rank, CoRank, Symmetry, true > &t, Scalar s)
 
template<bool TRACK = true, typename Scalar , std::size_t Rank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, Scalar, Rank, CoRank, Symmetry > Xped::operator+ (const Tensor< Scalar, Rank, CoRank, Symmetry, true > &t, Scalar s)
 
template<bool TRACK = true, typename Scalar , std::size_t Rank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, Scalar, Rank, CoRank, Symmetry > Xped::operator* (const Tensor< Scalar, Rank, CoRank, Symmetry, true > &t, Scalar s)
 
template<bool TRACK = true, typename Scalar , std::size_t Rank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, Scalar, Rank, CoRank, Symmetry > Xped::operator* (const Tensor< Scalar, Rank, CoRank, Symmetry, true > &t, stan::math::var_value< Scalar > s)
 
template<bool TRACK = true, typename Scalar , typename OtherScalar , std::size_t Rank, std::size_t MiddleRank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, std::common_type_t< Scalar, OtherScalar >, Rank, CoRank, Symmetry > Xped::operator* (const Tensor< Scalar, Rank, MiddleRank, Symmetry, false > &left, const Tensor< OtherScalar, MiddleRank, CoRank, Symmetry, true > &right)
 
template<bool TRACK = true, typename Scalar , typename OtherScalar , std::size_t Rank, std::size_t MiddleRank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, std::common_type_t< Scalar, OtherScalar >, Rank, CoRank, Symmetry > Xped::operator* (const Tensor< Scalar, Rank, MiddleRank, Symmetry, true > &left, const Tensor< OtherScalar, MiddleRank, CoRank, Symmetry, false > &right)
 
template<bool TRACK = true, typename Scalar , typename OtherScalar , std::size_t Rank, std::size_t MiddleRank, std::size_t CoRank, typename Symmetry >
XTensor< TRACK, std::common_type_t< Scalar, OtherScalar >, Rank, CoRank, Symmetry > Xped::operator* (const Tensor< Scalar, Rank, MiddleRank, Symmetry, true > &left, const Tensor< OtherScalar, MiddleRank, CoRank, Symmetry, true > &right)