summaryrefslogtreecommitdiff
path: root/src/main/scala/com/nsrddyn/cpu/FPU/CholeskyDecomposition.scala
blob: 79325f47b2538a361dad2a87428175c5afbc72a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.nsrddyn.fpu


class CholeskyDecomposition {

  /*
   *  Floating point operation to stress the cpu
   *  Calculate the number of KFLOPS / FLOPS
   *  implementation of the Cholesky decomposition
   *  More information on the Cholesky decomposition at: 
   *  https://en.wikipedia.org/wiki/Cholesky_decomposition
   *  
   *  Linpack uses the cholesky decomposition
   *  https://www.netlib.org/linpack/
   *
   *
   */ 

  def choleskyDecomposition(n: Int): Unit =   {

    for (w <- 0 to n) {


    }
  }

  
}