row_rot: Takes i and k-th row of a matrix and rotate matrix by theta...

View source: R/givens.R

row_rotR Documentation

Takes i and k-th row of a matrix and rotate matrix by theta angle (requires matrix a to be 2*q matrix)

Description

Takes i and k-th row of a matrix and rotate matrix by theta angle (requires matrix a to be 2*q matrix)

Usage

row_rot(a, i, k, theta)

Arguments

a

matrix

i

row

k

row that we want to zero the element

theta

angle between them

Value

rotated matrix a refer to Algorithm 5.1.6 of Matrix computation (Golub, Van)


woylier documentation built on Oct. 1, 2024, 5:08 p.m.