BVNorm — SLEPc 3.24.3 documentation

Skip to main content
`Ctrl`+`K`

# BVNorm

Computes the matrix norm of the `BV`.

## Synopsis

    #include "slepcbv.h"
    PetscErrorCode BVNorm(BV bv,NormType type,PetscReal *val)

Collective

## Input Parameters

- bv - basis vectors

- type - the norm type

## Output Parameter

- val - the norm

## Notes

All active columns (except the leading ones) are considered as a matrix. The allowed norms are `NORM_1`, `NORM_FROBENIUS`, and `NORM_INFINITY`.

This operation fails if a non-standard inner product has been specified with `BVSetMatrix()`.

## See Also

BV: Basis Vectors, `BVNormVec()`, `BVNormColumn()`, `BVNormalize()`, `BVSetActiveColumns()`, `BVSetMatrix()`

## Level

intermediate

## Location

src/sys/classes/bv/interface/bvglobal.c

## Implementations

BVNorm_Contiguous() in src/sys/classes/bv/impls/contiguous/contig.c
BVNorm_Mat() in src/sys/classes/bv/impls/mat/bvmat.c
BVNorm_Svec() in src/sys/classes/bv/impls/svec/svec.c
BVNorm_Tensor() in src/sys/classes/bv/impls/tensor/bvtensor.c
BVNorm_Vecs() in src/sys/classes/bv/impls/vecs/vecs.c

Index of all BV routines Table of Contents for all manual pages Index of all manual pages