Hi, I have a scalar valued function with several variables. One of the
variables is restricted to be non-negative. For example,
f(x,y)=sqrt(x)*exp(y), then x should be non-negative. I need the
gradient and hessian for some vector (0,y), i.e., I need the gradient and
hessian at the boudary of par
Thanks a lot.
Henrique Dallazuanna wrote:
>
> Hi,
>
> expand.grid(x=c(0,1), y=c(0,1), z=c(0,1))
>
>
> --
> Henrique Dallazuanna
> Curitiba-Paraná-Brasil
> 25° 25' 40" S 49° 16' 22" O
>
> On 27/10/2007, roger chan <[EMAIL PROTECTED]
Hi, folks:
I need to generate all 0-1 sequences with given length,say,n=3, the ideal
result would be
the following matrix:
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Any help would be appreciated.
--
View this message in context:
http://www.nabble.com/How-to-generate-all-permutation-of-
3 matches
Mail list logo