daily update on 20230829 by nitload youmu
This commit is contained in:
@@ -23,14 +23,16 @@ namespace StgSharp
|
||||
|
||||
Console.WriteLine(matrix.Det());
|
||||
|
||||
/*
|
||||
/**/
|
||||
System.Numerics.Matrix4x4 m = new System.Numerics.Matrix4x4(
|
||||
0,1,2,3,
|
||||
0,0,1,2,
|
||||
0,0,0,0,
|
||||
1,2,5,6
|
||||
1, 1, -1, 2,
|
||||
-1, -1, -4, 1,
|
||||
2, 4, -6, 1,
|
||||
1, 2, 4, 2
|
||||
);
|
||||
|
||||
Console.WriteLine(m.GetDeterminant());
|
||||
/**/
|
||||
int cycle = 1000;
|
||||
int time = 10000;
|
||||
|
||||
@@ -42,7 +44,12 @@ namespace StgSharp
|
||||
sw.Start();
|
||||
for (int i = 0; i < time; i++)
|
||||
{
|
||||
Matrix4x4 mat = matrix * matrix;
|
||||
Matrix4x4 matrix4X4 = new Matrix4x4(
|
||||
1, 1, -1, 2,
|
||||
-1, -1, -4, 1,
|
||||
2, 4, -6, 1,
|
||||
1, 2, 4, 2
|
||||
);
|
||||
}
|
||||
sw.Stop();
|
||||
|
||||
@@ -53,7 +60,12 @@ namespace StgSharp
|
||||
sw2.Start();
|
||||
for (int i = 0; i < time; i++)
|
||||
{
|
||||
System.Numerics.Matrix4x4 mat = m * m;
|
||||
System.Numerics.Matrix4x4 test = new System.Numerics.Matrix4x4(
|
||||
1, 1, -1, 2,
|
||||
-1, -1, -4, 1,
|
||||
2, 4, -6, 1,
|
||||
1, 2, 4, 2
|
||||
);
|
||||
}
|
||||
sw2.Stop();
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -26,6 +26,7 @@
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "bJeaJ29NiRKRDDL14x43+x7ppAyg6cFYHEJ+iaHmGnptYwgfeAM5gtujyal3rrYEkfMuojEy1I3XTltcs9FMxA==",
|
||||
"dgSpecHash": "EIWMDFy9zzJrykYjrfUBwHbP9SwB8ZoyVm5HhjnpN+8CBIi2Zd+p6o35FnDHiYyxjYWf47TWyG6ymafb5pKNVw==",
|
||||
"success": true,
|
||||
"projectFilePath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\StgSharpDebug\\StgSharpDebug.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user