Method: FastMatrix::Matrix::LUPDecomposition#p

Defined in:
ext/fast_matrix/LUPDecomposition/lup.c

#pObject



64
65
66
67
68
69
70
# File 'ext/fast_matrix/LUPDecomposition/lup.c', line 64

VALUE lup_p(VALUE self)
{
  struct lupdecomposition* lp = get_lup_from_rb_value(self);
    MAKE_MATRIX_AND_RB_VALUE(R, result, lp->n, lp->n);
    c_lup_p(lp->n, lp->permutation, R->data);
    return result;
}