Navigation

Operators and Keywords

Function List:

C++ API

hilb.m File Reference


Functions

 if (nmax==1) retval
endfor else error ("hilb: expecting scalar argument, found something else")
endif endfunction !assert ((hilb(2)==[1, 1/2;1/2, 1/3]%!&&hilb(3)==[1, 1/2, 1/3;1/2, 1/3, 1/4;1/3, 1/4, 1/5]))
!error hilb ()
!error hilb (1, 2)

Variables

function retval
endif nmax = length (n)
 tmp = 1:n
for i

Function Documentation

endif endfunction !assert ( (hilb(2)==[1, 1/2;1/2, 1/3]%!&&hilb(3)==[1, 1/2, 1/3;1/2, 1/3, 1/4;1/3, 1/4, 1/5])   ) 

endfor else error ( "hilb: expecting scalar   argument,
found something else  
)

!error hilb ( ,
 
)

!error hilb (  ) 

if ( nmax  = =1  ) 


Variable Documentation

for i

Initial value:

 1:n
      retval (i, :) = 1.0 ./ (tmp + (i - 1))

endif nmax = length (n)

function retval

Initial value:

 hilb (n)


  if (nargin != 1)
    print_usage ()

tmp = 1:n