Example usage for org.apache.commons.math3.complex ComplexFormat getInstance

List of usage examples for org.apache.commons.math3.complex ComplexFormat getInstance

Introduction

In this page you can find the example usage for org.apache.commons.math3.complex ComplexFormat getInstance.

Prototype

public static ComplexFormat getInstance() 

Source Link

Document

Returns the default complex format for the current locale.

Usage

From source file:net.sf.dsp4j.octave.packages.signal_1_0_11.SfTrans.java

@Override
public String toString() {
    ComplexFormat cf = ComplexFormat.getInstance();
    StringBuilder sb = new StringBuilder();
    addComplexArray(sb, cf, "sPole", sPole);
    addComplexArray(sb, cf, ", sZeros", sZero);
    sb.append(", sGain = ");
    sb.append(sGain);/* w  w  w . j a v  a2s  .c o m*/
    return sb.toString();
}