[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding Standalone Program
From: |
John W. Eaton |
Subject: |
Re: Regarding Standalone Program |
Date: |
Wed, 30 Jul 2008 09:35:03 -0400 |
On 30-Jul-2008, Jaroslav Hajek wrote:
| On Wed, Jul 30, 2008 at 2:25 PM, Raghavendra K <address@hidden> wrote:
| > Hi Jaroslav,
| > Yeah I have been coding C and MPI all my life (never done anything regarding
| > C++)
| > Actually I was trying to use Octave with C and then now trying to use C++.
| > I have one last query. I have a matrix A
| > Now I want to find the AXAXAXA (i.e A multiplied 100 times byitself).
| > How can I do that in Octave when called by a C++ program?
| > Generally in the Octave prompt I used to give A^100.
| > Is there any multiplication function implemented?
|
| #include <xpow.h> (or octave/xpow.h, depends on configuration, usually
| both works)
|
| ...
|
| Matrix AXAXAXA = xpow (A, 100);
Except that xpow returns an octave_value object because the reeturn
type might be a complex matrix.
jwe
- Regarding Standalone Program, Raghavendra K, 2008/07/30
- Fwd: Regarding Standalone Program, Raghavendra K, 2008/07/30
- Re: Regarding Standalone Program, David Bateman, 2008/07/30
- Re: Regarding Standalone Program, Raghavendra K, 2008/07/30
- Re: Regarding Standalone Program, Jaroslav Hajek, 2008/07/30
- Re: Regarding Standalone Program, Raghavendra K, 2008/07/30
- Re: Regarding Standalone Program, Jaroslav Hajek, 2008/07/30
- Re: Regarding Standalone Program, Raghavendra K, 2008/07/30
- Re: Regarding Standalone Program, Jaroslav Hajek, 2008/07/30
- Re: Regarding Standalone Program,
John W. Eaton <=
- Re: Regarding Standalone Program, Przemek Klosowski, 2008/07/30