Interface IPDEResidualGradient<T>
- Namespace
- AiDotNet.PhysicsInformed.Interfaces
- Assembly
- AiDotNet.dll
Provides gradients of the PDE residual with respect to outputs and derivatives.
public interface IPDEResidualGradient<T>
Type Parameters
TThe numeric type.
Methods
ComputeResidualGradient(T[], T[], PDEDerivatives<T>)
Computes gradients of the PDE residual with respect to outputs and derivatives.
PDEResidualGradient<T> ComputeResidualGradient(T[] inputs, T[] outputs, PDEDerivatives<T> derivatives)
Parameters
inputsT[]The spatial and temporal coordinates.
outputsT[]The predicted solution values.
derivativesPDEDerivatives<T>The derivatives of the solution.
Returns
- PDEResidualGradient<T>
Residual gradients for outputs and derivatives.