v0.2.0 #206

Merged
altavir merged 210 commits from dev into master 2021-02-21 16:33:25 +03:00
Showing only changes of commit 6636b228f3 - Show all commits

View File

@ -93,6 +93,7 @@ public fun <T : Any> Matrix<T>.transpose(): Matrix<T> = getFeature<TransposedFea
* *
* *
*/ */
@JvmName("transposeConjugateDouble")
public fun Matrix<Double>.transposeConjugate(): Matrix<Double> = transpose() public fun Matrix<Double>.transposeConjugate(): Matrix<Double> = transpose()
/** /**
@ -100,6 +101,7 @@ public fun Matrix<Double>.transposeConjugate(): Matrix<Double> = transpose()
* *
* @return the Hermitian conjugate of this matrix. * @return the Hermitian conjugate of this matrix.
*/ */
@JvmName("transposeConjugateComplex")
public fun Matrix<Complex>.transposeConjugate(): Matrix<Complex> { public fun Matrix<Complex>.transposeConjugate(): Matrix<Complex> {
val t = transpose() val t = transpose()
return VirtualMatrix(t.rowNum, t.colNum) { i, j -> t[i,j].conjugate } return VirtualMatrix(t.rowNum, t.colNum) { i, j -> t[i,j].conjugate }