124template<
typename AFloat>
134 const std::vector<size_t>
shapeVec {1,1,1,1};
151 void* indices =
nullptr;
154 A.GetTensorDescriptor(),
155 C.GetTensorDescriptor(),
161 void* workspace =
nullptr;
164 A.GetTensorDescriptor(),
165 C.GetTensorDescriptor(),
178 A.GetTensorDescriptor(),
181 C.GetTensorDescriptor(),
182 C.GetDataPointer()));
241template<
typename AFloat>
248 assert(B.GetShape().size() == A.GetShape().size());
249 for (
size_t i = 0; i < B.GetShape().
size(); ++i) {
250 if (B.GetShape()[i] != A.GetShape()[i] ) {
251 if ( A.GetShape()[i]!=1) {
261 A.GetTensorDescriptor(),
264 B.GetTensorDescriptor(),
265 B.GetDataPointer()));
270template<
typename AFloat>
281template<
typename AFloat>
285 A.GetTensorDescriptor(),
306template<
typename AFloat>
326 A.GetTensorDescriptor(),
329 A.GetTensorDescriptor(),
332 A.GetTensorDescriptor(),
333 A.GetDataPointer()));
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void PrintTensor(RTensor< T > &t)
create variable transformations
constexpr Double_t C()
Velocity of light in .