slepc-3.7.3 2016-09-29
Report Typos and Errors

# RGIntervalSetEndpoints

Sets the parameters defining the interval region.

### Synopsis

    #include "slepcrg.h"
    PetscErrorCode RGIntervalSetEndpoints(RG rg,PetscReal a,PetscReal b,PetscReal c,PetscReal d)

Logically Collective on RG

### Input Parameters

| rg | - the region context
| a,b | - endpoints of the interval in the real axis
| c,d | - endpoints of the interval in the imaginary axis

### Options Database Keys

| -rg_interval_endpoints | - the four endpoints

### Note

The region is defined as [a,b]x[c,d]. Particular cases are an interval on the real axis (c=d=0), similar for the imaginary axis (a=b=0), the whole complex plane (a=-inf,b=inf,c=-inf,d=inf), and so on.

### See Also

RGIntervalGetEndpoints()

Location: src/sys/classes/rg/impls/interval/rginterval.c
Index of all RG routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/eps/examples/tutorials/ex30.c.html
src/nep/examples/tutorials/ex27.c.html