Thread: wanna learn - pls help

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    1

    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

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    362
    therealjdj,
    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
    "When the only tool you own is a hammer, every problem begins to resemble a nail." Abraham Maslow

  3. #3
    Veni Vidi Vice
    Join Date
    Aug 2001
    Posts
    343
    Have you even tried????

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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how long to learn c programming
    By cmay in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 05-13-2009, 12:55 AM
  2. What do I learn now?
    By Lorgon Jortle in forum C++ Programming
    Replies: 14
    Last Post: 03-14-2009, 06:44 PM
  3. Am I too late to learn programming?
    By maccat in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 02-17-2009, 08:49 AM
  4. Do you ever try to learn too much?
    By Stonehambey in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 06-17-2008, 07:55 AM
  5. Novice trying to learn C++
    By dead in forum C++ Programming
    Replies: 10
    Last Post: 12-01-2003, 09:25 PM