Skip to main content

LagrangeVandermonde

This routine returns the Vandermonde matrix.

Interface

INTERFACE
MODULE PURE FUNCTION LagrangeVandermonde(x, order, elemType) &
& RESULT(ans)
REAL(DFP), INTENT(IN) :: x(:, :)
!! points in $x_{iJ}$ format
INTEGER(I4B), INTENT(IN) :: order
!! order
INTEGER(I4B), INTENT(IN) :: elemType
!! element type
REAL(DFP), ALLOCATABLE :: ans(:, :)
!! vandermonde matrix nrows = number of points
!! ncols = number of dof
END FUNCTION LagrangeVandermonde
END INTERFACE