Results 1 to 6 of 6

Thread: busy,busy,busy...

  1. #1

    Thread Starter
    Lively Member Something Else's Avatar
    Join Date
    Nov 2003
    Location
    Where Humboldt Intersects Carlson
    Posts
    99

    busy,busy,busy...

    could someone help me out?
    i need a sub written up that will take a 2 dimensional matrix of user defined data {2 integers representing fractions}, build a new matrix from the rows that contain only those elements where the denominators are 3, then simultaneously solveing that matrix to determine the most minimal set of equations that require the sequence of integer elements to be divisible by 3.

    I'll be in the MAC room working on 27 xerox jobs. Get me when its ready.


    -Lou
    no soap...radio -mendhak

    I understand...just a little...
    No comprende, it's a riddle
    - Wall of Voodoo-Mexican Radio

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906
    All you matricies are belong to us.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: busy,busy,busy...

    Originally posted by Something Else
    could someone help me out?
    i need a sub written up that will take a 2 dimensional matrix of user defined data {2 integers representing fractions}, build a new matrix from the rows that contain only those elements where the denominators are 3, then simultaneously solveing that matrix to determine the most minimal set of equations that require the sequence of integer elements to be divisible by 3.

    I'll be in the MAC room working on 27 xerox jobs. Get me when its ready.


    -Lou
    Yes.

  4. #4
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    trying out a progrm to determine which jobs get printed first?

  5. #5

    Thread Starter
    Lively Member Something Else's Avatar
    Join Date
    Nov 2003
    Location
    Where Humboldt Intersects Carlson
    Posts
    99
    How's This:

    VB Code:
    1. _____________FIN SOLS___________
    2. c_0 ::  + c_0 - F_0
    3. c_1 ::  Control
    4. c_2 ::  Control
    5. c_3 ::  Control
    6. c_4 ::  Control
    7. c_5 ::  + c_1 + c_3 + c_5 - sf_1
    8. c_6 ::  + c_2 + c_4 + c_6 + sf_1 + 2*F_0 - T
    9. c_7 ::  + c_4 + c_7 + (1/3)*sf_1 - (1/3)*sf_3 + (2/3)*F_0 - (1/3)*T
    10. c_8 ::  + c_1 + c_3 - c_4 + c_8 - sf_1 - F_0
    11. c_9 ::  - c_1 - c_3 + c_9 + (2/3)*sf_1 + (1/3)*sf_3 + (1/3)*F_0 - (2/3)*T
    12. c_10 ::  + c_1 + c_2 + c_3 + c_4 + c_10 + F_0 - T
    13. c_11 ::  - c_2 - c_4 + c_11 - (2/3)*sf_1 - (1/3)*sf_3 - (4/3)*F_0 + (2/3)*T
    14. c_12 ::  - c_1 + c_2 + c_4 + c_12 + sf_1 + F_0 - T
    15. c_13 ::  + c_1 + c_13 - (1/3)*sf_1 + (1/3)*sf_3 + (1/3)*F_0 - (2/3)*T
    16. c_14 ::  - c_1 - c_2 + c_14 - F_0
    17. c_15 ::  + c_2 + c_15 + (1/3)*sf_1 - (1/3)*sf_3 + (2/3)*F_0 - (1/3)*T
    18. c_16 ::  - c_2 - c_3 + c_16 - F_0
    19. c_17 ::  + c_3 + c_17 - (1/3)*sf_1 + (1/3)*sf_3 + (1/3)*F_0 - (2/3)*T
    20. c_18 ::  - c_3 - c_4 + c_18 - F_0
    21. sf_0 ::  + sf_0 - F_0
    22. sf_1 ::  Control
    23. sf_2 ::  + sf_1 + sf_2 + 2*F_0 - T
    24. sf_3 ::  Control
    25. sf_4 ::  + sf_3 + sf_4 + F_0 - 2*T
    26. sf_5 ::  + sf_5 - F_0 - T
    27. sf_6 ::  + sf_6 - F_0 - T
    28. F_0 ::  Control
    29. F_1 ::  + 2*F_0 + F_1 - T
    30. F_2 ::  + F_0 + F_2 - 2*T
    31. F_3 ::  - 2*F_0 + F_3 - 2*T
    32. T ::  Control

    becomes a more manageable

    VB Code:
    1. _____________DIV_3_SOLS___________
    2. sf_1 ::  + sf_1 - sf_3 - F_0 - T
    3.    
    4.  
    5. Now, substitute  {+ sf_1 - sf_3 - F_0 - T + 3*PHI(1) = 0} into final sols:::
    6.  
    7. _____________TRULY_FINAL_SOLUTIONS___________
    8. c_0 ::  + c_0 - F_0
    9. c_1 ::  Control
    10. c_2 ::  Control
    11. c_3 ::  Control
    12. c_4 ::  Control
    13. c_5 ::  + c_1 + c_3 + c_5 - sf_3 - F_0 - T + 3*PHI(1)
    14. c_6 ::  + c_2 + c_4 + c_6 + sf_3 + 3*F_0 - 3*PHI(1)
    15. c_7 ::  + c_4 + c_7 + F_0 - PHI(1)
    16. c_8 ::  + c_1 + c_3 - c_4 + c_8 - sf_3 - 2*F_0 - T + 3*PHI(1)
    17. c_9 ::  - c_1 - c_3 + c_9 + sf_3 + F_0 - 2*PHI(1)
    18. c_10 ::  + c_1 + c_2 + c_3 + c_4 + c_10 + F_0 - T
    19. c_11 ::  - c_2 - c_4 + c_11 - sf_3 - 2*F_0 + 2*PHI(1)
    20. c_12 ::  - c_1 + c_2 + c_4 + c_12 + sf_3 + 2*F_0 - 3*PHI(1)
    21. c_13 ::  + c_1 + c_13 - T + PHI(1)
    22. c_14 ::  - c_1 - c_2 + c_14 - F_0
    23. c_15 ::  + c_2 + c_15 + F_0 - PHI(1)
    24. c_16 ::  - c_2 - c_3 + c_16 - F_0
    25. c_17 ::  + c_3 + c_17 - T + PHI(1)
    26. c_18 ::  - c_3 - c_4 + c_18 - F_0
    27. sf_0 ::  + sf_0 - F_0
    28. sf_1 ::  + sf_1 - sf_3 - F_0 - T + 3*PHI(1)
    29. sf_2 ::  + sf_2 + sf_3 + 3*F_0 - 3*PHI(1)
    30. sf_3 ::  Control
    31. sf_4 ::  + sf_3 + sf_4 + F_0 - 2*T
    32. sf_5 ::  + sf_5 - F_0 - T
    33. sf_6 ::  + sf_6 - F_0 - T
    34. F_0 ::  Control
    35. F_1 ::  + 2*F_0 + F_1 - T
    36. F_2 ::  + F_0 + F_2 - 2*T
    37. F_3 ::  - 2*F_0 + F_3 - 2*T
    38. T ::  Control

    no soap...radio -mendhak

    I understand...just a little...
    No comprende, it's a riddle
    - Wall of Voodoo-Mexican Radio

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by Something Else
    How's This:

    VB Code:
    1. _____________FIN SOLS___________
    2. c_0 ::  + c_0 - F_0
    3. c_1 ::  Control
    4. c_2 ::  Control
    5. c_3 ::  Control
    6. c_4 ::  Control
    7. c_5 ::  + c_1 + c_3 + c_5 - sf_1
    8. c_6 ::  + c_2 + c_4 + c_6 + sf_1 + 2*F_0 - T
    9. c_7 ::  + c_4 + c_7 + (1/3)*sf_1 - (1/3)*sf_3 + (2/3)*F_0 - (1/3)*T
    10. c_8 ::  + c_1 + c_3 - c_4 + c_8 - sf_1 - F_0
    11. c_9 ::  - c_1 - c_3 + c_9 + (2/3)*sf_1 + (1/3)*sf_3 + (1/3)*F_0 - (2/3)*T
    12. c_10 ::  + c_1 + c_2 + c_3 + c_4 + c_10 + F_0 - T
    13. c_11 ::  - c_2 - c_4 + c_11 - (2/3)*sf_1 - (1/3)*sf_3 - (4/3)*F_0 + (2/3)*T
    14. c_12 ::  - c_1 + c_2 + c_4 + c_12 + sf_1 + F_0 - T
    15. c_13 ::  + c_1 + c_13 - (1/3)*sf_1 + (1/3)*sf_3 + (1/3)*F_0 - (2/3)*T
    16. c_14 ::  - c_1 - c_2 + c_14 - F_0
    17. c_15 ::  + c_2 + c_15 + (1/3)*sf_1 - (1/3)*sf_3 + (2/3)*F_0 - (1/3)*T
    18. c_16 ::  - c_2 - c_3 + c_16 - F_0
    19. c_17 ::  + c_3 + c_17 - (1/3)*sf_1 + (1/3)*sf_3 + (1/3)*F_0 - (2/3)*T
    20. c_18 ::  - c_3 - c_4 + c_18 - F_0
    21. sf_0 ::  + sf_0 - F_0
    22. sf_1 ::  Control
    23. sf_2 ::  + sf_1 + sf_2 + 2*F_0 - T
    24. sf_3 ::  Control
    25. sf_4 ::  + sf_3 + sf_4 + F_0 - 2*T
    26. sf_5 ::  + sf_5 - F_0 - T
    27. sf_6 ::  + sf_6 - F_0 - T
    28. F_0 ::  Control
    29. F_1 ::  + 2*F_0 + F_1 - T
    30. F_2 ::  + F_0 + F_2 - 2*T
    31. F_3 ::  - 2*F_0 + F_3 - 2*T
    32. T ::  Control

    becomes a more manageable

    VB Code:
    1. _____________DIV_3_SOLS___________
    2. sf_1 ::  + sf_1 - sf_3 - F_0 - T
    3.    
    4.  
    5. Now, substitute  {+ sf_1 - sf_3 - F_0 - T + 3*PHI(1) = 0} into final sols:::
    6.  
    7. _____________TRULY_FINAL_SOLUTIONS___________
    8. c_0 ::  + c_0 - F_0
    9. c_1 ::  Control
    10. c_2 ::  Control
    11. c_3 ::  Control
    12. c_4 ::  Control
    13. c_5 ::  + c_1 + c_3 + c_5 - sf_3 - F_0 - T + 3*PHI(1)
    14. c_6 ::  + c_2 + c_4 + c_6 + sf_3 + 3*F_0 - 3*PHI(1)
    15. c_7 ::  + c_4 + c_7 + F_0 - PHI(1)
    16. c_8 ::  + c_1 + c_3 - c_4 + c_8 - sf_3 - 2*F_0 - T + 3*PHI(1)
    17. c_9 ::  - c_1 - c_3 + c_9 + sf_3 + F_0 - 2*PHI(1)
    18. c_10 ::  + c_1 + c_2 + c_3 + c_4 + c_10 + F_0 - T
    19. c_11 ::  - c_2 - c_4 + c_11 - sf_3 - 2*F_0 + 2*PHI(1)
    20. c_12 ::  - c_1 + c_2 + c_4 + c_12 + sf_3 + 2*F_0 - 3*PHI(1)
    21. c_13 ::  + c_1 + c_13 - T + PHI(1)
    22. c_14 ::  - c_1 - c_2 + c_14 - F_0
    23. c_15 ::  + c_2 + c_15 + F_0 - PHI(1)
    24. c_16 ::  - c_2 - c_3 + c_16 - F_0
    25. c_17 ::  + c_3 + c_17 - T + PHI(1)
    26. c_18 ::  - c_3 - c_4 + c_18 - F_0
    27. sf_0 ::  + sf_0 - F_0
    28. sf_1 ::  + sf_1 - sf_3 - F_0 - T + 3*PHI(1)
    29. sf_2 ::  + sf_2 + sf_3 + 3*F_0 - 3*PHI(1)
    30. sf_3 ::  Control
    31. sf_4 ::  + sf_3 + sf_4 + F_0 - 2*T
    32. sf_5 ::  + sf_5 - F_0 - T
    33. sf_6 ::  + sf_6 - F_0 - T
    34. F_0 ::  Control
    35. F_1 ::  + 2*F_0 + F_1 - T
    36. F_2 ::  + F_0 + F_2 - 2*T
    37. F_3 ::  - 2*F_0 + F_3 - 2*T
    38. T ::  Control

    Yes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width