[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Dot multiply in dynamically-loaded C++ function

**From**: |
Douglas Eck |

**Subject**: |
Dot multiply in dynamically-loaded C++ function |

**Date**: |
Wed, 20 Dec 2000 13:13:20 +0100 |

Newbie question:
I see that * is defined as an operator for the Matrix class.
Thus you can do this for matrix multiplcation.
Matrix mIn(args(0).matrix_value());
mIn=mIn*mIn;
Is there similar syntax for a dot-multiply (i.e. element-by-element multiply)
of two same-sized matrices?
Thanks,
Doug
-------------------------------------------------------------
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] |

**Dot multiply in dynamically-loaded C++ function**,
*Douglas Eck* **<=**