Fix typos.
This commit is contained in:
parent
b48a1fa8f4
commit
5ce41060e5
|
@ -17,7 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
* Add blas-like operations: `cmpy, cdpy` for component-wise multiplications and
|
||||
division with scalar factors:
|
||||
- `self <- alpha * self + beta * a * b`
|
||||
- `self <- alpha * self + beta / a * b`
|
||||
- `self <- alpha * self + beta * a / b`
|
||||
* `.cross_matrix()` returns the cross-product matrix of a given 3D vector, i.e.,
|
||||
the matrix `M` such that for all vector `v` we have
|
||||
`M * v == self.cross(&v)`.
|
||||
|
|
|
@ -136,11 +136,11 @@ macro_rules! component_binop_impl(
|
|||
component_binop_impl!(
|
||||
component_mul, component_mul_mut, component_mul_assign, cmpy, ClosedMul.mul.mul_assign,
|
||||
"Componentwise matrix multiplication.",
|
||||
"Computes componentwise `self[i] = alpha * a[i] * b[i] + beta * self[i]",
|
||||
"Computes componentwise `self[i] = alpha * a[i] * b[i] + beta * self[i]`.",
|
||||
"Inplace componentwise matrix multiplication.";
|
||||
component_div, component_div_mut, component_div_assign, cdpy, ClosedDiv.div.div_assign,
|
||||
"Componentwise matrix division.",
|
||||
"Computes componentwise `self[i] = alpha * a[i] / b[i] + beta * self[i]",
|
||||
"Computes componentwise `self[i] = alpha * a[i] / b[i] + beta * self[i]`.",
|
||||
"Inplace componentwise matrix division.";
|
||||
// FIXME: add other operators like bitshift, etc. ?
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue