Mercurial > octave-nkf
view .hgsubstate @ 15282:06ce57277bfb stable
handle scalar-sparse-matrix .^ matrix ops
* sparse-xpow.cc (scalar_xpow): New function.
(elem_xpow (const SparseMatrix&, const SparseMatrix&),
elem_xpow (const SparseComplexMatrix&, const SparseMatrix&),
elem_xpow (const SparseMatrix&, const SparseComplexMatrix&),
elem_xpow (const SparseComplexMatrix&, const SparseComplexMatrix&)):
Forward to scalar_xpow if first arg is 1x1. New tests.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Sep 2012 11:02:28 -0400 |
parents | eb29a53834af |
children | e8ef57b7bd2a 43aa8d583b02 7f4082b00a99 |