index.js
function copy_row(nnz,
                  offset,
                  A,
                  /*int* index, // const int*
                    double* value, // const double*
                  */

                  x) // x = sparseVector
{
  for(var i=nnz-1; i>=0; --i) if(A.value[i + offset]){
    x.push_front(new SparseEntry(A.column_index[i + offset], A.value[i + offset]));
  }
  return true;
}
function copy_row(nnz,
                  offset,
                  A,
                  /*int* index, // const int*
                    double* value, // const double*
                  */

                  x) // x = sparseVector
{
  for(var i=nnz-1; i>=0; --i) if(A.value[i + offset]){
    x.push_front(new SparseEntry(A.column_index[i + offset], A.value[i + offset]));
  }
  return true;
}
function copy_row ( nnz , offset , A , /*int* index, // const int*
                    double* value, // const double*
                  */ x ) // x = sparseVector { for ( var i = nnz - 1 ; i >= 0 ; -- i ) if ( A . value [ i + offset ] ) { x . push_front ( new SparseEntry ( A . column_index [ i + offset ] , A . value [ i + offset ] ) ) ; } return true ; }
var proto = SparseVector.prototype
var proto = SparseVector . prototype