[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for zeros() and ones()
From: |
Heine Kolltveit |
Subject: |
Patch for zeros() and ones() |
Date: |
Wed, 30 Jul 2003 17:03:17 +0200 (MEST) |
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.
Heine Kolltveit
---------------
src/ChangeLog:
2003-30-07 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.
diff-utils-h
Description: Text document
diff-utils-cc
Description: Text document
diff-data-cc
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch for zeros() and ones(),
Heine Kolltveit <=