Package org.tensorics.core.lang
Class EnvironmentImpl<V>
- java.lang.Object
-
- org.tensorics.core.lang.EnvironmentImpl<V>
-
- Type Parameters:
V
- the type of the values (field elements)
- All Implemented Interfaces:
java.io.Serializable
,Environment<V>
,QuantityEnvironment<V>
public final class EnvironmentImpl<V> extends java.lang.Object implements QuantityEnvironment<V>, java.io.Serializable
Encapsulates all relevant information which is required for calculations of scalars, tensors and iterables. These include the field (which defines the basic operations on scalars) and the the options which define tensors and iterables are manipulated exactly.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description V
confidenceLevel()
boolean
equals(java.lang.Object obj)
ErrorPropagationStrategy<V>
errorPropagation()
ExtendedField<V>
field()
int
hashCode()
static <V> EnvironmentImpl<V>
of(ExtendedField<V> field, OptionRegistry<ManipulationOption> optionRegistry)
OptionRegistry<ManipulationOption>
options()
QuantificationStrategy<V>
quantification()
java.lang.String
toString()
<T extends ManipulationOption>
EnvironmentImpl<V>with(T newOption)
-
-
-
Method Detail
-
of
public static <V> EnvironmentImpl<V> of(ExtendedField<V> field, OptionRegistry<ManipulationOption> optionRegistry)
-
field
public ExtendedField<V> field()
- Specified by:
field
in interfaceEnvironment<V>
-
errorPropagation
public ErrorPropagationStrategy<V> errorPropagation()
- Specified by:
errorPropagation
in interfaceQuantityEnvironment<V>
-
quantification
public QuantificationStrategy<V> quantification()
- Specified by:
quantification
in interfaceQuantityEnvironment<V>
-
confidenceLevel
public V confidenceLevel()
- Specified by:
confidenceLevel
in interfaceQuantityEnvironment<V>
-
options
public OptionRegistry<ManipulationOption> options()
- Specified by:
options
in interfaceEnvironment<V>
-
with
public <T extends ManipulationOption> EnvironmentImpl<V> with(T newOption)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-