Interface for using the sp_tpsytrid module routines from C code.
More...
Functions/Subroutines |
subroutine, public | csp_tpsytrid_rojosv (n, t0, t1, x) |
| C interface to the sp_tpsytrid_rojosv subroutine of the sp_tpsytrid module.
|
subroutine, public | csp_tpsytrid_dstsv (n, t0, t1, x) |
| C interface to the sp_tpsytrid_dstsv subroutine of the sp_tpsytrid module.
|
integer(kind=c_int), public | csp_tpsytrid_ldltsv (n, t0, t1, x) |
| C interface to the sp_tpsytrid_ldltsv subroutine of the sp_tpsytrid module.
|
real(kind=c_double), public | csp_tpsytrid_maxsvd (n, t0, t1) |
| C interface to the sp_tpsytrid_maxsvd function of the sp_tpsytrid module.
|
real(kind=c_double), public | csp_tpsytrid_minsvd (n, t0, t1) |
| C interface to the sp_tpsytrid_minsvd function of the sp_tpsytrid module.
|
subroutine, public | csp_tpsytrid_gemv (n, alpha, t0, t1, x, b) |
| C interface to the sp_tpsytrid_gemv subroutine of the sp_tpsytrid module.
|
Detailed Description
Interface for using the sp_tpsytrid module routines from C code.
Appropriate C function prototypes for using these routines are provided in the csp_tpsytrid.h header file.
- Author:
- StructPack Team
- Date:
- April, 2011
Function/Subroutine Documentation
subroutine,public csp_tpsytrid::csp_tpsytrid_dstsv |
( |
integer(kind=c_int) |
n, |
|
|
real(kind=c_double) |
t0, |
|
|
real(kind=c_double) |
t1, |
|
|
real(c_double),dimension(*),intent(inout) |
x |
|
) |
| |
C interface to the sp_tpsytrid_dstsv subroutine of the sp_tpsytrid module.
- Parameters:
-
[in] | n | (int) Size of matrix. |
[in] | t0 | (double) Diagonal of the Toeplitz matrix. |
[in] | t1 | (double) Sub/Super--diagonal of the Toeplitz matrix. |
[out] | x | (double*) Pointer to the first element of solution vector. |
subroutine,public csp_tpsytrid::csp_tpsytrid_gemv |
( |
integer(kind=c_int) |
n, |
|
|
real(kind=c_double) |
alpha, |
|
|
real(kind=c_double) |
t0, |
|
|
real(kind=c_double) |
t1, |
|
|
real(kind=c_double),dimension(*),intent(in) |
x, |
|
|
real(kind=c_double),dimension(*),intent(inout) |
b |
|
) |
| |
C interface to the sp_tpsytrid_gemv subroutine of the sp_tpsytrid module.
- Parameters:
-
[in] | n | (int) Size of matrix. |
[in] | alpha | (double) Value alpha. |
[in] | t0 | (double) Diagonal of the Toeplitz matrix. |
[in] | t1 | (double) Sub/Super--diagonal 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. |
integer(kind=c_int),public csp_tpsytrid::csp_tpsytrid_ldltsv |
( |
integer(kind=c_int) |
n, |
|
|
real(kind=c_double) |
t0, |
|
|
real(kind=c_double) |
t1, |
|
|
real(c_double),dimension(*),intent(inout) |
x |
|
) |
| |
C interface to the sp_tpsytrid_ldltsv subroutine of the sp_tpsytrid module.
- Parameters:
-
[in] | n | (int) Size of matrix. |
[in] | t0 | (double) Diagonal of the Toeplitz matrix. |
[in] | t1 | (double) Sub/Super--diagonal of the Toeplitz matrix. |
[out] | x | (double*) Pointer to the first element of solution vector. |
- Returns:
- 0 if everything went fine, NON 0 if an error took place
real(kind=c_double),public csp_tpsytrid::csp_tpsytrid_maxsvd |
( |
integer(kind=c_int) |
n, |
|
|
real(kind=c_double) |
t0, |
|
|
real(kind=c_double) |
t1 |
|
) |
| |
C interface to the sp_tpsytrid_maxsvd function of the sp_tpsytrid module.
- Parameters:
-
[in] | n | (int) Size of matrix. |
[in] | t0 | (double) Diagonal of the Toeplitz matrix. |
[in] | t1 | (double) Sub/Super--diagonal of the Toeplitz matrix. |
- Returns:
- (double) Maximum SVD of the symmetric tridiagonal Toeplitz matrix.
real(kind=c_double),public csp_tpsytrid::csp_tpsytrid_minsvd |
( |
integer(kind=c_int) |
n, |
|
|
real(kind=c_double) |
t0, |
|
|
real(kind=c_double) |
t1 |
|
) |
| |
C interface to the sp_tpsytrid_minsvd function of the sp_tpsytrid module.
- Parameters:
-
[in] | n | (int) Size of matrix. |
[in] | t0 | (double) Diagonal of the Toeplitz matrix. |
[in] | t1 | (double) Sub/Super--diagonal of the Toeplitz matrix. |
- Returns:
- (double) Minimum SVD of the symmetric tridiagonal Toeplitz matrix.
subroutine,public csp_tpsytrid::csp_tpsytrid_rojosv |
( |
integer(kind=c_int) |
n, |
|
|
real(kind=c_double) |
t0, |
|
|
real(kind=c_double) |
t1, |
|
|
real(c_double),dimension(*),intent(inout) |
x |
|
) |
| |
C interface to the sp_tpsytrid_rojosv subroutine of the sp_tpsytrid module.
- Parameters:
-
[in] | n | (int) Size of matrix. |
[in] | t0 | (double) Diagonal of the Toeplitz matrix. |
[in] | t1 | (double) Sub/Super--diagonal of the Toeplitz matrix. |
[out] | x | (double*) Pointer to the first element of solution vector. |