search for: wn_dim1

Displaying 1 result from an estimated 1 matches for "wn_dim1".

2009 Mar 26
1
Bug? FORTTRAN help
I was feeling masochistic the other day and we have been having some wierd memory problems so I started digging into the source for L-BFGS-B. In the lbgfsb.c file I see the following code: /* Cholesky factorization of (2,2) block of wn. */ F77_CALL(dpofa)(&wn[*col + 1 + (*col + 1) * wn_dim1], &m2, col, info); if (*info != 0) { *info = -2; return; } If I am not mistaken this says that there is a m2 * col matrix that starts at 'col + 1 + (col + 1) * wn_dm1. Where wn_dm1 is 2 * m. My first question is to verify that statement. Say I am trying to optimize the "ban...