Package stallone.api.doubles

Examples of stallone.api.doubles.IDoubleArray.viewRow()


        {
            // scale diagonal
            Tnew.set(i,i, Math.pow(Tnew.get(i,i), 1.0/timescaleFactor));
           
            // compute off-diagonal scaling factor
            double cOffdiag = (1.0 - Tnew.get(i,i)) / (alg.sum(Tnew.viewRow(i)) - Tnew.get(i,i));
           
            for (int j=0; j<Tnew.columns(); j++)
            {
                if (j != i)
                    Tnew.set(i, j, cOffdiag * Tnew.get(i,j));
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.