// -*-C++-*- #include "vecmathlib.h" #include using namespace std; using namespace vecmathlib; int main(int argc, char** argv) { // Declare a float precision vector with an architecture-dependent // number of elements float32_vec x; // Set each element separately. This is inefficient and should be // avoided if possible, but we want to demonstrate it here anyway. for (int i=0; i