[Top][All Lists]

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

int and size in c++ classes

From: John W. Eaton
Subject: int and size in c++ classes
Date: Fri, 3 Sep 1999 13:44:13 -0500 (CDT)

On  3-Sep-1999, Matthias Klingel <address@hidden> wrote:

| Hi octave users
| Two questions concerning the c++ classes:
| 1) is there a method to convert an octave_value in an integer, similar to
| double_value() or vector_value(), which I can use to convert a global octave
| variable ?

In the 2.1.x development sources, yes.  In earlier versions, no.

| 2) is there also a method to get the size of a matrix, something like
| Matrix.size() ??

Currently, I think you have to use the rows() and columns() methods.


Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see
Instructions for unsubscribing:

reply via email to

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