/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Capitulo_3.Vectores;

import static Capitulo_3.Vectores.Vector.ProductoEscalar;
import static Capitulo_3.Vectores.Vector.Resta;
import static Capitulo_3.Vectores.Vector.Suma;


/**
 *
 * @author felix
 */
public class prueba {
    
    static public void main(String args[]) {
        Vector d1 = new Vector(3, 4);
        Vector d2 = new Vector(2, 10);
        
        System.out.println(d1);
        System.out.println(d2);

        System.out.println(Suma(d1, d2) );
        System.out.println(Resta(d1, d2) );
        System.out.println(ProductoEscalar(d1, d2));
    }
    
}
