MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / initalVKNormCompute

Method initalVKNormCompute

JSAT/src/jsat/linear/GenericMatrix.java:797–806  ·  view source on GitHub ↗
(int k, int M, double[] vk, Matrix A)

Source from the content-addressed store, hash-verified

795 }
796
797 private double initalVKNormCompute(int k, int M, double[] vk, Matrix A)
798 {
799 double vkNorm = 0.0;
800 for(int i = k+1; i < M; i++)
801 {
802 vk[i] = A.get(k, i);
803 vkNorm += vk[i]*vk[i];
804 }
805 return vkNorm;
806 }
807
808 @Override
809 public Matrix[] qr(ExecutorService threadPool)

Callers 1

qrMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected