18.08.2013 Views

Vega FEM Library (v1.1) User's Manual - University of Southern ...

Vega FEM Library (v1.1) User's Manual - University of Southern ...

Vega FEM Library (v1.1) User's Manual - University of Southern ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Does no initialization, sets the three coordinates, sets all three coordinates to entry, sets coordinates<br />

from an array, or copies from another Vec3d.<br />

friend double dot(const Vec3d & vec1, const Vec3d & vec2)<br />

Returns the dot product <strong>of</strong> vec1 and vec2.<br />

friend Vec3d cross(const Vec3d & vec1, const Vec3d & vec2)<br />

Returns the cross product <strong>of</strong> vec1 and vec2.<br />

friend Vec3d norm(const Vec3d & vec1)<br />

Returns a normalized copy <strong>of</strong> vec1.<br />

class Mat3d Implements a three-dimensional matrix. Overloads operators for addition and subtraction<br />

<strong>of</strong> matrices, scalar (pre- and post-) multiplication, and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!