diff src/ov-re-sparse.cc @ 7636:99c410f7f0b0

implement mapper function for banker's rounding
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 25 Mar 2008 15:56:41 -0400
parents 8a939b217863
children 2df457529cfa
line wrap: on
line diff
--- a/src/ov-re-sparse.cc
+++ b/src/ov-re-sparse.cc
@@ -927,6 +927,7 @@
 CD_SPARSE_MAPPER (log10, ::log10, std::log10, 0.0, octave_Inf)
 SPARSE_MAPPER (real, SparseMatrix::dmapper, ::real)
 SPARSE_MAPPER (round, SparseMatrix::dmapper, xround)
+SPARSE_MAPPER (roundb, SparseMatrix::dmapper, xroundb)
 SPARSE_MAPPER (signum, SparseMatrix::dmapper, ::signum)
 SPARSE_MAPPER (sin, SparseMatrix::dmapper, ::sin)
 SPARSE_MAPPER (sinh, SparseMatrix::dmapper, ::sinh)