help-octave
[Top][All Lists]
Advanced

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

return ComplexMatrix from .oct file


From: Martijn Brouwer
Subject: return ComplexMatrix from .oct file
Date: Fri, 31 Oct 2003 00:01:24 +0100

I am creating my first .oct file, using the guide on creating .oct files from 
DaCodaAlFine (Great Work, this guide!).
The examples in the guide shows a Matrix being returned from the function. When 
I try this with a ComplexMatrix I get this error:

ifmrp.cc: In function `octave_value_list Fifmrp(const octave_value_list&, int) 
':
ifmrp.cc:20: error: conversion from `ComplexMatrix' to non-scalar type ` 
octave_value_list' requested

I did this:

ComplexMatrix IFM;
<assigning elements of IFM a value>
return IFM

What is going wrong?

Martijn.



Physics is a approximate description of a part of the physical phenomena, that 
are only a small portion of human perceptions.

H Casimir, Dutch Physicist



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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