Documentation API of the 'cern.colt.matrix.doublealgo.Transform' Java class
Transform
cern.colt.matrix.doublealgo

Class Transform

  • All Implemented Interfaces:
    Serializable, Cloneable

    Deprecated.

    public class Transformextends PersistentObject
    Deprecated; Basic element-by-element transformations on DoubleMatrix1D and DoubleMatrix2D.All transformations modify the first argument matrix to hold the result of the transformation.Use idioms like result = mult(matrix.copy(),5) to leave source matrices unaffected.

    If your favourite transformation is not provided by this class, consider using method assign in combination with prefabricated function objects of Functions,using idioms like

    cern.jet.math.Functions F = cern.jet.math.Functions.functions; // aliasmatrix.assign(F.square);matrix.assign(F.sqrt);matrix.assign(F.sin);matrix.assign(F.log);matrix.assign(F.log(b));matrix.assign(otherMatrix, F.min);matrix.assign(otherMatrix, F.max);
    Here are some other examples.

    Implementation: Performance optimized for medium to very large matrices.In fact, there is now nomore a performance advantage in using this class; The assign (transform) methods directly defined on matrices are now just as fast.Thus, this class will soon be removed altogether.

    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.