[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Class of User Types [Was: Moving code from octaveforge to octave [W
From: 
John W. Eaton 
Subject: 
Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]] 
Date: 
Fri, 25 Feb 2005 09:59:09 0500 
On 25Feb2005, Paul Kienzle <address@hidden> wrote:
 I was thinking:

 z = zeros(4,4,class(X));
 for i=1:columns(X), z(1:i,:) = X(1:i,:); end

 so z would already be known to be a galois type but with an
 indeterminate
 field.
I'm not sure I understand all of the discussion, but doesn't repamt
do what you want for creating an array of the right size and type?
The current implementation might not be right for all derived types,
but I think it is the function to use here.
jwe
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], (continued)
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], David Bateman, 2005/02/24
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], Paul Kienzle, 2005/02/24
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], David Bateman, 2005/02/24
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], Paul Kienzle, 2005/02/24
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], David Bateman, 2005/02/24
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], Paul Kienzle, 2005/02/24
 Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], David Bateman, 2005/02/25
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], Paul Kienzle, 2005/02/25
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], David Bateman, 2005/02/25
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], Paul Kienzle, 2005/02/25
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]],
John W. Eaton <=
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], David Bateman, 2005/02/25
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], John W. Eaton, 2005/02/25
 Re: Class of User Types [Was: Moving code from octaveforge to octave [Was: polyderiv problem?]], David Bateman, 2005/02/25
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], Przemek Klosowski, 2005/02/10
 Re: Moving code from octaveforge to octave [Was: polyderiv problem?], John W. Eaton, 2005/02/10
 Moving code from octaveforge to octave [Was: polyderiv problem?], John W. Eaton, 2005/02/10