pub trait HalfspaceIntersectionAlgorithms<R: Runtime<DType = DType>> {
// Required method
fn halfspace_intersection(
&self,
halfspaces: &Tensor<R>,
interior_point: &Tensor<R>,
) -> Result<HalfspaceIntersection<R>>;
}Expand description
Algorithmic contract for halfspace intersection.
Required Methods§
Sourcefn halfspace_intersection(
&self,
halfspaces: &Tensor<R>,
interior_point: &Tensor<R>,
) -> Result<HalfspaceIntersection<R>>
fn halfspace_intersection( &self, halfspaces: &Tensor<R>, interior_point: &Tensor<R>, ) -> Result<HalfspaceIntersection<R>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".