RMatrix.this

Allocate a new matrix in R and copy in the values of a GretlMatrix or DoubleMatrix if using the dmdgretl library for matrix algebra.

  1. this(int r, int c)
  2. this(T m)
    struct RMatrix
    version(gretl)
    this
    (
    T
    )
    (
    T m
    )
    if (
    is(T == DoubleMatrix) ||
    is(T == GretlMatrix)
    )
  3. this(Robj rm, bool u = false)
  4. this(string name)
  5. this(RVector v)

Examples

auto m = RMatrix(gm); // gm is a GretlMatrix

Meta