- Определение функции, эквивалентности множеств, кардинального числа, счётного множества и множества мощности континуум. Эквивалентность множества всех чётных положительных чисел множеству всех натуральных чисел.
- Сумма, произведение, степень кардинальных чисел. Доказательство утверждения о том, что множество всех подмножеств счётного множества имеет мощность континуум.
- Доказательство счётности счётного объединения счётных множеств, доказательство счётности множества рациональных чисел.
- Теорема Кантора.
- Вещественные числа и правила их сравнения. Теорема о существовании точной верхней границы у ограниченного сверху числового множества. Определение суммы и произведения вещественных чисел.
- Ограниченные и неограниченные числовые последовательности. Предел последовательности. Бесконечно большие и бесконечно малые последовательности, их основные свойства.
- Основные теоремы о сходящихся последовательностях (единственность предела, огр
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal fun loadNumeric(value: Number) { | |
if (expectationStack.peek() == NUMBER_TYPE) { | |
loadNumberConstant(value, true) | |
expectationStack.pop() | |
typeStack.push(NUMBER_TYPE) | |
} else ...?.number(value)?.let { loadTConstant(it) } | |
?: error(...) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Double add(double a, double b) | |
// $FF: synthetic method | |
// $FF: bridge method | |
public Object add(Object var1, Object var2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun <T> AsmBuilder<T>.findSpecific(context: Algebra<T>, name: String, parameterTypes: Array<MstType>): Method? = | |
context.javaClass.methods.find { method -> | |
... | |
nameValid && arityValid && notBridgeInPrimitive && paramsValid | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private val methodNameAdapters: Map<Pair<String, Int>, String> by lazy { | |
hashMapOf( | |
"+" to 2 to "add", | |
"*" to 2 to "multiply", | |
"/" to 2 to "divide", | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RealField { add(1.0, 1.0) } // 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RealField { binaryOperation("+", 1.0, 1.0) } // 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Expression<T> { | |
operator fun invoke(arguments: Map<String, T>): T | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Expression<T> { | |
operator fun invoke(arguments: Map<String, T>): T | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scientifik.kmath.ast.* | |
import scientifik.kmath.operations.* | |
import scientifik.kmath.expressions.* | |
RealField.mstInField { number(1.0) + number(1.0) }() // 2.0 |
NewerOlder