I am trying to grab a term which is just smaller and larger than the assigned value using the below code. But there seems to be some problem. The value i assign is 25 so i would expect it to output a smaller value to be 20 instead of 10 and 20 and larger value to be 30 instead of 30 and 40. Can anybody help ?
Input:
10
20
30
40
Output: My Value = 25
Smaller Value = 20
Bigger Value = 30
Last edited by vgersh99; 10-10-2007 at 10:50 PM..
Reason: code tags
I have a Unix based system running my POS (Point of sale) system that uses two 4.1 gig hard drives. I use the
./diskcopy
command to mirror master to Backup
My problem is 4.1 gig hard drives are no longer available new so I need to move to a larger cap drive but for my command to work the... (3 Replies)
I have just been assigned the task of upgrading to a larger disk on a e250; however, I am use to working on Linux and x86 hardware. I would be very appreciative if someone could inform me on how this procedure can be done safely.
To begin with, the e250 has a 18 Gig primary scsi disk and a 18... (3 Replies)
hi all,
i am looking for ways to make ftp efficient by tuning the parameters
currently,
tcp_max_buf is 1 MB
tcp_xmit_hiwat is 48 KB
say to transmit multiple 2 gb files from unix server to mainframe sys,
will increasing the window size or the send buffer size of the current TCP/IP... (6 Replies)
Hello..
Iam in need to urgent help with the below.
Have data-file with 40,567
and need to split them into multiple files with smaller line-count.
Iam aware of "split" command with -l option which allows you to specify the no of lines in smaller files ,with the target file-name pattern... (1 Reply)
Language: ksh
OS: SunOS
I have been getting the 'subscript out of range' error when the below array variable gets elements greater that 1024. I understand that 1024 is the default size for 'set -A' dynamic array, but is there a way to initialize it with a larger number?
set -A arr `grep... (6 Replies)
Hi,
Does anyone know if it is possible to tar files larger than 2GB? The reason being is they want me to dump a single file (which is around 20GB) to a tape drive and they will restore it on a Solaris box. I know the tar have a limitation of 2GB so I am thinking of a way how to overcome this.... (11 Replies)
hello folks,
I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space
Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Hi,
I have one large files of 100000 rows with header column.
Eg:
Emp Code, Emp Name
101,xxx
102,YYY
103,zzz
...
...
I want to split the files into smaller files with only 30000 rows each..File 1,2 and 3 must have 30000 rows and file 4 must contain 10000 rows.
But the column... (1 Reply)
I would like the window that this opens to be larger.
Can it be modified to do so?
Thanks.
#!/usr/bin/env python3
# Text snippets are in /home/andy/.config/snippet_paste/
import os
import subprocess
home = os.environ
directory = home+"/.config/snippet_paste"
if not... (4 Replies)
Discussion started by: drew77
4 Replies
LEARN ABOUT DEBIAN
slae2.f
slae2.f(3) LAPACK slae2.f(3)NAME
slae2.f -
SYNOPSIS
Functions/Subroutines
subroutine slae2 (A, B, C, RT1, RT2)
SLAE2
Function/Subroutine Documentation
subroutine slae2 (realA, realB, realC, realRT1, realRT2)
SLAE2
Purpose:
SLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix
[ A B ]
[ B C ].
On return, RT1 is the eigenvalue of larger absolute value, and RT2
is the eigenvalue of smaller absolute value.
Parameters:
A
A is REAL
The (1,1) element of the 2-by-2 matrix.
B
B is REAL
The (1,2) and (2,1) elements of the 2-by-2 matrix.
C
C is REAL
The (2,2) element of the 2-by-2 matrix.
RT1
RT1 is REAL
The eigenvalue of larger absolute value.
RT2
RT2 is REAL
The eigenvalue of smaller absolute value.
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Further Details:
RT1 is accurate to a few ulps barring over/underflow.
RT2 may be inaccurate if there is massive cancellation in the
determinant A*C-B*B; higher precision or correctly rounded or
correctly truncated arithmetic would be needed to compute RT2
accurately in all cases.
Overflow is possible only if RT1 is within a factor of 5 of overflow.
Underflow is harmless if the input data is 0 or exceeds
underflow_threshold / macheps.
Definition at line 103 of file slae2.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.1 Sun May 26 2013 slae2.f(3)