本文整理了Java中ucar.ma2.Index.transpose()
方法的一些代码示例,展示了Index.transpose()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Index.transpose()
方法的具体详情如下:
包路径:ucar.ma2.Index
类名称:Index
方法名:transpose
[英]create a new Index based on current one, except transpose two of the indices.
[中]在当前索引的基础上创建一个新索引,除了转置两个索引之外。
代码示例来源:origin: Unidata/thredds
/**
* Create a new Array using same backing store as this Array, by
* transposing two of the indices.
*
* @param dim1 transpose these two indices
* @param dim2 transpose these two indices
* @return the new Array
*/
public Array transpose(int dim1, int dim2) {
return createView(indexCalc.transpose(dim1, dim2));
}
代码示例来源:origin: edu.ucar/netcdf
/**
* Create a new Array using same backing store as this Array, by
* transposing two of the indices.
*
* @param dim1 transpose these two indices
* @param dim2 transpose these two indices
* @return the new Array
*/
public Array transpose(int dim1, int dim2) {
return createView(indexCalc.transpose(dim1, dim2));
}
代码示例来源:origin: edu.ucar/cdm
/**
* Create a new Array using same backing store as this Array, by
* transposing two of the indices.
*
* @param dim1 transpose these two indices
* @param dim2 transpose these two indices
* @return the new Array
*/
public Array transpose(int dim1, int dim2) {
return createView(indexCalc.transpose(dim1, dim2));
}
内容来源于网络,如有侵权,请联系作者删除!