Feature/tensors performance #497

Closed
margarita0303 wants to merge 91 commits from feature/tensors-performance into feature/tensors-performance
Showing only changes of commit 83620c77d2 - Show all commits

View File

@ -351,7 +351,7 @@ internal fun DoubleTensorAlgebra.svdHelper(
} }
} }
internal fun pythag(a: Double, b: Double): Double { private fun pythag(a: Double, b: Double): Double {
val at: Double = abs(a) val at: Double = abs(a)
val bt: Double = abs(b) val bt: Double = abs(b)
val ct: Double val ct: Double
@ -366,7 +366,7 @@ internal fun pythag(a: Double, b: Double): Double {
return result return result
} }
internal fun SIGN(a: Double, b: Double): Double { private fun SIGN(a: Double, b: Double): Double {
if (b >= 0.0) if (b >= 0.0)
return abs(a) return abs(a)
else else