com.github.tsingjyujing.geo.basic.operations.InnerProductable.scala Maven / Gradle / Ivy
package com.github.tsingjyujing.geo.basic.operations
/**
* Which can get inner product to another object by given type T
*
* @author [email protected]
* @tparam T Type of the object to compare
*/
trait InnerProductable[T] {
/**
* Return a value which get inner product of self and point
*
* @param point
* @return
*/
def innerProduct(point: T): Double
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy