Package stallone.coordinates

Examples of stallone.coordinates.AbstractCoordinateTransform


*/
public class CoordinateFactory
{
    public ICoordinateTransform transform_minrmsd(final IDoubleArray Xref)
    {
        return new AbstractCoordinateTransform(1)
        {
            MinimalRMSDistance3D minrmsd = new MinimalRMSDistance3D(Xref.rows());

            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
View Full Code Here


        };
    }

    public ICoordinateTransform transform_distances(final int[] set1)
    {
        return new AbstractCoordinateTransform((set1.length * (set1.length-1)) / 2)
        {
            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
            {
                coor.distances(in, set1, out);
View Full Code Here

        };
    }

    public ICoordinateTransform transform_distances(final int[] set1, final int[] set2)
    {
        return new AbstractCoordinateTransform(set1.length, set2.length)
        {
            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
            {
                coor.distanceMatrix(in, set1, set2, out);
View Full Code Here

        };
    }
   
    public ICoordinateTransform transform_distances(final int[][] set1)
    {
        return new AbstractCoordinateTransform(set1.length * (set1.length-1) / 2)
        {
            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
            {
                coor.distances(in, set1, out);
View Full Code Here

        };
    }

    public ICoordinateTransform transform_distances(final int[][] set1, final int[][] set2)
    {
        return new AbstractCoordinateTransform(set1.length, set2.length)
        {
            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
            {
                coor.distanceMatrix(in, set1, set2, out);
View Full Code Here

        };
    }

    public ICoordinateTransform transform_angles(final int[][] selection)
    {
        return new AbstractCoordinateTransform(selection.length)
        {
            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
            {
                coor.angles(in, selection, out);
View Full Code Here

        return transform_angles(selection);
    }

    public ICoordinateTransform transform_selection(final int[] selection)
    {
        return new AbstractCoordinateTransform(selection.length, 3)
        {
            @Override
            public void transform(IDoubleArray in, IDoubleArray out)
            {
                coor.select(in, selection, out);
View Full Code Here

     * @param A matrix operator
     * @return CoordinateTransformation which performs <A, b> = x
     */
    public ICoordinateTransform linear_operator(final IDoubleArray A) {
        int rows = A.rows(), cols = 1;
        return new AbstractCoordinateTransform(rows, cols)
        {
            @Override
            public void transform(final IDoubleArray in, IDoubleArray out)
            {
                IDoubleArray input = in;
View Full Code Here

TOP

Related Classes of stallone.coordinates.AbstractCoordinateTransform

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.