Gradient descent: Difference between revisions

(→‎{{header|ALGOL 68}}: Use the actual gradient.)
Line 16:
{{works with|ALGOL 68G|Any - tested with release 2.8.3.win32}}
{{Trans|Go}} modified to use the actual gradient function -
{{Trans|FORTRANFortran}}
THe results agree with the Fortran sample and the Julia sample to 6 places.
<lang algol68>PROC steepest descent = ( REF[]LONG REAL x, LONG REAL alphap, tolerance )VOID:
3,049

edits