Mercurial > hg > octave-lyh
comparison liboctave/CMatrix.h @ 7503:8c32f95c2639
convert mapper functions to new format
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 20 Feb 2008 04:22:50 -0500 |
parents | 0bade2dc44a1 |
children | 36594d5bbe13 |
comparison
equal
deleted
inserted
replaced
7502:2ce6b4258e96 | 7503:8c32f95c2639 |
---|---|
309 | 309 |
310 boolMatrix operator ! (void) const; | 310 boolMatrix operator ! (void) const; |
311 | 311 |
312 // other operations | 312 // other operations |
313 | 313 |
314 ComplexMatrix map (c_c_Mapper f) const; | 314 typedef double (*dmapper) (const Complex&); |
315 Matrix map (d_c_Mapper f) const; | 315 typedef Complex (*cmapper) (const Complex&); |
316 boolMatrix map (b_c_Mapper f) const; | 316 typedef bool (*bmapper) (const Complex&); |
317 | 317 |
318 ComplexMatrix& apply (c_c_Mapper f); | 318 Matrix map (dmapper fcn) const; |
319 ComplexMatrix map (cmapper fcn) const; | |
320 boolMatrix map (bmapper fcn) const; | |
319 | 321 |
320 bool any_element_is_inf_or_nan (void) const; | 322 bool any_element_is_inf_or_nan (void) const; |
321 bool all_elements_are_real (void) const; | 323 bool all_elements_are_real (void) const; |
322 bool all_integers (double& max_val, double& min_val) const; | 324 bool all_integers (double& max_val, double& min_val) const; |
323 bool too_large_for_float (void) const; | 325 bool too_large_for_float (void) const; |