Package cern.colt.matrix

Examples of cern.colt.matrix.ObjectMatrix2D.viewRow()


* Returns a string representation of the given matrix.
* @param matrix the matrix to convert.
*/
public String toString(ObjectMatrix1D matrix) {
  ObjectMatrix2D easy = matrix.like2D(1,matrix.size());
  easy.viewRow(0).assign(matrix);
  return toString(easy);
}
/**
* Returns a string representation of the given matrix.
* @param matrix the matrix to convert.
View Full Code Here


* Returns a string representation of the given matrix.
* @param matrix the matrix to convert.
*/
public String toString(ObjectMatrix1D matrix) {
  ObjectMatrix2D easy = matrix.like2D(1,matrix.size());
  easy.viewRow(0).assign(matrix);
  return toString(easy);
}
/**
* Returns a string representation of the given matrix.
* @param matrix the matrix to convert.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.