Limitations¶
Rank. Tensors have rank 0, 1 or 2: e.g. the outer product of two vectors is supported, but not that of a vector and a matrix.
Angles are dimensionless, with every units backend, like the SI treats them, so wuzp cannot tell rad/s from Hz, nor a torque from an energy, sin(), cos() and tan() take any dimensionless quantity with floating-point values, and asin(), acos(), atan() and atan2() return dimensionless quantities (see the design notes).
Coordinate systems are axes, an origin and a constant metric, Euclidean, i.e. orthonormal axes, or Minkowski. Other metrics, e.g. of axes that are not orthonormal or of curvilinear coordinates, whose metric depends on the position, are not modeled (see Coordinate systems and metrics).
Moving frames are only tracked by the spatial vectors: a passive transformation of a tensor, e.g. of a velocity, re-expresses it, without adding the velocity of the frame or ω × r, and a torque tensor is not shifted to another point.
SpatialVelocity, SpatialAcceleration and SpatialForce record the frames and the point, and their shifts and compositions apply the transport formulas; velocityOfBodyFixedPoint() and accelerationOfBodyFixedPoint() apply them to vectors (see Spatial vectors and the design notes).
Spatial inertias and momenta, spatial Jacobians, the parts of a spatial vector as one 6-vector, the spatial accelerations of Featherstone and planar spatial vectors are not modeled, and active transformations do not transform spatial vectors: passive rotations and rigid transformations re-express them about the same point, and adjoint() also moves the point of spatial velocities and forces.
Cross products return vectors, which is right under proper rotations in right-handed orthonormal bases, but not under reflections or other linear transformations, which must transform the factors instead (see Tensors and index variance).
Approximate comparison.
isApprox() compares relatively, like Eigen's, so it cannot compare with zero, and for points it depends on the origin: compare the distance of points with an absolute tolerance instead, e.g. (p - q).norm().getValue() <= 1e-9.
Powers of negative quantities.
pow<1, 3>() of a negative quantity is its real cube root, like std::cbrt, but pow<1, 2>() of a negative quantity has no real result: it is NaN for floating point values, like std::pow, and throws std::domain_error for integer values.
Functions of matrices.
The functions of one argument, e.g. sqrt(), abs() and exp(), apply elementwise: there are no matrix functions, e.g. no matrix exponential.
atan2(), hypot(), min() and max() only take single quantities (see Functions of quantities).
Rotations.
Quaternions are only conversions of the rotations, without a quaternion algebra of their own.
At the gimbal lock of Euler angles, their derivatives are not defined, and the results are not finite or arbitrarily large.
pseudoInverse() only takes matrices of full rank, and rejects units for which the pseudo-inverse would depend on the choice of units: use a weighted pseudo-inverse for them.
Unit conversions.
wuzp does not convert units: quantities with different units, e.g. m and km, cannot be added.
With mp-units, wuzp_mp_units::UnitType accepts named units such as si::newton, but only coherent SI units, e.g. not kilometres, grams or degrees.
Expressions of the value matrix libraries.
The results of wuzp's operations are evaluated, so they can be stored in auto variables, also when they are computed from temporaries.
Only the expressions of the value matrix libraries themselves, e.g. Eigen expressions built from getImplementation(), can refer to temporaries (see Eigen's pitfalls).
Blitz++ is slower than Eigen, since every evaluated result allocates an array (#58).
It cannot be installed with the Debian package libblitz0-dev when compiled with Clang, because the package does not contain a required header file: build and install it from GitHub instead (blitzpp/blitz#177).
Compile time. With Eigen, the same computations take about 20-45% longer to compile than with plain Eigen (see the benchmarks).