#### Category : matrix

Here is my code.How can I print out all the even vectors different from 0? The result is incorrect but I don’t know what is the problem here. #include<iostream> #include<math.h> using namespace std ; int main () { int i,j,N,M; int a[100][100]; cout << "the number of rows of the matrix = " ; cin ..

I try to create an isometric world like diablo, league of legend etc with a view that will be movable in the world. I don’t understand how the rotations should be done and which projection / view to use. I have tried to follow this guide and other resources without success. Here is my code: ..

FreeGLUT provides already some basic transformation functions such as translate, rotate and scale. However, I need particular geometric transformations to apply to objects in a 3-dimensional space. I’m using FreeGLUT and glm as libraries. I’m having fun with some models already provided by FreeGLUT, such as glutSolidTorus() function. Thanks to linear algebra I can compute ..

I need to split an MxN matrix into N parts with an even number of rows in each part. Moreover, the last part will be too much if the matrix is odd. But I don’t know which algorithm I should use. Can’t figure out how to do this. Tell me please For example: we have ..

The thing I want to do is this: MatrixXd M; // Whatever assigned to `X` VectorXd V = M(1); Eigen does not support this. Is there a way to retrieve an Eigen vector from an Eigen matrix? Source: Windows Que..

Hi, Can anyone has a solution for this? Can you show me an example of how to do this? Source: Windows Que..

Develop and run the MPI program on the cluster in C ++, in which the transposed matrix is ​​constructed with using procedures for generating data types. I do not know how to solve this, if there is a master here? Разработайте и выполните на кластере программу MPI на языке C++, в которой транспонированная матрица строится ..