view CITATION @ 25237:ca022a8c4015

linspace: handle ranges with equal Inf endpoints (bug #53489) * CMatrix.cc (ComplexMatrix::linspace): Change delta calculation to yield 0 if endpoints are the same, otherwise calculate delta as normal. * CRowVector.cc (ComplexRowVector::linspace): Likewise. * dMatrix.cc (Matrix::linspace): Likewise. * dRowVector.cc (RowVector::linspace): Likewise. * fCMatrix.cc (FloatComplexMatrix::linspace): Likewise. * fCRowVector.cc (FloatComplexRowVector::linspace): Likewise. * fMatrix.cc (FloatMatrix::linspace): Likewise. * fRowVector.cc (FloatRowVector::linspace): Likewise. * data.cc (Flinspace): Added Matlab compatibility tests. * logspace.m: Added same tests as in linspace containing Inf in endpoints.
author Maor Shutman <maorus12@gmail.com>
date Fri, 06 Apr 2018 20:25:05 +0300
parents 59fafbc9fbf7
children 1eef836d8d06
line wrap: on
line source

To cite GNU Octave in publications use:

  John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2018).
  GNU Octave version 4.2.2 manual: a high-level interactive language for
  numerical computations.
  URL https://www.gnu.org/software/octave/doc/v4.2.2/

A BibTeX entry for LaTeX users is:

  @manual{,
    title     = {{GNU Octave} version 4.2.2 manual: a high-level interactive language for numerical computations},
    author    = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring},
    year      = {2018},
    url       = {https://www.gnu.org/software/octave/doc/v4.2.2/},
  }

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.