I have made a program in C++. Here is a small piece of my program:
whereCode:for (i = 1;i<=Nt;i++) Matrix (i,Nt) = Vector;
Nt: integer known
Matrix: Matrix already defined
Vector: Vector known.
The objective of this program is to save all lines of a matrix of the same content Vector.
I wonder if it is possible to modify this program to eliminate the FOR loop.
Bookmarks