Help with Function

This is a discussion on Help with Function within the C Programming forums, part of the General Programming Boards category; Please,does anyone knows a function in free libraries to compute a matrix which every terms are: e^(-iBC) where: -i means ...

  1. #1
    Registered User
    Join Date
    Oct 2010
    Location
    Niterói - Brasil
    Posts
    10

    Help with Function

    Please,does anyone knows a function in free libraries to compute a matrix which every terms are:

    e^(-iBC)


    where:

    -i means complex
    B and C are terms that I know



    Thanks!

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    And you can't code a couple of lines of math on your own?

  3. #3
    Registered User
    Join Date
    May 2010
    Location
    Naypyidaw
    Posts
    1,314
    Take a look at GSL though I am not very sure it is what you need.
    Btw if you are using c99, it supports complex numbers.

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Bayint Naung View Post
    Take a look at GSL though I am not very sure it is what you need.
    Btw if you are using c99, it supports complex numbers.
    That's what I meant... unless the OP is using some ancient compiler, the necessary tools should be part of its libraries...

    He needs to start coding...
    Then, as usual, if he gets stuck he can post his code and we'll see what we can do...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 04:25 AM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 04:06 PM
  4. Replies: 28
    Last Post: 07-17-2006, 12:35 AM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 07:44 PM

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