add demos to README.md
This commit is contained in:
@@ -4,36 +4,55 @@ Mathematical utilities
|
||||
<!-- __demos__ -->
|
||||
## Demos
|
||||
### linearrange/DemoLinearRange02
|
||||
[source code](src/jvmDemo/kotlin/linearrange/DemoLinearRange02.kt)
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/linearrange/DemoLinearRange02.kt)
|
||||
|
||||
### linearrange/DemoLinearRange03
|
||||
[source code](src/jvmDemo/kotlin/linearrange/DemoLinearRange03.kt)
|
||||
|
||||
|
||||

|
||||
|
||||
### matrix/DemoLeastSquares01
|
||||
[source code](src/jvmDemo/kotlin/matrix/DemoLeastSquares01.kt)
|
||||
[source code](src/jvmDemo/kotlin/linearrange/DemoLinearRange03.kt)
|
||||
|
||||
### matrix/DemoLeastSquares01
|
||||
|
||||
Demonstrate least squares method to find a regression line through noisy points
|
||||
Line drawn in red is the estimated line, in green is the ground-truth line
|
||||
|
||||
Ax = b => x = A⁻¹b
|
||||
because A is likely inconsistent, we look for an approximate x based on AᵀA, which is consistent.
|
||||
x̂ = (AᵀA)⁻¹ Aᵀb
|
||||

|
||||
|
||||
### matrix/DemoLeastSquares02
|
||||
[source code](src/jvmDemo/kotlin/matrix/DemoLeastSquares02.kt)
|
||||
[source code](src/jvmDemo/kotlin/matrix/DemoLeastSquares01.kt)
|
||||
|
||||
### matrix/DemoLeastSquares02
|
||||
|
||||
Demonstrate least squares method to fit a cubic bezier to noisy points
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/matrix/DemoLeastSquares02.kt)
|
||||
|
||||
### rbf/RbfInterpolation01
|
||||
[source code](src/jvmDemo/kotlin/rbf/RbfInterpolation01.kt)
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/rbf/RbfInterpolation01.kt)
|
||||
|
||||
### rbf/RbfInterpolation02
|
||||
[source code](src/jvmDemo/kotlin/rbf/RbfInterpolation02.kt)
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/rbf/RbfInterpolation02.kt)
|
||||
|
||||
### simplexrange/DemoSimplexRange3D01
|
||||
[source code](src/jvmDemo/kotlin/simplexrange/DemoSimplexRange3D01.kt)
|
||||
|
||||
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/simplexrange/DemoSimplexRange3D01.kt)
|
||||
|
||||
Reference in New Issue
Block a user