Package stallone.api.complex

Examples of stallone.api.complex.IComplexArray


        }
      }

    public IComplexArray multiplyToNewDense(final IComplexArray a, final IComplexArray b)
    {
        IComplexArray target = a.copy();
        multiplyDense(a,b,target);
        return target;
    }
View Full Code Here


        return target;
    }

    public IComplexArray multiplyToNewSparse(final IComplexArray a, final IComplexArray b)
    {
        IComplexArray target = a.copy();
        multiplySparse(a,b,target);
        return target;
    }
View Full Code Here

    }


    public IComplexArray conjugateTransposeToNew(final IComplexArray a)
    {
        IComplexArray res = a.create(a.columns(),a.rows());
        transpose(a,res);
        return res;
    }
View Full Code Here

    public void set(IDoubleArray _K)
    {
        this.K = _K;

        IEigenvalueDecomposition evd = Algebra.util.evd(_K);
        IComplexArray evComplex = evd.getEval();
        if (evComplex.isReal())
        {
            evalReal = evComplex;
            L = evd.getLeftEigenvectorMatrix();
            R = evd.getRightEigenvectorMatrix();
        }
View Full Code Here

    public void set(IDoubleArray _P)
    {
        this.T = _P;

        IEigenvalueDecomposition evd = Algebra.util.evd(_P);
        IComplexArray evComplex = evd.getEval();
        if (evComplex.isReal())
        {
            evalReal = evComplex;
            L = evd.getLeftEigenvectorMatrix();
            R = evd.getRightEigenvectorMatrix();
        }
View Full Code Here

    }
   

    public IComplexArray multiplyToNew(final IComplexArray a, final IComplexArray b)
    {
        IComplexArray res = a.create(a.rows(), b.columns());
        multiply(a,b,res);
        return res;
    }
View Full Code Here

        }
    }

    public IComplexArray subtractToNewDense(final IComplexArray a, final IComplexArray b)
    {
        IComplexArray target = a.copy();
        subtractDense(a, b, target);
        return target;
    }
View Full Code Here

        return target;
    }

    public IComplexArray subtractToNewSparse(final IComplexArray a, final IComplexArray b)
    {
        IComplexArray target = a.copy();
        subtractSparse(a, b, target);
        return target;
    }
View Full Code Here

            }
        } // end try-catch-finally
    }

    public static void main(String[] args) {
        IComplexArray v1 = Complex.create.array(3);
        v1.set(0, 1.0d);
        v1.set(1, 2.0d, -3.0d);
        v1.set(2, 0.0d, 5.0d);

        DenseAsciiVectorWriter writer = new DenseAsciiVectorWriter(v1, "/home/fischbac/vector.dat");
        writer.perform();

    }
View Full Code Here

    }

    @Override
    public IComplexArray copy()
    {
        IComplexArray res = create(map.rows(), map.columns());
        copyInto(res);
        return res;
    }
View Full Code Here

TOP

Related Classes of stallone.api.complex.IComplexArray

Copyright © 2018 www.massapicom. 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.