cc.redberry.core.transformations
Class ToNumericTransformation
- java.lang.Object
-
- cc.redberry.core.transformations.ToNumericTransformation
-
- All Implemented Interfaces:
- Transformation
public class ToNumericTransformation extends java.lang.Object implements Transformation
Gives the numerical value of tensor (replace all numbers with their numerical values).- Since:
- 1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cc.redberry.core.transformations.Transformation
Transformation.Util
-
-
Field Summary
Fields Modifier and Type Field and Description static ToNumericTransformationTO_NUMERICSingleton instance-
Fields inherited from interface cc.redberry.core.transformations.Transformation
INDENTITY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static TensortoNumeric(Tensor t)Gives the numerical value of tensor (replace all numbers with their numerical values)Tensortransform(Tensor t)Transforms specified tensor and returns the result.
-
-
-
Field Detail
-
TO_NUMERIC
public static final ToNumericTransformation TO_NUMERIC
Singleton instance
-
-
Method Detail
-
transform
public Tensor transform(Tensor t)
Description copied from interface:TransformationTransforms specified tensor and returns the result.- Specified by:
transformin interfaceTransformation- Parameters:
t- tensor- Returns:
- transformed tensor
-
-
DataMelt 3.0 © DataMelt by jWork.ORG