Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
givens.c File Reference

Givens transformation. More...

#include <math.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

void fasp_aux_givens (const REAL beta, dCSRmat *H, dvector *y, REAL *tmp)
 Perform Givens rotations to compute y |beta*e_1- H*y|. More...
 

Detailed Description

Givens transformation.

Definition in file givens.c.

Function Documentation

void fasp_aux_givens ( const REAL  beta,
dCSRmat H,
dvector y,
REAL tmp 
)

Perform Givens rotations to compute y |beta*e_1- H*y|.

Parameters
betaNorm of residual r_0
HUpper Hessenberg dCSRmat matrix: (m+1)*m
yMinimizer of |beta*e_1- H*y|
tmpTemporary work array
Author
Xuehai Huang
Date
10/19/2008

Definition at line 28 of file givens.c.