Class Structures
- java.lang.Object
-
- org.tensorics.core.fields.doubles.Structures
-
public final class Structures extends java.lang.Object
Utility class that provides methods to access mathematical structures which are available in the tensorics core package.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtendedField<java.lang.Double>
doubles()
static <T> ExtendedField<T>
extended(OrderedField<T> field, Math<T> math, Cheating<T> cheating)
Creates a more explicit view of the given field together with the given implementation of mathematical functions.
-
-
-
Method Detail
-
doubles
public static ExtendedField<java.lang.Double> doubles()
-
extended
public static <T> ExtendedField<T> extended(OrderedField<T> field, Math<T> math, Cheating<T> cheating)
Creates a more explicit view of the given field together with the given implementation of mathematical functions. This way more efficient implementations can be used.- Parameters:
field
- the field for which to create the explicit view.math
- the class providing mathematical functions.cheating
- the class that provides some methods for cheating the field-framework.- Returns:
- a view on the field, which provides more convenience methods.
-
-