Find Jobs
Hire Freelancers

small Fortran program

$30-50 USD

Cancelado
Publicado hace casi 16 años

$30-50 USD

Pagado a la entrega
For this project, you'd write a small (< 50 lines) Fortran library, which would perform some matrix operations using the Lapack matrix library ([login to view URL]). ## Deliverables For this project, you'd write a small (< 50 lines) Fortran library, which would perform some matrix operations using the Lapack matrix library ([login to view URL]). It not necessary to understand much about Lapack, since I've provided an implementation (in a different language -- Ocaml) below. You'd translate these two Ocaml methods into Fortran subroutines. It's not really necessary to understand much about Ocaml to port these. Just know that the statement "let x = 3 in" assigns the value 3 to variable x. All Lapack operations are double precision, so rather than "scal" (Ocaml), call DSCAL (Fortran). Note that arguments "pu", "m_avg", "m_var", and "m_normal" are vectors of the same length. "r" is a real valued number. Both methods return vectors with the same length as the other vectors. * * * method get_normal_density r m_avg m_var m_normal = let r_vec = [login to view URL] num_z r in let r_diff = [login to view URL] r_vec m_avg in let r_sqdiff = [login to view URL] r_diff r_diff in scal (-0.5) r_sqdiff; let r_exp = [login to view URL] r_sqdiff m_var in let get_exp z = exp r_exp.{z} in let normal_exp = [login to view URL] num_z get_exp in [login to view URL] m_normal normal_exp method expectation pu r m_avg m_var m_normal = let pr_m_vec = self#get_normal_density r m_avg m_var m_normal in let pr_mu_vec = [login to view URL] pr_m_vec pu in let pr_mu = [login to view URL] pr_mu_vec in scal (1. /. pr_mu) pr_mu_vec; pr_mu_vec * * * I'm planning to call your Fortran library from my Ocaml program. If you'd be willing to provide a sample Ocaml program that calls your Fortran library (see [login to view URL]), let me know, and we can agree on a higher price or a bonus or something. Otherwise, I'll remove this paragraph from the project description before accepting your bid. The sample program should demonstrate that calling the Fortran code does not block other Ocaml threads from running during its execution. My hope is that each call to the Fortran code will run on a different processor, when multiple processors are available. Please let me know if you have questions. Thank you. ## Platform Linux, g77
ID del proyecto: 3054026

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 16 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
2 freelancers están ofertando un promedio de $43 USD por este trabajo
Avatar del usuario
See private message.
$42,50 USD en 14 días
5,0 (124 comentarios)
7,0
7,0
Avatar del usuario
See private message.
$42,50 USD en 14 días
4,6 (8 comentarios)
3,7
3,7

Sobre este cliente

Bandera de UNITED STATES
Berkeley, United States
5,0
8
Miembro desde mar 9, 2008

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.