[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for zeros() and ones()
From: |
Heine Kolltveit |
Subject: |
Re: Patch for zeros() and ones() |
Date: |
Wed, 6 Aug 2003 09:53:22 +0200 (MEST) |
On Wed, 30 Jul 2003, Heine Kolltveit wrote:
> This patch extends zeros() and ones() to be able to create nd-arrays.
> Thanks to Roderick Köehle for providing much of the code for this one.
Here is the re-formatted patch.
Heine Kolltveit
src/ChangeLog:
2003-08-06 Heine Kolltveit <address@hidden>
*utils.h (check_dimensions(Array<int>&, char) and
(get_dimensions(octave_value&, char, Array<int>&) and
*utils.cc (check_dimensions(Array<int>&, char) and
(get_dimensions(octave_value&, char, Array<int>&): new
*data.cc (fill_matrix(...)): Added functionality to create nd-arrays
(DEFUN(ones,...) and (DEFUN(zeros,...): Added the new syntax.
utils.cc.patch
Description: Text document
data.cc.patch
Description: Text document
utils.h.patch
Description: Text document
- Re: Patch for zeros() and ones(),
Heine Kolltveit <=