/*
 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
 * Copyright (C) 2006 - JScience (http://jscience.org/)
 * All rights reserved.
 * 
 * Permission to use, copy, modify, and distribute this software is
 * freely granted, provided that this notice is preserved.
 */
package org.jscience.mathematics.structure;

/**
 * This interface represents a structure with a binary additive 
 * operation (+), satisfying the group axioms (associativity, neutral element,
 * inverse element and closure).
 * 
 * @author Jean-Marie Dautelle
 * @version 3.0, February 13, 2006
 * @see 
 *      Wikipedia: Mathematical Group
 */
public interface GroupAdditive extends Structure {

    /**
     * Returns the sum of this object with the one specified.
     *
     * @param  that the object to be added.
     * @return this + that.
     */
    G plus(G that);

    /**
     * Returns the additive inverse of this object. It is the object such as
     * this.plus(this.opposite()) == ZERO,
     * with ZERO being the additive identity.
     *
     * @return -this.
     */
    G opposite();

}

 

Ads help maintain this website.