View source: R/multiscaleSVDxpts.R
gradient_invariant_orthogonality_salad | R Documentation |
This function computes the gradient of the orthogonality defect measure with respect to the input matrix 'A'. The gradient is useful for optimization techniques that require gradient information. The gradient will be zero for matrices where 'AtA' equals the diagonal matrix 'D'.
gradient_invariant_orthogonality_salad(A)
A |
A numeric matrix. |
A numeric matrix representing the gradient of the orthogonality defect measure.
# library(salad)
# A <- matrix(runif(20), nrow = 10, ncol = 2)
# gradient_invariant_orthogonality_salad(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.