@@ -9,3 +9,6 @@
# MacOS
.DS_Store
+
+# local scripts
+/*.sh
@@ -1,5 +1,9 @@
# Changelog
+## Release 0.3.0
## Release 0.2.3
- fixed documentation example for `Complex`.
@@ -5,7 +5,7 @@ description = "LINEar ALgebra"
license = "MIT"
repository = "https://github.com/Drako/lineal/"
readme = "README.md"
-version = "0.2.3"
+version = "0.3.0"
edition = "2021"
publish = ["crates-drako-guru"]
@@ -29,6 +29,7 @@ pub struct Complex<T: Float + Numeric + Primitive> {
}
impl<T: Float + Numeric + Primitive> Complex<T> {
+ /// The imaginary unit.
pub fn i() -> Self {
Self {
real: T::whole(0),