refactor: Update Unity to 2022.3.62
This commit is contained in:
@@ -42,13 +42,13 @@ namespace Cryville.Common.Math {
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Performs dot operation with a <see cref="System.Single" /> column vector.
|
||||
/// Performs dot operation with a <see cref="float" /> column vector.
|
||||
/// </summary>
|
||||
/// <param name="lhs">The lefthand column vector.</param>
|
||||
/// <param name="o">The vector operator.</param>
|
||||
/// <returns>The result of the dot operation.</returns>
|
||||
public T Dot(ColumnVector<float> lhs, IVectorOperator<T> o) {
|
||||
T res = default(T);
|
||||
T res = default;
|
||||
for (var i = 0; i < Size; i++)
|
||||
res = o.Add(res, o.ScalarMultiply(lhs[i], content[i]));
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user