代码笔记 | java实现牛顿插值法

 
import java.util.Scanner;
  
  
public class Newton_interpolation {
    /*拷贝向量*/
    private static void copy_vector(double from[],double to[]){
        int k=from.length;
        int k2=to.length;
        if(k!=k2){
            System.out.println("the two vector's length is not equal!");
            System.exit(0);
        }
        for(int i=0;i

你可能感兴趣的:(代码笔记)