8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please help solving the following. I have access to redhat linux cluster having 32gigs of ram.
I have duplicate ids for variable names, in the file 1,2 are duplicates;3,4 and 5 are duplicates;6 and 7 are duplicates. My objective is to use only the first occurrence of these duplicates.
Lookup... (4 Replies)
Discussion started by: ritakadm
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Please excuse me , i have searched unix forum, i am unable to find what i expect ,
my query is , i have 2 files of same structure and having 1 similar field/column , i need to merge 2 tables/files based on the one matched field/column (that is field 1),
file 1:... (5 Replies)
Discussion started by: karthikram
5 Replies
3. Shell Programming and Scripting
Hi all,
I need some help to remove duplicates from a file before merging.
I have got 2 files:
file1 has data in format
4300 23456
4301 2357
the 4 byte values on the right hand side is uniq, and are not repeated anywhere in the file
file 2 has data in same format but is not in... (10 Replies)
Discussion started by: roy121
10 Replies
4. Shell Programming and Scripting
Hi all,
In a directory of many files, I need to merge only files which do not have identical lines and also the resulatant merge file should not be more than 50000 lines. Basically I need to cover up all text files in that directory and turn them to Merge files.txt with 50000 lines each
... (2 Replies)
Discussion started by: pravfraz
2 Replies
5. Shell Programming and Scripting
Hi,
I have a file (sorted by sort) with 8 tab delimited columns. The first column contains duplicated fields and I need to merge all these identical lines.
My input file:
comp100002 aaa bbb ccc ddd eee fff ggg
comp100003 aba aba aba aba aba aba aba
comp100003 fff fff fff fff fff fff fff... (5 Replies)
Discussion started by: falcox
5 Replies
6. Shell Programming and Scripting
Hi all,
I have a complex (beyond my biological expertise) problem at hand.
I need to merge multiple files into 1 big matrix. Please help me with some code.
Inp1
Ang_0 chr1 98 T A
Ang_0 chr1 352 G A
Ang_0 chr1 425 C T
Ang_0 chr2 ... (1 Reply)
Discussion started by: newbie83
1 Replies
7. Shell Programming and Scripting
Hi everyone,
I once again got stuck with merging tables and was wondering if someone could help me out on that problem.
I have a number of tab delimited tables which I need to merge into one big one. All tables have the same header but a different number of rows (this could be changed if... (6 Replies)
Discussion started by: TuAd
6 Replies
8. Shell Programming and Scripting
I have files with an x amounts of rows with each row having 2 columns seperated by delimiter "|" .
File contains following records for example.
15|69
15|70
15|71
15|72
15|73
15|74
16|2
16|3
16|4
16|5
16|6
16|7
16|8
16|9
16|10
16|11
16|12 (4 Replies)
Discussion started by: Alex_P
4 Replies
form_element(7rheolef) rheolef-6.1 form_element(7rheolef)
NAME
form_element - bilinear form on a single element
SYNOPSYS
The form_element class defines functions that compute a bilinear form defined between two polynomial basis on a single geometrical element.
This bilinear form is represented by a matrix.
The bilinear form is designated by a string, e.g. "mass", "grad_grad", ... indicating the form. The form depends also of the geometrical
element: triangle, square, tetrahedron (see geo_element(2)).
IMPLEMENTATION NOTE
The form_element class is managed by (see smart_pointer(2)). This class uses a pointer on a pure virtual class form_element_rep while the
effective code refers to the specific concrete derived classes: mass, grad_grad, etc.
IMPLEMENTATION
template <class T, class M>
class form_element : public smart_pointer<form_element_rep<T,M> > {
public:
// typedefs:
typedef form_element_rep<T,M> rep;
typedef smart_pointer<rep> base;
typedef typename rep::size_type size_type;
typedef typename rep::vertex_type vertex_type;
typedef typename rep::space_type space_type;
typedef typename rep::geo_type geo_type;
typedef typename rep::coordinate_type coordinate_type;
// constructors:
form_element ();
form_element (
std::string name,
const space_type& X,
const space_type& Y,
const geo_type& omega,
const quadrature_option_type& qopt);
// accessors & modifier:
void operator() (const geo_element& K, ublas::matrix<T>& m) const;
virtual bool is_symmetric () const;
// for scalar-weighted forms:
void set_weight (const field_basic<T,M>& wh) const;
bool is_weighted() const;
const field_basic<T,M>& get_weight () const;
// for banded level set method:
bool is_on_band() const;
const band_basic<T,M>& get_band() const;
void set_band (const band_basic<T,M>& bh) const;
};
SEE ALSO
geo_element(2), smart_pointer(2)
rheolef-6.1 rheolef-6.1 form_element(7rheolef)