NMath Reference Guide

## Two |

Class TwoVariableIntegrator integrates functions of two variables.

Inheritance Hierarchy

Syntax

The TwoVariableIntegrator type exposes the following members.

Constructors

Name | Description | |
---|---|---|

TwoVariableIntegrator | Default constructor. Constructs a TwoVariableIntegrator with the default one-variable integrators. | |

TwoVariableIntegrator(IIntegrator) | Constructs a TwoVariableIntegrator with the given one-variable integrator. | |

TwoVariableIntegrator(IIntegrator, IIntegrator) | Constructs a TwoVariableIntegrator with the given one-variable integrators. |

Properties

Name | Description | |
---|---|---|

DefaultDxIntegrator | Gets and sets the default one-variable integrator used to integrate over x. | |

DefaultDyIntegrator | Gets and sets the default one-variable integrator used to integrate over y. | |

DxIntegrator | Gets and sets the one-variable integrator used to integrate over x. | |

DyIntegrator | Gets and sets the one-variable integrator used to integrate over y. |

Methods

Name | Description | |
---|---|---|

Clone | Creates a deep copy of this two variable integrator. | |

Integrate(DoubleFunctional, Double, Double, OneVariableFunction, OneVariableFunction) | Integrates the given two-variable function over the given bounds. | |

Integrate(DoubleFunctional, Double, Double, OneVariableFunction, Double) | Integrates the given two-variable function over the given bounds. | |

Integrate(DoubleFunctional, Double, Double, Double, OneVariableFunction) | Integrates the given two-variable function over the given bounds. | |

Integrate(DoubleFunctional, Double, Double, Double, Double) | Integrates the given two-variable function over the given bounds. | |

Integrate(MultiVariableFunction, Double, Double, OneVariableFunction, OneVariableFunction) | Obsolete.Integrates the given two-variable function over the given bounds. | |

Integrate(MultiVariableFunction, Double, Double, OneVariableFunction, Double) | Obsolete.Integrates the given two-variable function over the given bounds. | |

Integrate(MultiVariableFunction, Double, Double, Double, OneVariableFunction) | Obsolete.Integrates the given two-variable function over the given bounds. | |

Integrate(MultiVariableFunction, Double, Double, Double, Double) | Obsolete.Integrates the given two-variable function over the given bounds. |

Remarks

The two-dimensional integral is computed by breaking up the problem into
repeated one-dimensional integrals. A TwoVariableIntegrator has two
instances of IIntegrator, one for each dimension, which by default
are instances of GaussKronrodIntegrator.

See Also