Find Jobs
Hire Freelancers

Fortran syntax

$10-15 USD

En curso
Publicado hace alrededor de 21 años

$10-15 USD

Pagado a la entrega
Write a perl code to change the style of Fortran declarations. In Fortran, there are two ways to declare (for example) 2D arrays of dimensions m and n: (1) real, dimension(m,n) :: x,y (2) real :: x(m,n),y(m,n) I want you to write a Perl script that converts declarations from style (1), with the 'dimension' keyword, to style (2), without it. If a line does not contain the word 'dimension', pass it through unchanged. Note that the actual variables being declared always appear after a "::" string. The perl script should transform lines like these real(SP), dimension(:,:), intent(in out) :: a,b real(SP), dimension(:), intent(out) :: w integer(I4B) :: i,its,j,k,l,m,n,nm real(SP) :: anorm,c,f,g,h,s,scale,x,y,z real(SP), dimension(size(a,1)) :: tempm real(SP), dimension(size(a,2)) :: rv1,tempn integer, dimension(3,2) :: ivec to lines like these: real(SP), intent(in out) :: a(:,:),b(:,:) real(SP), intent(out) :: w(:) integer(I4B) :: i,its,j,k,l,m,n,nm real(SP) :: anorm,c,f,g,h,s,scale,x,y,z real(SP) :: tempm(size(a,1)) real(SP) :: rv1(size(a,2)),tempn(size(a,2)) integer :: ivec(3,2) ## Deliverables perl script that works with version 5.6.0 of Perl on Windows XP. ## Platform Windows XP
ID del proyecto: 2660375

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$12,75 USD en 14 días
4,3 (4 comentarios)
2,4
2,4
2 freelancers están ofertando un promedio de $13 USD por este trabajo
Avatar del usuario
See private message.
$12,75 USD en 14 días
4,0 (1 comentario)
1,1
1,1

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
16
Miembro desde jun 3, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.