[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling sqrt() in a dynamic function
From: |
Thomas Weber |
Subject: |
Re: Calling sqrt() in a dynamic function |
Date: |
Wed, 11 Feb 2004 18:21:58 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
Hi Paul,
> Do you want element-wise sqrt? Or do you want to find B such
> that B*B = A for some matrix A?
element-wise
> The former is defined in mappers.cc. I don't know if it is
> possible to use a mapper directly from an oct-file. Let us
> know (e.g., on wiki.octave.org) if you succeed.
I've managed to do it, but not with mapper-functions (as far as I
understand, mapper-functions are called by using feval, so there's no
use avoiding the call in an .oct-file).
However, elem_xpow (X, 0.5) (declared in xpow.h) works.
Thanks for your help
Thomas
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------