Sum of User Defined Matrix Powers

This is a discussion on Sum of User Defined Matrix Powers within the C Programming forums, part of the General Programming Boards category; Hi. First i have to express that, im newbie on C programming but i never want the whole code, just ...

  1. #1
    Registered User QuaX's Avatar
    Join Date
    Apr 2009
    Posts
    12

    Sum of User Defined Matrix Powers

    Hi. First i have to express that, im newbie on C programming but i never want the whole code, just ask my question to give a lead or maybe some pseudo codes. Now heres my question;

    I want user to enter a number lower than 100(e.g: k) which is the last number for the calculation. The calculation shud be like that, A + A^2 + A^3 + ... + A^k. BTW matrices gonna be square matrix as already defined before this section.

    Thanx in advance. All answers will be appreciated.
    Last edited by QuaX; 04-18-2009 at 11:33 AM.

  2. #2
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,832
    It's just a loop to calculate the sum. No matrices required.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DLL compiling question
    By Noose in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2004, 06:16 AM
  2. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-13-2004, 11:19 PM
  3. win32 and user defined classes
    By paulf in forum Windows Programming
    Replies: 4
    Last Post: 04-16-2002, 06:12 PM
  4. Help!! Tips on Matrix Calculator Program please!
    By skanxalot in forum C++ Programming
    Replies: 12
    Last Post: 03-11-2002, 10:26 AM
  5. Header files
    By borland_man in forum C++ Programming
    Replies: 14
    Last Post: 02-22-2002, 03:30 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21