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

breeze.optimize.Projecting.scala Maven / Gradle / Ivy

There is a newer version: 1.0
Show newest version
package breeze.optimize

import breeze.math.{Module}

trait Projecting[T] {
  def projection: T => T
  def projectedVector(x: T, g: T)(implicit vspace: Module[T, Double]): T = vspace.subVV(projection(vspace.addVV(x, g)), x)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy