r8mat_expand_linear2 Subroutine

subroutine r8mat_expand_linear2(m, n, a, m2, n2, a2)

************80

! R8MAT_EXPAND_LINEAR2 expands an R8MAT by linear interpolation.

Discussion:

An R8MAT is an array of R8 values.

In this version of the routine, the expansion is indicated
by specifying the dimensions of the expanded array.

Licensing:

This code is distributed under the GNU LGPL license.

Modified:

07 December 2004

Author:

John Burkardt

Parameters:

Input, integer ( kind = 4 ) M, N, the number of rows and columns in A.

Input, real ( kind = 8 ) A(M,N), a "small" M by N array.

Input, integer ( kind = 4 ) M2, N2, the number of rows and columns in A2.

Output, real ( kind = 8 ) A2(M2,N2), the expanded array, which
contains an interpolated version of the data in A.

Arguments

Type IntentOptional Attributes Name
integer(kind=4) :: m
integer(kind=4) :: n
real(kind=8) :: a(m,n)
integer(kind=4) :: m2
integer(kind=4) :: n2
real(kind=8) :: a2(m2,n2)