Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1.  
  2. matrix = DenseMatrix.OfArray(new double[,]
  3. {
  4. { e, 0, 0, 0 },
  5. { 0, e/a, 0, 0 },
  6. { 0, 0, -(f + n)/(f - n), -2 * f * n / (f - n) },
  7. { 0, 0, -1, 0 }
  8. });
  9.  
  10.  
  11. matrix = DenseMatrix.OfArray(new double[,]
  12. {
  13. { Math.Cos(Alpha), -Math.Sin(Alpha), 0, 0 },
  14. { Math.Sin(Alpha), Math.Cos(Alpha), 0, 0 },
  15. { 0, 0, 1, 0 },
  16. { 0, 0, 0, 1 }
  17. });
  18.  
  19.  
  20. readonly Matrix<double> matrix = DenseMatrix.OfArray(new double[,]
  21. {
  22. { 0, 1, 0, -0.5 },
  23. { 0, 0, 1, -0.5 },
  24. { 1, 0, 0, -3 },
  25. { 0, 0, 0, 1 }
  26. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement