Package com.numb3r3.common.math

Examples of com.numb3r3.common.math.Matrix.subi()


    @Override
    public Matrix sub(Matrix other) {
        if (this.isSameDim(other)) {
            Matrix dump = this.dup();
            dump.subi(other);
            return dump;
        } else {
            errorProcessor
                    .error("the two matrices should have same dimensions.");
            return null;
View Full Code Here


    }

    @Override
    public Matrix sub(double scale) {
        Matrix dump = this.dup();
        dump.subi(scale);
        return dump;
    }

    @Override
    public void multi(Matrix other) {
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.