Functions | |
y (I0==round(I0)&finite(I0))=0 | |
y (I90==round(I90)&finite(I90)) | |
!error (tand())%!error(tand(1 | |
!assert (tand(10:10:80), tan(pi *[10:10:80]/180),-10 *eps)%!assert(tand([0 | |
Variables | |
function | y |
endif | I0 = x / 180 |
I90 = (x-90) / 180 | |
endfunction |
!assert | ( | tand(10:10:80) | , | |
tan(pi *[10:10:80]/180) | , | |||
-10 * | eps | |||
) |
!error | ( | tand() | ) |
I90 = (x-90) / 180 |
y |
Initial value:
tand (x) if (nargin != 1) print_usage ()