CS1372_Fall_2006_Test_3_Ver_A_Solution

# CS1372_Fall_2006_Test_3_Ver_A_Solution - Georgia Institute...

This preview shows pages 1–3. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
CS1372 - Computing for Engineers Test 3 Version A November 29th, 2006 Page 2 of 8 Academic misconduct (including - but not limited to - examples on the list below) could result in a zero score on this examination, an “F” final grade in the course, and/or other disciplinary action: Failure to cooperate with or follow directions given by a proctor. Failure to stop writing when the allotted time is up (as reported by a proctor). Communication with anyone other than a proctor for ANY reason in ANY language in ANY manner. Sharing of ANYTHING (e.g. pencils, erasers, paper). Writing on paper that is not given to you by a proctor. Using cell phones, beepers, personal radios or music players, etc. during the exam. Using calculators (unless explicitly permitted) or hand-held computers during the exam. Using books or other reference material during the exam. Disruption of the exam setting. API Reference: typedef struct matrix { int rows; int cols; double **data; } matrix; typedef struct vector { int size; double *data; } vector; typedef double (*d_func_d_t)(double); typedef double (*d_func_di_t)(double, int); typedef double (*d_func_ddd_t)(double, double, double); typedef double (*d_func_dd_t)(double, double); typedef double (*d_func_ddi_t)(double, double, int); void addInPlace( vector a, vector b); vector addscaled(vector A, vector B, double scale); vector applyFunction( d_func_d_t, vector v ); vector applyFunction( d_func_dd_t, vector v, double x );
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 06/17/2008 for the course CS 1372 taught by Professor Smith during the Spring '07 term at Georgia Tech.

### Page1 / 8

CS1372_Fall_2006_Test_3_Ver_A_Solution - Georgia Institute...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online