slepc-3.6.3 2016-03-29
Report Typos and Errors

# DSNormalize

Normalize a column or all the columns of a matrix. Considers the case when the columns represent the real and the imaginary part of a vector.

### Synopsis

    #include "slepcds.h"
    PetscErrorCode DSNormalize(DS ds,DSMatType mat,PetscInt col)

Logically Collective on DS

### Input Parameter

| ds | - the direct solver context
| mat | - the matrix to be modified
| col | - the column to normalize or -1 to normalize all of them

### Notes

The columns are normalized with respect to the 2-norm.

If col and col+1 (or col-1 and col) represent the real and the imaginary part of a vector, both columns are scaled.

### See Also

DSMatType

Location: src/sys/classes/ds/interface/dsops.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages