本文整理了Java中ucar.ma2.Index.permute()
方法的一些代码示例,展示了Index.permute()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Index.permute()
方法的具体详情如下:
包路径:ucar.ma2.Index
类名称:Index
方法名:permute
[英]create a new Index based on a permutation of the current indices; vlen fails.
[中]基于当前索引的排列创建新索引;维伦失败了。
代码示例来源:origin: edu.ucar/netcdf
/**
* Create a new Array using same backing store as this Array, by
* permuting the indices.
*
* @param dims the old index dims[k] becomes the new kth index.
* @return the new Array
* @throws IllegalArgumentException: wrong rank or dim[k] not valid
*/
public Array permute(int[] dims) {
return createView(indexCalc.permute(dims));
}
代码示例来源:origin: edu.ucar/cdm
/**
* Create a new Array using same backing store as this Array, by
* permuting the indices.
*
* @param dims the old index dims[k] becomes the new kth index.
* @return the new Array
* @throws IllegalArgumentException: wrong rank or dim[k] not valid
*/
public Array permute(int[] dims) {
return createView(indexCalc.permute(dims));
}
代码示例来源:origin: Unidata/thredds
/**
* Create a new Array using same backing store as this Array, by
* permuting the indices.
*
* @param dims the old index dims[k] becomes the new kth index.
* @return the new Array
* @throws IllegalArgumentException: wrong rank or dim[k] not valid
*/
public Array permute(int[] dims) {
return createView(indexCalc.permute(dims));
}
内容来源于网络,如有侵权,请联系作者删除!