Skip to content

Commit

Permalink
method parameter name tweaked
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelbaran committed Feb 17, 2024
1 parent a7d4c98 commit 4afbe28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Geometry_Engine/Compute/SingularValueDecomposition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public static partial class Compute
[Description("Performs factorization of a matrix into three matrices known as Sigular Value Decomposition." +
"\nReturns 3 matrices that represent the formula A = U * S * Vh." +
"\nImplementation uses Jacobi eigenvalue algorithm.")]
[Input("A", "Matrix to run the factorization against.")]
[Input("matrix", "Matrix to run the factorization against, A component in formula A = U * S * Vh.")]
[MultiOutput(0, "U", "U component in formula A = U * S * Vh.")]
[MultiOutput(1, "S", "S component in formula A = U * S * Vh.")]
[MultiOutput(2, "Vh", "Vh component in formula A = U * S * Vh.")]
public static Output<double[,], double[], double[,]> SingularValueDecomposition(this double[,] A)
public static Output<double[,], double[], double[,]> SingularValueDecomposition(this double[,] matrix)

Check failure on line 43 in Geometry_Engine/Compute/SingularValueDecomposition.cs

View check run for this annotation

BHoMBot-CI / documentation-compliance

Geometry_Engine/Compute/SingularValueDecomposition.cs#L43

Methods returning a type of Output<t1, ..., tn> should have a matching number of MultiOutput attributes that identify each output object uniquely. - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasUniqueMultiOutputAttributes Methods returning a type of Output<t1, ..., tn> should have a matching number of MultiOutput attributes. - For more information see https://bhom.xyz/documentation/DevOps/Code%20Compliance%20and%20CI/Compliance%20Checks/HasValidMultiOutputAttributes
{
// Rewrite of https://github.com/ampl/gsl/blob/master/linalg/svd.c
double epsilon = 1e-15;
A = (double[,])A.Clone();
double [,] A = (double[,])matrix.Clone();

int m = A.GetLength(0);
int n = A.GetLength(1);
Expand Down

0 comments on commit 4afbe28

Please sign in to comment.