History of AFNI updates  

|
December 11, 2016 12:21PM
You can use the ccalc program to try out AFNI expressions. As in
calc> sqrt(-1)
Z = 1
calc> log(-3)
Z = 1.09861
calc> log(3)
Z = 1.09861
calc> log(0)
Z = 0
Showing that I was wrong in my previous post: sqrt(x) is really sqrt(abs(x)) (similarly for log()). Note log(0)=0, an indication of avoiding blowups.

The calc programs are based on some functions I wrote in the mid 1980s for parsing and evaluating arithmetic expressions. I believe in 1983-4, so they are around 33 years old now (the functions, not the programs). They still work, even though written in Fortran, so I've never really updated them except around the edges.
Subject Author Posted

3dcalc

CD-Dan December 10, 2016 10:03PM

Re: 3dcalc

ptaylor December 11, 2016 03:29AM

Re: 3dcalc

Bob Cox December 11, 2016 07:31AM

Re: 3dcalc

ptaylor December 11, 2016 09:48AM

Re: 3dcalc

Bob Cox December 11, 2016 12:21PM

Re: 3dcalc

ptaylor December 11, 2016 12:53PM

Re: 3dcalc

Bob Cox December 11, 2016 06:42PM

Re: 3dcalc

Daniel Glen December 12, 2016 01:10PM