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

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

6.2.1 vsip_dtoepsol_p - Solve a Toeplitz System of Equations

int vsip_toepsol_f(const vsip_vview_f* t, const vsip_vview_f* r, const vsip_vview_f* b, const vsip_vview_f* x); 
int vsip_ctoepsol_f(const vsip_cvview_f* t, const vsip_cvview_f* r, const vsip_cvview_f* b, const vsip_cvview_f* x);
Description

This function solves a real Toeplitz system of linear equations Tx =b, where T is a symmetric Toeplitz matrix defined by its first column t and first row r, b is the right-hand side vector, and x is the solution vector. The Toeplitz matrix has constant diagonals, with the first column t and first row r defining the matrix structure.

Parameters
Return Value
Example

vsip_vview_f *toeplitz_col; 
vsip_vview_f *toeplitz_row; 
vsip_vview_f *rhs_vector; 
vsip_vview_f *solution_vector; 
int result; 
 
// Assuming all vector views have been properly initialized 
result = vsip_toepsol_f(toeplitz_col, toeplitz_row, rhs_vector, solution_vector); 
 
if (result != 0) { 
    // Handle error (e.g., singular matrix) 
}