view CITATION @ 20123:8261c4a11250

Convert octave integer scalars into closest java type (bug #44882) * libinterp/octave-value/ov-java.cc (unbox): when calling a java method, octave core types should be converted automatically into equivalent java types. In the case of integers, we must pick the closest one but at the moment all were being converted to Integer (int32_t). This fixes it, even if it meas to lose data (as is the case in some of the added tests). Also reduce some code duplication by using macros since the code is similar to the code for float and doubles.
author Carnë Draug <carandraug@octave.org>
date Tue, 21 Apr 2015 00:32:52 +0100
parents a6d13c62fccf
children
line wrap: on
line source

To cite GNU Octave in publications use:

  John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2014).
  GNU Octave version 3.8.1 manual: a high-level interactive language for
  numerical computations.
  CreateSpace Independent Publishing Platform.  ISBN 1441413006,
  URL http://www.gnu.org/software/octave/doc/interpreter/

A BibTeX entry for LaTeX users is:

  @book{,
    author    = {John W. Eaton, David Bateman, S\oren Hauberg, and Rik Wehbring},
    title     = {{GNU Octave} version 3.8.1 manual: a high-level interactive language for numerical computations},
    publisher = {CreateSpace Independent Publishing Platform},
    year      = {2014},
    note      = {{ISBN} 1441413006},
    url       = {http://www.gnu.org/software/octave/doc/interpreter},
  }

We have invested a lot of time and effort in creating GNU Octave, please cite it
when using it.  See also `citation pkgname' for citing Octave packages.