Ejemplo n.º 1
0
/*
 * alpha = [1]
 *         [1]
 */
void lambdaTest::setAlp(DoubleMatrix &alp)
{
    alp.resize(2,1);
    alp.fill(rand()/(pow(2.0,32.0)) * 100.0);
}
Ejemplo n.º 2
0
/*
 * b = [1]
 *     [1]
 */
void lambdaTest::setB(DoubleMatrix &b)
{
    b.resize(2,1);
    b.fill(rand()/(pow(2.0,32.0)) * 100.0);
}
Ejemplo n.º 3
0
/*
 * y = [1]
 *     [1]
 */
void lambdaTest::setY(DoubleMatrix &y)
{
    y.resize(2,1);
    y.fill(rand()/(pow(2.0,32.0)) * 100.0 );
}