sinc & compiled octave

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

sinc & compiled octave

Ted.Harding

1. John Utz's query about sinc(x) = sin(x)/x:
       sin(-0.01:.001:.01)./(-0.1:.001:.01)
   attempts to divide by zero in mid-range. A special definition for x=0
   is needed, e.g.
       sin([ -0.01:.001:-.001 pi/2 .001:.001:.01 ]) ...
        ./([ -0.01:.001:-.001  1   .001:.001:.01 ])

2. Can anyone say where a _compiled_ version of OCTAVE-1.0 for Linux
   on i386 can be obtained by ftp? I haven't enough disk space to compile,
   but could easily install the binary.

Ted Harding [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: sinc & compiled octave

John Eaton-4
John Utz <[hidden email]> wrote:

: What is the latest version Octave 0.* that compiles using gcc
: 2.4.5 OR the libg++ version earlier then 2.5.3?

Probably 0.79, because I made the changes to use template-based array
classes shortly after that (back in November of last year).

: As I have spent much bandwith on back and forth with JWE on, I
: can't get libg++-2.5.3 to compile on FreeBSD due to grave unhappiness
: occuring in streambuf,h

I hope that g++ 2.6.x will fix these problems, give us a working port
to the Alpha...

: ALSO, what am i missing out on running 0.73 as opposed to 1.0 ?

The NEWS file that's distributed with 1.0 (or, if you just want the
NEWS file, it's in /pub/octave/NEWS on ftp.che.utexas.edu) should list
most of the user-visible changes.  Making a list of exactly which bugs
have been fixed might be a bit harder.

jwe

Reply | Threaded
Open this post in threaded view
|

Re: sinc & compiled octave

John Utz-3
In reply to this post by Ted.Harding
On Wed, 11 May 1994, Ted Harding wrote:

>
> 1. John Utz's query about sinc(x) = sin(x)/x:
>        sin(-0.01:.001:.01)./(-0.1:.001:.01)
>    attempts to divide by zero in mid-range. A special definition for x=0
>    is needed, e.g.
>        sin([ -0.01:.001:-.001 pi/2 .001:.001:.01 ]) ...
>         ./([ -0.01:.001:-.001  1   .001:.001:.01 ])
>
> 2. Can anyone say where a _compiled_ version of OCTAVE-1.0 for Linux
>    on i386 can be obtained by ftp? I haven't enough disk space to compile,
>    but could easily install the binary.
>
> Ted Harding [hidden email]
>

        What is the latest version Octave 0.* that compiles using gcc
2.4.5 OR the libg++ version earlier then 2.5.3?

        As I have spent much bandwith on back and forth with JWE on, I
can't get libg++-2.5.3 to compile on FreeBSD due to grave unhappiness
occuring in streambuf,h

        ALSO, what am i missing out on running 0.73 as opposed to 1.0 ?

                        tnx

*******************************************************************************
 John Utz [hidden email]
        idiocy is the impulse function in the convolution of life


Reply | Threaded
Open this post in threaded view
|

Re: sinc & compiled octave

L Jonas Olsson
John,
 I'm pretty sure that 0.79 is the last Octave that compiles with gcc-2.4.5
and FreeBSD's libg++. That's why that's the relase in FreeBSD's ports!
(It's not 0.73 as you said, it was upgraded several months ago)

 I have not found any major bug in 0.79 yet, and am pretty happy with it
until we get some newer C++ compiler in FreeBSD.

Jonas

Reply | Threaded
Open this post in threaded view
|

Re: sinc & compiled octave

John Utz-3
Hi Jonas!

On Wed, 11 May 1994, L Jonas Olsson wrote:

> John,
>  I'm pretty sure that 0.79 is the last Octave that compiles with gcc-2.4.5
> and FreeBSD's libg++. That's why that's the relase in FreeBSD's ports!
> (It's not 0.73 as you said, it was upgraded several months ago)
>
>  I have not found any major bug in 0.79 yet, and am pretty happy with it
> until we get some newer C++ compiler in FreeBSD.
>
> Jonas
>
        I could be laboring under a major misunderstanding! but...

myname# ls /usr/gnu/lib/octave
0.74

        the lib with the .m files in it calls itself 0.74. Is this just
due to the fact that the .m files did not change between 0.73 and 0.79?

        thanks gang!

*******************************************************************************
 John Utz [hidden email]
        idiocy is the impulse function in the convolution of life