[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Contributing a kron function
From: |
etienne grossmann |
Subject: |
Re: Contributing a kron function |
Date: |
Mon, 1 Nov 1999 08:28:28 +0000 (WET) |
Hello,
# > BTW, a better way to implement this might be to put the code for the
# > real and complex versions of kron in liboctave, then make your DLD
# > function a simple wrapper. That way, the code would be useful from
# > other C++ code, not just from the Octave interpreter. In other words,
# > people who already have Matrix objects would not have to do stuff like
# > this to use the new code:
# > octave_value_list tmp_args;
# > tmp_args(1) = b_mat;
# > tmp_args(0) = a_mat;
# > octave_value_list kron_result = feval ("kron", tmp_args);
# > Matrix result = kron_result(0);
# > Instead, they could just use
# > Matrix result = kron (a_mat, b_mat);
# > Wouldn't that be better?
# Yes. Let's see if I can understand how the "liboctave" part of the
# source tree works (not right now, though).
this is just to say that I will probably not spend much time on
implementing a "kron" function in liboctave, in the near future. Are
you interested in a DLD implementation?
Etienne
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Contributing a kron function,
etienne grossmann <=