Package org.tensorics.core.lang
Class TensoricSupport<V>
- java.lang.Object
-
- org.tensorics.core.lang.TensoricSupport<V>
-
- Type Parameters:
V
- The type of the values of the scalars (elements of the field on which all the operations are based on)
- Direct Known Subclasses:
TensoricDoubleSupport
,TensoricTask
,TensoricTestingSupport
public class TensoricSupport<V> extends java.lang.Object
The main start point for expressions of the tensoric eDSL. Gives access to the quantified versions of the operations and the basic tensor operations.
NOTE!
Contains delegation methods only!
-
-
Constructor Summary
Constructors Constructor Description TensoricSupport(EnvironmentImpl<V> environment)
-
Method Summary
-
-
-
Constructor Detail
-
TensoricSupport
public TensoricSupport(EnvironmentImpl<V> environment)
-
-
Method Detail
-
calculate
public OngoingBinaryOperation<V> calculate(V operand)
-
zero
public final V zero()
-
two
public final V two()
-
one
public final V one()
-
countOf
public V countOf(int number)
-
calculate
public final <C> OngoingTensorOperation<C,V> calculate(Tensor<V> tensoric)
-
averageOfQ
public final QuantifiedValue<V> averageOfQ(java.lang.Iterable<QuantifiedValue<V>> values)
-
rmsOfQ
public final QuantifiedValue<V> rmsOfQ(java.lang.Iterable<QuantifiedValue<V>> values)
-
varOfQ
public final QuantifiedValue<V> varOfQ(java.lang.Iterable<QuantifiedValue<V>> values)
-
stdOfQ
public final QuantifiedValue<V> stdOfQ(java.lang.Iterable<QuantifiedValue<V>> values)
-
calculateQ
public OngoingQuantifiedTensorOperation<V> calculateQ(Tensor<QuantifiedValue<V>> left)
-
valueOf
public QuantifiedValue<V> valueOf(V value, Unit unit)
-
calculate
public OngoingQuantifiedScalarOperation<V> calculate(V value, javax.measure.unit.Unit<?> unit)
-
calculate
public OngoingQuantifiedScalarOperation<V> calculate(QuantifiedValue<V> scalar)
-
negativeOf
public QuantifiedValue<V> negativeOf(QuantifiedValue<V> element)
-
inverseOf
public QuantifiedValue<V> inverseOf(QuantifiedValue<V> element)
-
valueOf
public QuantifiedValue<V> valueOf(V value, javax.measure.unit.Unit<?> unit)
-
negativeOf
public <TB extends Tensorbacked<V>> TB negativeOf(TB tensorBacked)
-
calculate
public final <TB extends Tensorbacked<V>> OngoingTensorBackedOperation<TB,V> calculate(TB tensorBacked)
-
negativeOfQ
public <TB extends Tensorbacked<QuantifiedValue<V>>> TB negativeOfQ(TB tensorBacked)
-
calculateQ
public <QTB extends Tensorbacked<QuantifiedValue<V>>> OngoingQuantifiedTensorBackedOperation<QTB,V> calculateQ(QTB left)
-
testIf
public OngoingScalarBinaryPredicate<V> testIf(V left)
-
testIf
public OngoingQuantifiedScalarBinaryPredicate<V> testIf(QuantifiedValue<V> left)
-
absoluteValueOf
public QuantifiedValue<V> absoluteValueOf(QuantifiedValue<V> value)
-
elementwise
public <S,R> Tensor<R> elementwise(BinaryFunction<S,R> operation, Tensor<S> left, Tensor<S> right)
-
elementwise
public Tensor<V> elementwise(BinaryOperation<V> operation, Tensor<V> left, Tensor<V> right)
-
valueOf
public OngoingQuantityValueExtraction<V> valueOf(QuantifiedValue<V> quantity)
-
valuesOfI
public final OngoingQuantityIterableValueExtraction<V> valuesOfI(java.lang.Iterable<QuantifiedValue<V>> quantities)
-
valuesOf
public final OngoingQuantityTensorValueExtraction<V> valuesOf(Tensor<QuantifiedValue<V>> tensor)
-
sizeOfQ
public final QuantifiedValue<V> sizeOfQ(java.lang.Iterable<QuantifiedValue<V>> values)
-
sumOfQ
public final QuantifiedValue<V> sumOfQ(java.lang.Iterable<QuantifiedValue<V>> values)
-
valuesOf
public final OngoingQuantityIterableValueExtraction<V> valuesOf(java.lang.Iterable<QuantifiedValue<V>> quantities)
-
convert
public OngoingQuantifiedScalarConversion<V> convert(QuantifiedValue<V> value)
-
with
public TensoricSupport<V> with(ManipulationOption newOption)
-
confidenceLevelOf
public ConfidenceLevel<V> confidenceLevelOf(V confidenceLevel)
-
resample
public OngoingFieldAwareResamplingStart<V> resample(Tensor<V> tensor)
-
-