src/Basis.cpp
VectorXd extract(const VectorXd& full, const VectorXi &ind){
  int num_indices = ind.rows();
  VectorXd target(num_indices);
  for (int i = 0; i < num_indices; i++){
    target(i) = full(ind(i));
  }
  return target;
}
// extract sub-vector routine - currently unused
extract sub-vector routine - currently unused
extract sub - vector routine - currently unused
VectorXd extract(const VectorXd& full, const VectorXi &ind){
  int num_indices = ind.rows();
  VectorXd target(num_indices);
  for (int i = 0; i < num_indices; i++){
    target(i) = full(ind(i));
  }
  return target;
}
VectorXd extract ( const VectorXd & full , const VectorXi & ind ) { int num_indices = ind . rows ( ) ; VectorXd target ( num_indices ) ; for ( int i = 0 ; i < num_indices ; i ++ ) { target ( i ) = full ( ind ( i ) ) ; } return target ; }
extract sub-vector routine - currently unused
extract sub - vector routine - currently unused