Jump to content

How to create a program that calculates inner product vector and 3x3 matrices?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
aruwin

aruwin

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts
How to make a program in C++ for this task?

Task 2
1. Create a program that calculates the inner product of a vector, and the data is input from the keyboard.
2. Create a program that calculates and shows the product of 3x3 matrices.
hint:
-refer to the program that calculates the sum of matrices.
-it becomes a triple loop.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
What part of these are you having an issue with? The algorithms are pretty straight-forward. What code do you have so far?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
aruwin

aruwin

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts

WingedPanther said:

What part of these are you having an issue with? The algorithms are pretty straight-forward. What code do you have so far?

Thanks for the reply but I have solved it :)
Now I am trying to solve the problem which I have written in the other thread,about making a program to calculate the inner product of 2 vectors.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users