StructPack 1.1
Functions/Subroutines
csp_tpsymm Module Reference

Interface for using the sp_tpsymm module routines from C code. More...

Functions/Subroutines

subroutine, public csp_tpsymm_solver (n, t, x, b, nb, piv)
 C interface to the sp_tpsymm_solver subroutine of the sp_tpsymm module.
real(kind=c_double), public csp_tpsymm_nrm1 (n, t)
 C interface to the sp_tpsymm_nrm1 function of the sp_tpsymm module.
subroutine, public csp_tpsymm_gemv (n, alpha, t, x, b)
 C interface to the sp_tpsymm_gemv subroutine of the sp_tpsymm module.

Detailed Description

Interface for using the sp_tpsymm module routines from C code.

Appropriate C function prototypes for using these routines are provided in the csp_tpsymm.h header file.

Author:
StructPack Team
Date:
April, 2011

Function/Subroutine Documentation

subroutine,public csp_tpsymm::csp_tpsymm_gemv ( integer(kind=c_int)  n,
real(kind=c_double)  alpha,
real(kind=c_double),dimension(n),intent(in)  t,
real(kind=c_double),dimension(n),intent(in)  x,
real(kind=c_double),dimension(n),intent(inout)  b 
)

C interface to the sp_tpsymm_gemv subroutine of the sp_tpsymm module.

Parameters:
[in]n(int) Size of matrix.
[in]alpha(double) Value alpha.
[in]t(double*) Pointer to the first element of the first column (row) of the Toeplitz matrix.
[out]x(double*) Pointer to the first element of vector x.
[in,out]b(double*) Pointer to the first element of vector b.
real(kind=c_double),public csp_tpsymm::csp_tpsymm_nrm1 ( integer(kind=c_int)  n,
real(kind=c_double),dimension(n),intent(in)  t 
)

C interface to the sp_tpsymm_nrm1 function of the sp_tpsymm module.

Parameters:
[in]n(int) Size of matrix.
[in]t(double*) Pointer to the first element of the first column (row) of the Toeplitz matrix.
Returns:
(double) Returned value of ctpsynrm1 (1-norm of the symmetric Toeplitz matrix).
subroutine,public csp_tpsymm::csp_tpsymm_solver ( integer(kind=c_int)  n,
real(c_double),dimension(n),intent(in)  t,
real(c_double),dimension(n),intent(out)  x,
real(c_double),dimension(n),intent(inout)  b,
integer(kind=c_int)  nb,
integer(kind=c_int)  piv 
)

C interface to the sp_tpsymm_solver subroutine of the sp_tpsymm module.

Parameters:
[in]n(int) Size of matrix.
[in]t(double*) Pointer to the first element of the first column (row) of the Toeplitz matrix.
[out]x(double*) Pointer to the first element of solution vector.
[in,out]b(double*) Pointer to the first element of the right hand side vector. Changed on output.
[in]nb(int) Block size.
[in]piv(int) Uses local diagonal pivoting if nonzero.