Mercurial > octave-nkf
comparison run-octave.in @ 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 | 72c96de7a403 |
children | 4e9dc46d4125 |
comparison
equal
deleted
inserted
replaced
15118:a4e94933fed3 | 15282:06ce57277bfb |
---|