Hi all,
I have searched and found various threads about removing spaces from a field within a text file. Unfortunately, I have not found exactly what I'm looking for, nor am I adept enough to modify what I've found into what I need.
I use the following command to remove the first line... (3 Replies)
Hi ALL
I have one input file say FILE1 which looks as below.
a=1
b=2
c=3
a=4
b=5
c=6
.
.
.
Here a,b,c...etc are variable names.
The output file(FILE2) should look like
1,2,3
4,5,6
.....
..... (5 Replies)
I desperately need to write a script that go into text documents that list the location of files in small caps and have it convert the directories and subdirectories that lead to the file as Title Caps while leaving the file itself in small caps... to illustrate what I mean:
I need to turn txt... (6 Replies)
Hi Friends,
I am Stuck up with a problem on transposing Rows to Coloumns.. Though there are many threads on this my problem is little difficult..
I have a tab separated file like Below,
computer selling_loc currency_type manufacturer_name salesweek-wk1 sales-wk2 ...wk-3 ..wk4 till... (7 Replies)
I have a csv that looks like this:
,yude-to-nap2,0,0,0,0,0
,2twis-yude-to-nap2,0,0,0,0,0
,2tiws-yude-to-nap2,0,0,0,0,0
,2arcos-yude-to-nap2,0,0,0,0,0
and another file named m1 that has a single line of text as content:
Feb 1 15:30:20
How can I fill the whole the empty column of the... (1 Reply)
Greetings.
I've got a csv file with data along these lines:
Spumoni's Pizza Place, Placemats n Things, Just Lamps
Counterfeit Dollars by Vinnie, Just Shades, Dollar StoreI want to replace the entire comma-delimited field if it matches something ending in "Place" or beginning with "Dollar",... (2 Replies)
I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file.
I have the beginning of one that was given to me on another web site but... (6 Replies)
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies
LEARN ABOUT REDHAT
sgtts2
SGTTS2(l) ) SGTTS2(l)
NAME
SGTTS2 - solve one of the systems of equations A*X = B or A'*X = B,
SYNOPSIS
SUBROUTINE SGTTS2( ITRANS, N, NRHS, DL, D, DU, DU2, IPIV, B, LDB )
INTEGER ITRANS, LDB, N, NRHS
INTEGER IPIV( * )
REAL B( LDB, * ), D( * ), DL( * ), DU( * ), DU2( * )
PURPOSE
SGTTS2 solves one of the systems of equations A*X = B or A'*X = B, with a tridiagonal matrix A using the LU factorization computed by SGT-
TRF.
ARGUMENTS
ITRANS (input) INTEGER
Specifies the form of the system of equations. = 0: A * X = B (No transpose)
= 1: A'* X = B (Transpose)
= 2: A'* X = B (Conjugate transpose = Transpose)
N (input) INTEGER
The order of the matrix A.
NRHS (input) INTEGER
The number of right hand sides, i.e., the number of columns of the matrix B. NRHS >= 0.
DL (input) REAL array, dimension (N-1)
The (n-1) multipliers that define the matrix L from the LU factorization of A.
D (input) REAL array, dimension (N)
The n diagonal elements of the upper triangular matrix U from the LU factorization of A.
DU (input) REAL array, dimension (N-1)
The (n-1) elements of the first super-diagonal of U.
DU2 (input) REAL array, dimension (N-2)
The (n-2) elements of the second super-diagonal of U.
IPIV (input) INTEGER array, dimension (N)
The pivot indices; for 1 <= i <= n, row i of the matrix was interchanged with row IPIV(i). IPIV(i) will always be either i or i+1;
IPIV(i) = i indicates a row interchange was not required.
B (input/output) REAL array, dimension (LDB,NRHS)
On entry, the matrix of right hand side vectors B. On exit, B is overwritten by the solution vectors X.
LDB (input) INTEGER
The leading dimension of the array B. LDB >= max(1,N).
LAPACK version 3.0 15 June 2000 SGTTS2(l)