public Matrix4x4[] MatrixMultiply_ByScalar_Avx() { var result = new Matrix4x4[1024]; for (int i = 0; i < result.Length; i++) { Matrix4x4 m = GenerateMatrix(i + 1); result[i] = MatrixIntrinsics.Multiply_Avx(m, i / 2f); } return(result); }
public Matrix4x4[] MatrixNegate_Avx() { var result = new Matrix4x4[1024]; for (int i = 0; i < result.Length; i++) { Matrix4x4 m = GenerateMatrix(i); result[i] = MatrixIntrinsics.Negate_Avx(m); } return(result); }
public Matrix4x4 MatrixSum_Avx() { var sum = Matrix4x4.Identity; for (int i = 0; i < 1024; i++) { Matrix4x4 m = GenerateMatrix(i); sum = MatrixIntrinsics.Sum_Avx(m, sum); } return(sum); }