[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
zeros, ones, eye with integer type args...
From: |
David Bateman |
Subject: |
zeros, ones, eye with integer type args... |
Date: |
Mon, 30 Aug 2004 16:05:11 +0200 |
User-agent: |
Mutt/1.4.1i |
Here is a patch to allow ones, zeros and eye to return integer types
without first creating the floating point matrix. That is
ones (2,"int8")
for example. Also "repmat" was broken with integer types due to its
use of kron, which doesn't handle integer types. This patch removes
this limitation. But doesn't fix kron to allow integer types. The
function "kron" probably should also be adapted.
Regards
David
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
changelog-ones20040830
Description: Text document
patch.ones20040830
Description: Text document
- zeros, ones, eye with integer type args...,
David Bateman <=