Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

6.5.6 vsip_dqrdsolr_p - Solve Linear Systems with Modified R Matrix

typedef enum _vsip_mat_side { 
  VSIP_MAT_LSIDE = 0, 
  VSIP_MAT_RSIDE = 1 
} vsip_mat_side; 
 
int vsip_qrdsolr_f(const vsip_qr_f *qrd, vsip_mat_op OpR, vsip_scalar_f alpha, const vsip_mview_f *xb); 
int vsip_cqrdsolr_f(const vsip_cqr_f *qrd, vsip_mat_op OpR, vsip_cscalar_f alpha, const vsip_cmview_f *xb);
Description

This function solves linear systems using a QR decomposition where the R matrix has been modified by a specified operation. It provides more flexibility than vsip_dqrsol_p by allowing operations on the R matrix before solving the system.

The function solves systems of the form:

op(R)X =αB

where op(R) can be R, RT, or RH (conjugate transpose, though for real matrices this is equivalent to RT).

Parameters
Return Value
Notes