Thread: Sum of User Defined Matrix Powers

  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,834
    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, 07:16 AM
  2. What is a matrix's purpose in OpenGL
    By jimboob in forum Game Programming
    Replies: 5
    Last Post: 11-14-2004, 12:19 AM
  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, 11:26 AM
  5. Header files
    By borland_man in forum C++ Programming
    Replies: 14
    Last Post: 02-22-2002, 04:30 AM