s-news
[Top] [All Lists]

solve function

To: s-news@lists.biostat.wustl.edu
Subject: solve function
From: Alesia Ferguson <afer@stanford.edu>
Date: Wed, 29 May 2002 12:01:29 -0700
I am using S-plus 6 on Windows ME

I was wondering if anyone has encountered any problems using the "solve" function


I am implementing a Crank Nicholson finite difference method for diffusion through the skin.

This required that i solve the equation Ax = b a number of times based on the time step.

I use solve (A, b) to get my x. At first i get the solution for couple iterations and then i get this error

"Problem in .Fortran(if(!cmplx) "dqrsl1" els..: subr
outine dqrsl1: 1 Inf value(s) in argument 5 "

My code works perfectly fine in Matlab using x = a\b.

Are there other methods or available functions in Splus for solving a set of simultaneous equations

Thank you in advance

Alesia

<Prev in Thread] Current Thread [Next in Thread>
  • solve function, Alesia Ferguson <=