Class GramSchmidt

java.lang.Object
dk.alexandra.fresco.stat.linearalgebra.GramSchmidt
All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<List<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>

public class GramSchmidt
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<List<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Perform the Gram-Schmidt process on a list of linearly independent vectors. This results in a list of mutually orthogonal vectors spanning the same subspace as the given vectors.
  • Constructor Details

    • GramSchmidt

      public GramSchmidt​(List<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> vectors)
  • Method Details

    • buildComputation

      public dk.alexandra.fresco.framework.DRes<List<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>>> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
      Specified by:
      buildComputation in interface dk.alexandra.fresco.framework.builder.Computation<List<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>