2 #ifndef vnl_linear_operators_3_h_ 3 #define vnl_linear_operators_3_h_ 29 double r0 = a[0] * x[0] + a[1] * x[1] + a[2] * x[2];
30 double r1 = a[3] * x[0] + a[4] * x[1] + a[5] * x[2];
31 double r2 = a[6] * x[0] + a[7] * x[1] + a[8] * x[2];
38 vnl_double_3
operator+ (
const vnl_double_3& a,
const vnl_double_3& b)
40 double r0 = a[0] + b[0];
41 double r1 = a[1] + b[1];
42 double r2 = a[2] + b[2];
46 #endif // vnl_linear_operators_3_h_ vnl_bignum operator+(vnl_bignum const &r1, long r2)
Returns the sum of two bignum numbers.
T const * data_block() const
Access the contiguous block storing the elements in the matrix row-wise. O(1).
Fixed size, stack-stored, space-efficient matrix.
Contains class vnl_double_3 and function vnl_cross_3d()
vnl_bignum operator *(vnl_bignum const &r1, vnl_bignum const &r2)
Returns the product of two bignum numbers.