octave-maintainers
[Top][All Lists]
Advanced

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

Re: Strange behaviour of dnrm2


From: Mike Miller
Subject: Re: Strange behaviour of dnrm2
Date: Mon, 26 Dec 2016 10:21:13 -0800
User-agent: NeoMutt/20161126 (1.7.1)

On Mon, Dec 26, 2016 at 13:53:47 +0200, Tommi Höynälänmaa wrote:
> I'm using C++ and liboctave for programming. When I use
> Matrix::lssolve for matrices given later in this message my C++
> program gives false results even though command "mxa \ vb" works fine
> in the Octave interpreter. The reason for the error is that BLAS
> routine dnrm2 gives false results with standalone C++/liboctave
> programs. When I wrote a straightforward new implementation of dnrm2
> and used it in LAPACK routine dgelsd and related routines it uses
> (dlarfg) the C++ program works fine.
> 
> Do you have any ideas what causes this odd behaviour of dnrm2?

I'm sure people would be happy to help, or at least try to reproduce, if
you could provide your C++ code sample to make it a bit easier.

-- 
mike



reply via email to

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