9 More Discussions You Might Find Interesting
1. Programming
Hi,
I have a working SQL-Query here, in which I'm using subqueries to get the needed result.
The idea behind this, is to get a list of networks which have 2 tags set in the database. Because of the way it is stored, i get a tuple for each Tag, so I get a duplicate of all networks.
The... (1 Reply)
Discussion started by: stomp
1 Replies
2. Shell Programming and Scripting
The following code transform the matrix to columns. Is it possible to do it other way around ( get the input from the output) ?
input
y1 y2 y3 y4 y5
x1 0.3 0.5 2.3 3.1 5.1
x2 1.2 4.1 3.5 1.7 1.2
x3 3.1 2.1 1.0 4.1 2.1
x4 5.0 4.0 6.0 7.0 1.1
output
x1 y1 0.3
x2 y1 1.2
x3... (1 Reply)
Discussion started by: quincyjones
1 Replies
3. Shell Programming and Scripting
Hi,
I am creating a script that will pull data from database. The only thing missing now is that i have to transform the lines into horizontal list.
EXAMPLE
2015-07-15 09:00:00.0 |TCSERVER01 |5354
2015-07-15 09:01:00.0 |TCSERVER01 |6899 ... (5 Replies)
Discussion started by: reignangel2003
5 Replies
4. Shell Programming and Scripting
Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies
5. Programming
Hi all,
I pass to the transform algorithm two vectors, and the suma function.
#include <algorithm>
#include <iostream>
#include <iterator>
#include <vector>
using namespace std;
class Duo{
public:
int one;
int two;
};
Duo suma(Duo first, Duo last){
Duo ret;
... (1 Reply)
Discussion started by: santiagorf
1 Replies
6. UNIX for Dummies Questions & Answers
How can I log transform (log 2) a text file which is a single column of numbers? (4 Replies)
Discussion started by: evelibertine
4 Replies
7. Shell Programming and Scripting
Hello All,
Do you have any idea, how can I transform the unix time format to standard:
time_last_login=1268057983 :confused:
I would like to use the transformation in a AIX shell script :( (6 Replies)
Discussion started by: kalaso
6 Replies
8. Shell Programming and Scripting
Hi all,
I'm fairly new to shell scripting. My problem: I'm getting a string, "$XXOGL_TOP", from a database table. I then want to get the value of this variable in the shell script (which is a search path). But it doesn't dissolve but remains a string "$XXOGL_TOP". Any ideas on how to get the... (3 Replies)
Discussion started by: Kerstin
3 Replies
9. UNIX for Dummies Questions & Answers
Hello. I'm trying to use the awk command to convert certains fields to lgo base 2, not base 10.
I'm trying command lines like:
awk '$2 $5 $7 {print log(2)($2), log(2)($5), $7) filein.txt > fileout.txt
I'm trying to make a deadline.
Thanks for helping a newbie. Here's some fresh karma... (1 Reply)
Discussion started by: jmzcal
1 Replies
mlib_ImageFourierTransform(3MLIB) mediaLib Library Functions mlib_ImageFourierTransform(3MLIB)
NAME
mlib_ImageFourierTransform - Fourier transform
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageFourierTransform(mlib_image *dst,
const mlib_image *src, mlib_fourier_mode mode);
DESCRIPTION
The mlib_ImageFourierTransform() function performs a two-dimensional Fourier transformation. The source and destination images must be the
same type and the same size. The data type of the images can be MLIB_BYTE, MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or MLIB_DOUBLE.
The height and width of the images must be some positive power of 2 (but they do not have to be equal).
They can have 1 or 2 channels. If the source image has just one channel the imaginary parts are assumed to be zero. If the destination
image has just one channel, then it is assumed that the imaginary parts of the output can be discarded. But in case both source and desti-
nation images are one-channel images, then MLIB_FAILURE is returned.
The predefined modes used in the image Fourier transform function are as follows:
Mode Description
----------------------------------------------------------------------
MLIB_DFT_SCALE_NONE Forward DFT without scaling
MLIB_DFT_SCALE_MXN Forward DFT with scaling of 1/(M*N)
MLIB_DFT_SCALE_SQRT Forward DFT with scaling of 1/sqrt(M*N)
MLIB_IDFT_SCALE_NONE Inverse DFT without scaling
MLIB_IDFT_SCALE_MXN Inverse DFT with scaling of 1/(M*N)
MLIB_IDFT_SCALE_SQRT Inverse DFT with scaling of 1/sqrt(M*N)
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
mode Mode of the transform.
RETURN VALUES
The function 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
attributes(5)
SunOS 5.11 2 Mar 2007 mlib_ImageFourierTransform(3MLIB)