mirror of
https://github.com/apache/commons-math.git
synced 2025-02-08 11:05:56 +00:00
MATH-614
Added "toString" method. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1145932 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf05f11de3
commit
29db2a8953
@ -1012,4 +1012,9 @@ public class Complex implements FieldElement<Complex>, Serializable {
|
||||
return ComplexField.getInstance();
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public String toString() {
|
||||
return "(" + real + ", " + imaginary + ")";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user