v0.2.0 #206

Merged
altavir merged 210 commits from dev into master 2021-02-21 16:33:25 +03:00
3 changed files with 7 additions and 1 deletions
Showing only changes of commit 2f1cfefeac - Show all commits

View File

@ -5,5 +5,5 @@ plugins {
repositories.jcenter() repositories.jcenter()
dependencies { dependencies {
implementation(kotlin("compiler-embeddable", "1.4.10")) implementation(kotlin("compiler-embeddable", "1.4.20"))
} }

View File

@ -57,6 +57,9 @@ private fun KtPsiFactory.createMatrixClass(
f += createNewLine(2) f += createNewLine(2)
} }
/**
* Generates matrices source code for kmath-gsl.
*/
fun matricesCodegen(outputFile: String, project: Project = createProject()) { fun matricesCodegen(outputFile: String, project: Project = createProject()) {
val f = KtPsiFactory(project, true).run { val f = KtPsiFactory(project, true).run {
createFile("").also { f -> createFile("").also { f ->

View File

@ -46,6 +46,9 @@ private fun KtPsiFactory.createVectorClass(
f += createNewLine(2) f += createNewLine(2)
} }
/**
* Generates vectors source code for kmath-gsl.
*/
fun vectorsCodegen(outputFile: String, project: Project = createProject()) { fun vectorsCodegen(outputFile: String, project: Project = createProject()) {
val f = KtPsiFactory(project, true).run { val f = KtPsiFactory(project, true).run {
createFile("").also { f -> createFile("").also { f ->