help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug? PPC/Linux VS i386/Windows


From: Geordie McBain
Subject: Re: Bug? PPC/Linux VS i386/Windows
Date: Fri, 23 Jun 2006 10:12:11 +1000

null really wants to return a vector space, the null space (see, e.g.,
http://en.wikipedia.org/wiki/Nullspace).  It does so by returning a
basis for that space.  The basis for a space isn't unique, even if the
space is only one-dimensional, though in that case the possible basis
vectors only vary by a scalar multiple, as do your two answers here.

On Thu, 2006-06-22 at 14:55 -0700, Keith Goodman wrote:
> On 6/22/06, Stefan de Konink <address@hidden> wrote:
> > Try this:
> > s = 7.274917217635375
> > B = A - s*eye(2)
> > n = null(B)
> >
> > I get on PPC:
> >   -0.49437
> >   -0.86925
> >
> > My friend on i386/Windows:
> > octave:17> n = null(B)
> > n =
> >
> >   0.49437
> >   0.86925
> >
> >
> > Any thoughts?
> 
> Both are right. The solution is degenerate.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]