Package com.nr.la

Examples of com.nr.la.ADAT


        }
    }
    as.col_ptr[M]=k;

    NRsparseMat bs=as.transpose();
    ADAT c = new ADAT(as,bs);
    double[] d = new double[M];    // Random diagonal matrix
    ranvec(d);
    c.updateD(d);   // Update ADAT object
    NRsparseMat cs=c.ref()// cs represents N x N matrix

    // Next, compute the N x N matrix by brute force
    double[][] e = new double[M][N];
    for (i=0;i<M;i++)
      for (j=0;j<N;j++)
View Full Code Here

TOP

Related Classes of com.nr.la.ADAT

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.