comparison 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
comparison
equal deleted inserted replaced
7635:ba7a3e20ee3d 7636:99c410f7f0b0
925 SPARSE_MAPPER (imag, SparseMatrix::dmapper, ::imag) 925 SPARSE_MAPPER (imag, SparseMatrix::dmapper, ::imag)
926 CD_SPARSE_MAPPER (log, ::log, std::log, 0.0, octave_Inf) 926 CD_SPARSE_MAPPER (log, ::log, std::log, 0.0, octave_Inf)
927 CD_SPARSE_MAPPER (log10, ::log10, std::log10, 0.0, octave_Inf) 927 CD_SPARSE_MAPPER (log10, ::log10, std::log10, 0.0, octave_Inf)
928 SPARSE_MAPPER (real, SparseMatrix::dmapper, ::real) 928 SPARSE_MAPPER (real, SparseMatrix::dmapper, ::real)
929 SPARSE_MAPPER (round, SparseMatrix::dmapper, xround) 929 SPARSE_MAPPER (round, SparseMatrix::dmapper, xround)
930 SPARSE_MAPPER (roundb, SparseMatrix::dmapper, xroundb)
930 SPARSE_MAPPER (signum, SparseMatrix::dmapper, ::signum) 931 SPARSE_MAPPER (signum, SparseMatrix::dmapper, ::signum)
931 SPARSE_MAPPER (sin, SparseMatrix::dmapper, ::sin) 932 SPARSE_MAPPER (sin, SparseMatrix::dmapper, ::sin)
932 SPARSE_MAPPER (sinh, SparseMatrix::dmapper, ::sinh) 933 SPARSE_MAPPER (sinh, SparseMatrix::dmapper, ::sinh)
933 CD_SPARSE_MAPPER (sqrt, ::sqrt, std::sqrt, 0.0, octave_Inf) 934 CD_SPARSE_MAPPER (sqrt, ::sqrt, std::sqrt, 0.0, octave_Inf)
934 SPARSE_MAPPER (tan, SparseMatrix::dmapper, ::tan) 935 SPARSE_MAPPER (tan, SparseMatrix::dmapper, ::tan)