main0305.cpp
Dosyayı İndir
#include <iostream>
#include <locale>
#include "SpaceVector.h"
#include "SpaceMatrix.h"
using namespace std;
void transformMatrix(){
cout<<"Dizey D�n���m"<<endl;
double values1[DIMENSION_COUNT]={1.01,1.02,1.03,1.04};
SpaceVector vector1(values1);
double values[][DIMENSION_COUNT]={
{2,0,0,0},
{0,3,0,0},
{0,0,4,0},
{0,0,0,1},
};
SpaceMatrix matrix(values);
SpaceVector vector2=matrix*vector1;
vector2.print();
}
int main0305(){
setlocale(LC_ALL,"Turkish");
cout<<"�izim Matemati�i"<<endl;
transformMatrix();
return 0;
}
Dosyayı İndir