라이브러리의 함수를 사용하여 배열을 조 변경 할 수 있습니까? 나는 여기에서 콜트 도서관을 다운로드하여 사용했다 : http://acs.lbl.gov/software/colt/api/index.html. 나는 시도 :라이브러리의 함수를 사용하여 배열을 조 변경하는 방법은 무엇입니까?
DoubleMatrix1D array;
array = new DenseDoubleMatrix1D(4);
for (int i=0; i<4; i++)
array.set(i,i);
DoubleMatrix1D transpose = array.viewDice();
하지만 오류 얻을대로 작동하지 않습니다
The method viewDice() is undefined for the type DoubleMatrix1D
어떤 아이디어?