Wilang Documentation1.0.0+4

usolve#

Finds one solution of the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.

Available in: math cells, REPL.

Syntax#

x=usolve(U, b)

Arguments and behavior#

Arguments must match one of the syntax forms above. Use the example as a starting point; arrays and numeric types are accepted only by compatible overloads. The example returns matrix.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
usolve([[1,2],[0,1]],[3,1])

Expected result: matrix.

See also#

usolveAll · lup · lusolve · lsolve · matrix · sparse

All functions · Math guides