Hi there
I have generated a column containing 100.000 values. Sample:
94.971
101.468
73.120
100.601
102.329
I need to find the minimum value in this file and I must know which row it is in (no sorting).
I hope you can help!
Thanks! (16 Replies)
Hi All,
I have multiple files which contains 5 columns and multiple rows.....
I want to calculate the minimum value of column 5th, if column 2 is MET, till column 1 comes to the next number.
Also it must skip the condition similar to 1st line where column number 1 and 3 are same and... (9 Replies)
input
1 2 3 4 5 2 8
2 1 1 1 4 2 1
5 4 4 4 2 1 3
2 2 6 7 4 5 4
5 5 5 4 3 3 5
I woud like to print a min of each row such that my output would look like
1
1
1
2
3 (5 Replies)
I am using Biopython to process an alignment in fasta format. I need to slice the sequences where there is the first stop codon. So I divided my alignment in codons and found the stop.
I then found the first codon position using enumerate().
But I found the minimum for each row. However I need to... (0 Replies)
Hello,
I need to find out the minimum and maximum values based on specific column, and then print out the entire row with the max value.
Infile.txt:
scf6 290173 290416 . + X_047241 T_00113118-1
scf6 290491 290957 . + X_047241 T_00113118-2
scf6 290898 290957 . + X_047241 T_00113119-3
scf6... (2 Replies)
Need your support for below. Please help to get required output
If column 5 is INV then only consider column1 and take out duplicates/identical rows/values from column1 and then put minimum value of column6 in column7 and put maximum value in column 8 and then need to do subtract values of... (7 Replies)
Hi All,
I would like get the minimum value in the certain column with respect to other column.
For example, I have a text file like this.
ATOM 1 QSS SPH S 0 -2.790 -1.180 -2.282 2.28 2.28
ATOM 1 QSS SPH S 1 -2.915 -1.024 -2.032 2.31 2.31
ATOM 1 ... (4 Replies)
Discussion started by: bala06
4 Replies
LEARN ABOUT OPENSOLARIS
mlib_matrixminimum_u8
mlib_MatrixMinimum_U8(3MLIB) mediaLib Library Functions mlib_MatrixMinimum_U8(3MLIB)NAME
mlib_MatrixMinimum_U8, mlib_MatrixMinimum_S8, mlib_MatrixMinimum_S16, mlib_MatrixMinimum_S32, mlib_MatrixMinimum_F32, mlib_MatrixMini-
mum_D64 - find the minimum value in a matrix
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_MatrixMinimum_U8(mlib_u8 *min, const mlib_u8 *x,
mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_S8(mlib_s8 *min, const mlib_s8 *x,
mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_S16(mlib_s16 *min, const mlib_s16 *x,
mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_S32(mlib_s32 *min, const mlib_s32 *x,
mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_F32(mlib_f32 *min, const mlib_f32 *x,
mlib_s32 m, mlib_s32 n);
mlib_status mlib_MatrixMinimum_D64(mlib_d64 *min, const mlib_d64 *x,
mlib_s32 m, mlib_s32 n);
DESCRIPTION
Each of these functions finds the minimum value of all elements in a matrix.
It uses the following equation:
min[0] = MIN{ x[i] i = 0, 1, ..., (m*n - 1) }
PARAMETERS
Each of the functions takes the following arguments:
min Pointer to the minimum value.
x Pointer to the first element of the source matrix.
m Number of rows in the source matrix.
n Number of columns in the source matrix.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_MatrixMaximum_U8(3MLIB), mlib_VectorMaximum_U8(3MLIB), mlib_VectorMinimum_U8(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_MatrixMinimum_U8(3MLIB)