Changes for upcoming GSL extension project #148
@ -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"))
|
||||||
}
|
}
|
||||||
|
@ -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 ->
|
||||||
|
@ -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 ->
|
||||||
|
Loading…
Reference in New Issue
Block a user