Exemplo n.º 1
0
 /// <summary>Constructs a new matrix, copied from X</summary>
 public DoubleColMatrix(fastmath.AbstractMatrix x)
     : base(x.getRowCount(), x.getColCount())
 {
     baseOffset     = 0;
     columnCapacity = getColCount();
     setName(x.getName());
     for (int i = 0; i < numCols; i++)
     {
         fastmath.Vector src = x.col(i);
         fastmath.Vector dst = col(i);
         dst.assign(src);
     }
 }
Exemplo n.º 2
0
 // Fastmath.instance.dcopy(X.size, X.getBuffer().asDoubleBuffer(),
 // X.getIncrement(), Y.getBuffer().asDoubleBuffer(), Y.getIncrement());
 public static int dgetrf(fastmath.AbstractMatrix A, fastmath.IntVector ipiv)
 {
     return(dgetrf(A.isColMajor(), A.getRowCount(), A.getColCount(), A.getBuffer(), A.
                   getOffset(0, 0), A.getRowCount(), ipiv.getBuffer()));
 }
Exemplo n.º 3
0
 public virtual bool MoveNext()
 {
     return(i < x.getColCount());
 }