Convert small snippet of C to VB.NET
Budget: $10 – $30 USD
This algorithm is from Numerical Recipes, and can be used to generate Sobel sequences, a sequence of x(n) numbers. If the input value of n is negative, then direction vectors are returned, otherwise if n is e.g. 1000, the actual Sobol sequences will be filled in x(n). Question is, how to get the multiple dimensions in x(), so if I want e.g. 2 dimensions, maybe re-define x() as x(n,2) and then fill with 2D sequences. Either way, the C program is supposed to provide up to 6 dimensions of sequences, that is, 6 different sequences of x(n).
You may be able to determine how the authors envisioned returning the values of x(n) for each dimension, but it's not apparent to me.
Also, there are some vector and unsigned integer definitions in the authors array/vector definitions, which are specific to their library, so you'll have to change that so the code would work in VB.NET.
You may be able to determine how the authors envisioned returning the values of x(n) for each dimension, but it's not apparent to me.
Also, there are some vector and unsigned integer definitions in the authors array/vector definitions, which are specific to their library, so you'll have to change that so the code would work in VB.NET.