NEML2 2.0.0
Loading...
Searching...
No Matches
DTensor< T1, T2, TR > Class Template Reference

Abstract representation of the derivative of a primitive tensor with respect to another primitive tensor. More...

Detailed Description

template<class T1, class T2, class TR>
class neml2::DTensor< T1, T2, TR >

Abstract representation of the derivative of a primitive tensor with respect to another primitive tensor.

Template Parameters
T1The type of the first tensor (the one being derived)
T2The type of the second tensor (the one with respect to which we are deriving)
TRThe type of the resulting derivative tensor

#include <DTensor.h>

Inheritance diagram for DTensor< T1, T2, TR >:

Public Member Functions

 DTensor ()=default
 Special member functions.
 
template<class Derived2 >
 DTensor (const TensorBase< Derived2 > &tensor)
 Copy constructor.
 

Constructor & Destructor Documentation

◆ DTensor() [1/2]

template<class T1 , class T2 , class TR >
DTensor ( )
default

Special member functions.

◆ DTensor() [2/2]

template<class T1 , class T2 , class TR >
template<class Derived2 >
DTensor ( const TensorBase< Derived2 > & tensor)

Copy constructor.