slepc-3.21.2 2024-09-25
Report Typos and Errors

# EPSPowerSetSignNormalization

Sets a flag to indicate whether the Bx vector should be normalized by the sign of the first non-zero element in the vector. E.g., if this is true, the post-normalization value of the first non-zero element in the vector is guaranteed to be positive.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSPowerSetSignNormalization(EPS eps,PetscBool sign_normalization)

Logically Collective

### Input Parameters

| eps | - the eigenproblem solver context
| sign_normalization | - whether Bx should be multiplied by the sign of the first non-zero element when performing normalization steps

### Options Database Key

| -eps_power_sign_normalization | - Sets the sign normalization flag

### See Also

EPSPowerGetSignNormalization()

### Level

advanced

### Location

src/eps/impls/power/power.c

### Examples

src/eps/tutorials/ex34.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages