11 #if !defined(__attlib_h)
24 double atan20 (
double y,
double x);
35 explicit Vec3(
double x=0,
double y=0,
double z=0);
37 void assign (
double x=0,
double y=0,
double z=0);
45 friend double abs(
const Vec3& c);
67 explicit Mat3(
double x=0);
69 void assign (
double x11,
double x12,
double x13,
double x21,
double x22,
70 double x23,
double x31,
double x32,
double x33);
71 void assign (
double x[3][3]);
72 void PutMij (
double x,
int i,
int j);
73 double GetMij (
int i,
int j);
89 friend void gpyr (
const Mat3& m1,
double& p,
double& y,
double& r);
103 Mat3 csmx (
double p,
double y,
double r);
104 void vcpy (
Vec3& v,
double& p,
double& y);
105 void vcrp (
Vec3& v,
double& p,
double& r);
108 #endif // __attlib_h sentry.
double GetMij(int i, int j)
double & operator[](unsigned index)
friend Vec3 operator+(const Vec3 &c1, const Vec3 &c2)
friend std::ostream & operator<<(std::ostream &os, const Vec3 &c)
friend void mxevc(const Mat3 &m, double &a, Vec3 &v)
void vcpy(Vec3 &v, double &p, double &y)
friend Mat3 operator+(const Mat3 &c1, const Mat3 &c2)
Mat3 & operator-=(const Mat3 &c)
friend Mat3 operator/(const Mat3 &c1, double r)
Mat3 & operator+=(const Mat3 &c)
friend double abs(const Vec3 &c)
void assign(double x11, double x12, double x13, double x21, double x22, double x23, double x31, double x32, double x33)
friend Vec3 operator/(const Vec3 &c1, double r)
friend Mat3 operator*(double r, const Mat3 &c1)
Mat3 & operator=(const Mat3 &c)
friend Vec3 operator-(const Vec3 &c1, const Vec3 &c2)
friend double mxdet(const Mat3 &c)
Vec3 & operator*=(const Vec3 &c)
Mat3 & operator*=(const Mat3 &c)
friend Vec3 mxvct(const Mat3 &m1, Vec3 &v1)
friend Vec3 operator*(double r, const Vec3 &c1)
friend Mat3 mxtrn(const Mat3 &m1)
void vcrp(Vec3 &v, double &p, double &r)
Mat3 mxrox(double &a, Vec3 &v)
Vec3 & operator/=(double r)
Mat3 & operator/=(double r)
Vec3 & operator-=(const Vec3 &c)
friend std::ostream & operator<<(std::ostream &os, const Mat3 &c)
void assign(double x=0, double y=0, double z=0)
friend Vec3 vnorm(const Vec3 &c)
friend double dot(const Vec3 &c1, const Vec3 &c2)
friend Vec3 carpol(const Vec3 &c)
Vec3 & operator+=(const Vec3 &c)
Vec3 & operator=(const Vec3 &c)
double atan20(double y, double x)
friend Mat3 operator-(const Mat3 &c1, const Mat3 &c2)
friend void gpyr(const Mat3 &m1, double &p, double &y, double &r)
friend Vec3 polcar(const Vec3 &c)
Vec3(double x=0, double y=0, double z=0)
Mat3 csmx(double p, double y, double r)
void PutMij(double x, int i, int j)