001    /*
002     * Copyright (C) 2008-2010 by Holger Arndt
003     *
004     * This file is part of the Universal Java Matrix Package (UJMP).
005     * See the NOTICE file distributed with this work for additional
006     * information regarding copyright ownership and licensing.
007     *
008     * UJMP is free software; you can redistribute it and/or modify
009     * it under the terms of the GNU Lesser General Public License as
010     * published by the Free Software Foundation; either version 2
011     * of the License, or (at your option) any later version.
012     *
013     * UJMP is distributed in the hope that it will be useful,
014     * but WITHOUT ANY WARRANTY; without even the implied warranty of
015     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
016     * GNU Lesser General Public License for more details.
017     *
018     * You should have received a copy of the GNU Lesser General Public
019     * License along with UJMP; if not, write to the
020     * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
021     * Boston, MA  02110-1301  USA
022     */
023    
024    package org.ujmp.core;
025    
026    import org.ujmp.core.calculation.DivideMatrix;
027    import org.ujmp.core.calculation.DivideMatrixCalculation;
028    import org.ujmp.core.calculation.DivideScalar;
029    import org.ujmp.core.calculation.DivideScalarCalculation;
030    import org.ujmp.core.calculation.MinusMatrix;
031    import org.ujmp.core.calculation.MinusMatrixCalculation;
032    import org.ujmp.core.calculation.MinusScalar;
033    import org.ujmp.core.calculation.MinusScalarCalculation;
034    import org.ujmp.core.calculation.Mtimes;
035    import org.ujmp.core.calculation.MtimesCalculation;
036    import org.ujmp.core.calculation.PlusMatrix;
037    import org.ujmp.core.calculation.PlusMatrixCalculation;
038    import org.ujmp.core.calculation.PlusScalar;
039    import org.ujmp.core.calculation.PlusScalarCalculation;
040    import org.ujmp.core.calculation.TimesMatrix;
041    import org.ujmp.core.calculation.TimesMatrixCalculation;
042    import org.ujmp.core.calculation.TimesScalar;
043    import org.ujmp.core.calculation.TimesScalarCalculation;
044    import org.ujmp.core.calculation.Transpose;
045    import org.ujmp.core.calculation.TransposeCalculation;
046    import org.ujmp.core.doublematrix.calculation.general.decomposition.Chol;
047    import org.ujmp.core.doublematrix.calculation.general.decomposition.Eig;
048    import org.ujmp.core.doublematrix.calculation.general.decomposition.Inv;
049    import org.ujmp.core.doublematrix.calculation.general.decomposition.LU;
050    import org.ujmp.core.doublematrix.calculation.general.decomposition.QR;
051    import org.ujmp.core.doublematrix.calculation.general.decomposition.SVD;
052    import org.ujmp.core.doublematrix.calculation.general.decomposition.Solve;
053    import org.ujmp.core.util.AbstractPlugin;
054    
055    /**
056     * @deprecated use <code>Matrix.[operation]</code> instead
057     */
058    public abstract class Ops {
059    
060            public static TransposeCalculation<Matrix, Matrix> transpose = Transpose.MATRIX;
061    
062            public static PlusMatrixCalculation<Matrix, Matrix, Matrix> plusMatrix = PlusMatrix.MATRIX;
063    
064            public static MinusMatrixCalculation<Matrix, Matrix, Matrix> minusMatrix = MinusMatrix.MATRIX;
065    
066            public static TimesMatrixCalculation<Matrix, Matrix, Matrix> timesMatrix = TimesMatrix.MATRIX;
067    
068            public static DivideMatrixCalculation<Matrix, Matrix, Matrix> divideMatrix = DivideMatrix.MATRIX;
069    
070            public static PlusScalarCalculation<Matrix, Matrix> plusScalar = PlusScalar.MATRIX;
071    
072            public static MinusScalarCalculation<Matrix, Matrix> minusScalar = MinusScalar.MATRIX;
073    
074            public static TimesScalarCalculation<Matrix, Matrix> timesScalar = TimesScalar.MATRIX;
075    
076            public static DivideScalarCalculation<Matrix, Matrix> divideScalar = DivideScalar.MATRIX;
077    
078            public static MtimesCalculation<Matrix, Matrix, Matrix> mtimes = Mtimes.MATRIX;
079    
080            public static SVD<Matrix> svd = org.ujmp.core.doublematrix.calculation.general.decomposition.SVD.INSTANCE;
081    
082            public static LU<Matrix> lu = org.ujmp.core.doublematrix.calculation.general.decomposition.LU.INSTANCE;
083    
084            public static QR<Matrix> qr = org.ujmp.core.doublematrix.calculation.general.decomposition.QR.INSTANCE;
085    
086            public static Inv<Matrix> inv = Inv.INSTANCE;
087    
088            public static Solve<Matrix> solve = Solve.INSTANCE;
089    
090            public static Chol<Matrix> chol = Chol.INSTANCE;
091    
092            public static Eig<Matrix> eig = Eig.INSTANCE;
093    
094            
095    }