/* CS 140 * Assignment 2 : Matrix Vector Multiplication and the Power Method * Group members : , * */ /* This file provides the placeholder function definitions, where you will be * implementing the assignment algorithms. You will be required to turn in * only this file during the submission, where it will be compiled together * with our main function and tested. It is therefore required that you keep the * function declaration formats unchanged. */ #include "powermethod.h" // Subroutine for generating the input matrix (just one thread's part) void generatematrix(double * mat, int size) { } // Subroutine to generate a start vector void generatevec(double * x,int size) { } // Subroutine for the power method, to return the spectral radius double powerMethod(double * mat, double * x, int size, int iter) { return lambda; }