NAME

dpttrf - compute the L*D*L' factorization of a real symmetric positive definite tridiagonal matrix A


SYNOPSIS

  SUBROUTINE DPTTRF( N, DIAG, OFFD, INFO)
  INTEGER N, INFO
  DOUBLE PRECISION DIAG(*), OFFD(*)
  SUBROUTINE DPTTRF_64( N, DIAG, OFFD, INFO)
  INTEGER*8 N, INFO
  DOUBLE PRECISION DIAG(*), OFFD(*)

F95 INTERFACE

  SUBROUTINE PTTRF( [N], DIAG, OFFD, [INFO])
  INTEGER :: N, INFO
  REAL(8), DIMENSION(:) :: DIAG, OFFD
  SUBROUTINE PTTRF_64( [N], DIAG, OFFD, [INFO])
  INTEGER(8) :: N, INFO
  REAL(8), DIMENSION(:) :: DIAG, OFFD

C INTERFACE

#include <sunperf.h>

void dpttrf(int n, double *diag, double *offd, int *info);

void dpttrf_64(long n, double *diag, double *offd, long *info);


PURPOSE

dpttrf computes the L*D*L' factorization of a real symmetric positive definite tridiagonal matrix A. The factorization may also be regarded as having the form A = U'*D*U.


ARGUMENTS