User profile: lastchance

User info
User name:lastchance
Location:Manchester, England
Bio:University lecturer in engineering

Teaching: fluid dynamics, mechanics, CFD, numerical methods.

Research: computational fluid dynamics (CFD), renewable energy (marine and wind), aerodynamics, heat transfer, hydraulic engineering.

I have a first degree in Maths and a PhD in Mechanical Engineering. I do a lot of mathematical modelling in the physical sciences.

I program mainly in Fortran at work, but I enjoy improving my C++ in this forum.
Statistical data
Number of posts:5151
Latest posts:

i need help
[code]#include <iostream> #include <cmath> using namespace std; int main() { double a, b, c; ...

Repeat exactly three times in Array - C++
[code]#include <iostream> #include <map> using namespace std; map<int,int> freq( int A[], int N ) ...

Matrix vector product
[quote=mikkeldl]I'm pretty sure I have some errors in the bottom "void multiplik". [/quote] Yes, yo...

How to find the column index of a matrix element
You don't need to loop on m if you know the row index. That would solve your main problem. Use ==, ...

collection not returning anything
"Your" code? You mean this one?