001 /** 002 * Vector Scalar Multiplication Interface. 003 * @author Heinz Kredel. 004 */ 005 public interface VSMInf { 006 007 /** 008 * Computes the scalar multiplication of two vectors. 009 * @param A Vector. 010 * @param B Vector. 011 */ 012 public double multiply(double[] A, double[] B); 013 014 /** 015 * Computes the norm of a vector. 016 * @param A norm. 017 */ 018 public double norm(double[] A); 019 020 }