Class PDEResidualGradient<T>
- Namespace
- AiDotNet.PhysicsInformed.Interfaces
- Assembly
- AiDotNet.dll
Holds gradients of a residual with respect to outputs and derivatives.
public sealed class PDEResidualGradient<T>
Type Parameters
TThe numeric type.
- Inheritance
-
PDEResidualGradient<T>
- Inherited Members
Constructors
PDEResidualGradient(int, int)
Initializes a new instance of the PDEResidualGradient<T> class.
public PDEResidualGradient(int outputDimension, int inputDimension)
Parameters
Properties
FirstDerivatives
Gradient of residual with respect to first derivatives.
public T[,] FirstDerivatives { get; }
Property Value
- T[,]
OutputGradients
Gradient of residual with respect to outputs.
public T[] OutputGradients { get; }
Property Value
- T[]
SecondDerivatives
Gradient of residual with respect to second derivatives.
public T[,,] SecondDerivatives { get; }
Property Value
- T[,,]
ThirdDerivatives
Gradient of residual with respect to third derivatives. Used for higher-order PDEs like Korteweg-de Vries equation.
public T[,,,] ThirdDerivatives { get; }
Property Value
- T[,,,]