Package JSci.maths.vectors

Examples of JSci.maths.vectors.DoubleVector.norm()


        DoubleVector    vecFunc = new DoubleVector(arrFunc);
        DoubleVector    vecTarg = new DoubleVector(arrTarg);
       
        double      dblDis = vecFunc.subtract(vecTarg).norm();

        return dblDis/vecTarg.norm();
    }
   
    /**
     * Build a table of function values for comparison.  Each table row consists
     * of the function index, then corresponding function values, all separated by
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.