Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
doubleprecision, | intent(in) | :: | xr | |||
doubleprecision, | intent(in) | :: | xi | |||
doubleprecision | :: | yr(*) | ||||
doubleprecision | :: | yi(*) | ||||
integer | :: | incy |
subroutine mat_wset(n,xr,xi,yr,yi,incy) ! ident_18="@(#)M_LA::mat_set(3f):" integer,intent(in) :: n ! number of Y values to set doubleprecision,intent(in) :: xr ! constant to assign Y real values to doubleprecision,intent(in) :: xi ! constant to assign Y imaginary values to doubleprecision :: yr(*) ! Y real component to set to XR doubleprecision :: yi(*) ! Y imaginary component to set to XI integer :: incy ! stride to take while setting output values integer :: iy integer :: i iy = 1 if (n .le. 0 ) return do i = 1,n yr(iy) = xr yi(iy) = xi iy = iy + incy enddo end subroutine mat_wset