PDEResidualGradient<T>

Models & Types · AiDotNet.PhysicsInformed.Interfaces

Holds gradients of a residual with respect to outputs and derivatives.

Constructors

Constructor Summary
PDEResidualGradient(int outputDimension, int inputDimension) Initializes a new instance of the PDEResidualGradient class.

Properties

Property Summary
Tensor<T> FirstDerivatives { get; } Gradient of residual with respect to first derivatives, shape [output_dim, input_dim].
Tensor<T> SecondDerivatives { get; } Gradient of residual with respect to second derivatives, shape [output_dim, input_dim, input_dim].
Tensor<T> ThirdDerivatives { get; } Gradient of residual with respect to third derivatives.
Vector<T> OutputGradients { get; } Gradient of residual with respect to outputs.