# wanna learn - pls help

• 07-22-2002
therealjdj
wanna learn - pls help
sup guys
i need some help
im workin on a couple of problems and im really stuck
can u guys show me how i would the following things? i dont want the C code or anything. just like pseudocode so i understand whats going on and how i would "attack" such a problem
thanx a lot

1. Let U = {u1, u1, ..., un} be the universal set for all possible input sets. Write a function CHARFCN that given a set as input returns the charactericstic function of the set as a sequence.

2. Write a function TRANSPOSE that, given an nXn matrix, returns its transpose

3. Write a program that writes a given permutation as a product of disjoint cycles.

4. Write a program that writes a given permutation as a product of transpositions.

5. Use the program in Execerise 4 as a subroutine in a program that determines whether a given permution is ever or odd.

HELP ON ANY WOULD BE APPRECIATED

thanx
• 07-22-2002
skipper
therealjdj,
Quote:

im workin on a couple of problems and im really stuck
I highly doubt that, to be, uncharacteristically, blunt.

You're asking questions requiring a level of mathematical knowledge that few of us (save a 'select' few) possess.

If you can transpose a matrix on paper, you can figure out the code yourself. (You do know C/C++, correct?) In short, you're not asking about anything specific to the language; (the fact that you, "don't want the C code", from the C++ Board, notwithstanding.)

Now, if you want to ask this question on the C Board, there's someone...nah, he's far too valuable to us. (Never kill the goose...)

This isn't a "wanna learn" post.

It's a joke. (Whether it's a good one, or not, has yet to be determined. ;) )

-Skipper
• 07-23-2002
ripper079
Have you even tried????

If you have why donīt share it with us, then itīs easier for us to help you.