VML库函数
依赖
import com.huawei.kml.VML;
示例
public class VMLTest { void testAdd() { int len = 5; double[] src1 = new double[]{1, 2, 3, 4, 5}; double[] src2 = new double[]{0.1, 0.2, 0.3, 0.4, 0.5}; double[] dst = newdouble[src1.length]; VML.vsAdd(len, src1, src2, dst); } } /* dst: 1.1, 2.2, 3.3, 4.4, 5.5 */
父主题: 函数定义