[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## more C++ questions

**From**: |
Andrey Romanenko |

**Subject**: |
more C++ questions |

**Date**: |
Wed, 25 Jun 2003 10:34:06 +0100 (WEST) |

Hello,
Could anybody let me know how to perform an equivalent of
A=B.*C
in oct files, with A,B,C being matrices or vectors? I can do it
with loops but propably there is a better way to do that.
Is it possible to have,say, a column of a matrix as a lhs expression,
something like A.column(1)=... I need to to do something like
for i=1:5
a(:,i)=f(a(:,i))
endfor
where f is a function.
What is the difference between Matrix::map() and Matrix::apply() methods?
Thank you very much!
Andrey
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------

[Prev in Thread] |
**Current Thread** |
[Next in Thread] |

**more C++ questions**,
*Andrey Romanenko* **<=**