Dev #194

Merged
altavir merged 266 commits from dev into master 2021-01-20 17:32:32 +03:00
Showing only changes of commit c8df741a4e - Show all commits

View File

@ -297,11 +297,6 @@ public interface Space<T> : SpaceOperations<T> {
* The neutral element of addition. * The neutral element of addition.
*/ */
public val zero: T public val zero: T
public override fun symbol(value: String): T = when (value) {
"zero" -> zero
else -> super.symbol(value)
}
} }
/** /**
@ -354,11 +349,6 @@ public interface Ring<T> : Space<T>, RingOperations<T>, NumericAlgebra<T> {
public override fun number(value: Number): T = one * value.toDouble() public override fun number(value: Number): T = one * value.toDouble()
public override fun symbol(value: String): T = when (value) {
"one" -> one
else -> super<Space>.symbol(value)
}
/** /**
* Addition of element and scalar. * Addition of element and scalar.
* *