All Downloads are FREE. Search and download functionalities are using the official Maven repository.

JSci.maths.symbolic.Negative Maven / Gradle / Ivy

package JSci.maths.symbolic;
 
import JSci.maths.*;
import JSci.maths.fields.*;
import JSci.maths.groups.*;

import java.util.*;

class Negative extends Expression {

    private final Expression arg;

    public Negative(Expression arg) {
	this.arg=arg;
    }

    public String toString() { 
	String r = "-";
	if (arg.getPriority()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy