All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opengamma.strata.math.linearalgebra.Decomposition Maven / Gradle / Ivy

There is a newer version: 2.12.46
Show newest version
/*
 * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.math.linearalgebra;

import java.util.function.Function;

import com.opengamma.strata.collect.array.DoubleMatrix;

/**
 * Base interface for matrix decompositions, such as SVD and LU.
 * 
 * @param  the type of the decomposition result
 */
public interface Decomposition extends Function {

  /**
   * Applies this function to the given argument.
   *
   * @param input  the input matrix
   * @return the resulting decomposition
   */
  @Override
  public abstract R apply(DoubleMatrix input);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy